INFO: No output directory specified (--dir) INFO: Using directory: "PSI_Focus_20220401_010111" INFO: Regenerating c-file: PSI_Focus.c DEBUG: CMD: mcstas -t -o ./PSI_Focus.c /home/nexmap/pkwi/TESTS/2022-04-01/McStas_8GPU_5e7/PSI_Focus/PSI_Focus.instr Info: 'Monochromator_2foc' is a contributed component. CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component mono -> SPLIT N at component Sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component mono -> SPLIT within buffer at component Sample ----------------------------------------------------------- INFO: Recompiling: ./PSI_Focus.out DEBUG: CMD: nvc -o ./PSI_Focus.out ./PSI_Focus.c -lm -DUSE_MPI -lmpi -L/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/mpi/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/mpi/include -ta:tesla,managed -DOPENACC "./PSI_Focus.c", line 1442: warning: arithmetic on pointer to void or function type if (MPI_Send((void*)(sbuf+offset*dsize), length, dtype, dest, tag++, MPI_COMM_WORLD) != MPI_SUCCESS) ^ "./PSI_Focus.c", line 1469: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./PSI_Focus.c", line 3188: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./PSI_Focus.c", line 9796: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./PSI_Focus.c", line 9797: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./PSI_Focus.c", line 13183: warning: incompatible redefinition of macro "exit" (declared at line 411) #define exit(...) noprintf() ^ "./PSI_Focus.c", line 13972: warning: variable "v" was declared but never referenced double v, vn; ^ "./PSI_Focus.c", line 14593: warning: variable "k" was set but never used double my_r0, k; ^ "./PSI_Focus.c", line 15051: warning: variable "zp2" was set but never used double xp2, zp2,xp3=0,vxp2=0,vzp1=0; /* position, velocity */ ^ "./PSI_Focus.c", line 14849: warning: variable "X" was set but never used double X[5],Z[5]; /* position of interaction locations in the Fermi chopper rotating frame ^ "./PSI_Focus.c", line 14849: warning: variable "Z" was set but never used double X[5],Z[5]; /* position of interaction locations in the Fermi chopper rotating frame ^ "./PSI_Focus.c", line 15431: warning: variable "l_i" was set but never used double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./PSI_Focus.c", line 15431: warning: variable "l_o" was declared but never referenced double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./PSI_Focus.c", line 19196: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./PSI_Focus.c", line 19136: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./PSI_Focus.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./PSI_Focus.c", line 2501: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ NVC++-W-0155-Upcoming behavior change: array reference in data/update clause with no triplet notation will be treated as an array element in a future release: par (./PSI_Focus.c: 14200) NVC++-W-0155-Upcoming behavior change: array reference in data/update clause with no triplet notation will be treated as an array element in a future release: par (./PSI_Focus.c: 14200) NVC++/x86-64 Linux 21.7-0: compilation completed with warnings INFO: === loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_8GPU/mccode_config.json