INFO: No output directory specified (--dir) INFO: Using directory: "SE_example2_20220701_011111" INFO: Regenerating c-file: SE_example2.c DEBUG: CMD: mcstas -t -o ./SE_example2.c /home/nexmap/pkwi/TESTS/2022-07-01/McStas_8GPU_5e7/SE_example2/SE_example2.instr Warning: 'V_sample' is an obsolete component (not maintained). CFLAGS= WARNING: The parameter rUpPar of polariser2 is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rDownPar of polariser2 is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./SE_example2.out DEBUG: CMD: nvc -o ./SE_example2.out ./SE_example2.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 "./SE_example2.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) ^ "./SE_example2.c", line 1469: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./SE_example2.c", line 3188: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./SE_example2.c", line 8206: warning: variable "count" was declared but never referenced long count=0; ^ "./SE_example2.c", line 8297: warning: missing return statement at end of non-void function "interpolator_interpolate" } // interpolator_interpolate ^ "./SE_example2.c", line 9452: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./SE_example2.c", line 9453: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./SE_example2.c", line 11680: warning: incompatible redefinition of macro "exit" (declared at line 411) #define exit(...) noprintf() ^ "./SE_example2.c", line 11681: warning: incompatible redefinition of macro "strcmp" (declared at line 8254) #define strcmp(a,b) str_comp(a,b) ^ "./SE_example2.c", line 12382: warning: variable "hit" was set but never used int hit; ^ "./SE_example2.c", line 15195: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./SE_example2.c", line 15135: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./SE_example2.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./SE_example2.c", line 2501: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ INFO: === loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_8GPU/mccode_config.json