INFO: No output directory specified (--dir) INFO: Using directory: "templateSasView_Mantid_20220401_014844" INFO: Regenerating c-file: templateSasView_Mantid.c DEBUG: CMD: mcstas -t -o ./templateSasView_Mantid.c /home/nexmap/pkwi/TESTS/2022-04-01/McStas_8GPU_5e7/templateSasView_Mantid/templateSasView_Mantid.instr Info: 'PSD_monitor_rad' is a contributed component. CFLAGS= WARNING: The parameter model_pars of sampleMantid 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: -> SPLIT N at component sampleMantid ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component sampleMantid ----------------------------------------------------------- INFO: Recompiling: ./templateSasView_Mantid.out DEBUG: CMD: nvc -o ./templateSasView_Mantid.out ./templateSasView_Mantid.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 "./templateSasView_Mantid.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) ^ "./templateSasView_Mantid.c", line 1469: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./templateSasView_Mantid.c", line 3188: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./templateSasView_Mantid.c", line 35730: warning: variable "form_vol" is used before its value is set return form_vol; ^ "./templateSasView_Mantid.c", line 40853: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./templateSasView_Mantid.c", line 40854: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./templateSasView_Mantid.c", line 40882: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./templateSasView_Mantid.c", line 42078: warning: incompatible redefinition of macro "exit" (declared at line 411) #define exit(...) noprintf() ^ "./templateSasView_Mantid.c", line 42441: warning: variable "d_phi" was declared but never referenced double t0, t1, v, l_full, l, l_1, dt, d_phi, theta, my_s; ^ "./templateSasView_Mantid.c", line 42441: warning: variable "theta" was declared but never referenced double t0, t1, v, l_full, l, l_1, dt, d_phi, theta, my_s; ^ "./templateSasView_Mantid.c", line 42441: warning: variable "my_s" was declared but never referenced double t0, t1, v, l_full, l, l_1, dt, d_phi, theta, my_s; ^ "./templateSasView_Mantid.c", line 42442: warning: variable "axis_x" was declared but never referenced double aim_x=0, aim_y=0, aim_z=1, axis_x, axis_y, axis_z; ^ "./templateSasView_Mantid.c", line 42442: warning: variable "axis_y" was declared but never referenced double aim_x=0, aim_y=0, aim_z=1, axis_x, axis_y, axis_z; ^ "./templateSasView_Mantid.c", line 42442: warning: variable "axis_z" was declared but never referenced double aim_x=0, aim_y=0, aim_z=1, axis_x, axis_y, axis_z; ^ "./templateSasView_Mantid.c", line 42443: warning: variable "arg" was declared but never referenced double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./templateSasView_Mantid.c", line 42443: warning: variable "tmp_vx" was declared but never referenced double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./templateSasView_Mantid.c", line 42443: warning: variable "tmp_vy" was declared but never referenced double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./templateSasView_Mantid.c", line 42443: warning: variable "tmp_vz" was declared but never referenced double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./templateSasView_Mantid.c", line 42443: warning: variable "vout_x" was declared but never referenced double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./templateSasView_Mantid.c", line 42443: warning: variable "vout_y" was declared but never referenced double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./templateSasView_Mantid.c", line 42443: warning: variable "vout_z" was declared but never referenced double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./templateSasView_Mantid.c", line 42444: warning: variable "f" was declared but never referenced double f, solid_angle, vx_i, vy_i, vz_i, q, qx, qy, qz; ^ "./templateSasView_Mantid.c", line 44595: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./templateSasView_Mantid.c", line 44535: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./templateSasView_Mantid.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./templateSasView_Mantid.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