INFO: No output directory specified (--dir) INFO: Using directory: "ISIS_TOSCA_preupgrade_Mantid_20220701_005829" INFO: Regenerating c-file: ISIS_TOSCA_preupgrade_Mantid.c DEBUG: CMD: mcstas -t -o ./ISIS_TOSCA_preupgrade_Mantid.c /home/nexmap/pkwi/TESTS/2022-07-01/McStas_8GPU_5e7/ISIS_TOSCA_preupgrade_Mantid/ISIS_TOSCA_preupgrade_Mantid.instr Info: 'ISIS_moderator' is a contributed component. CFLAGS= WARNING: The parameter powder_format of powder 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 powder -> SPLIT N at component Repeat ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component powder -> SPLIT within buffer at component Repeat ----------------------------------------------------------- INFO: Recompiling: ./ISIS_TOSCA_preupgrade_Mantid.out DEBUG: CMD: nvc -o ./ISIS_TOSCA_preupgrade_Mantid.out ./ISIS_TOSCA_preupgrade_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 "./ISIS_TOSCA_preupgrade_Mantid.c", line 1459: 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) ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 1486: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 3205: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 6296: warning: nested comment is not allowed /* ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 6280: warning: variable "Efrac" was declared but never referenced double Efrac; // Fraction of an Energy Bin ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 6290: warning: variable "i" was declared but never referenced int i; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 6440: warning: variable "i" was declared but never referenced int i; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 6443: warning: variable "Rend" was set but never used double R0,R1,R,Rend; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 6448: warning: variable "Estart" was set but never used double Espread,Estart; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 6449: warning: variable "EX" was declared but never referenced double *EX; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 12244: warning: variable "n" was declared but never referenced double n; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 12223: warning: variable "w_c" was declared but never referenced double w_c = 0; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 12224: warning: variable "w_l" was declared but never referenced double w_l = 0; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 12135: warning: variable "w_c" was declared but never referenced t_Table w_c, w_l; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 12135: warning: variable "w_l" was declared but never referenced t_Table w_c, w_l; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 14049: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 14050: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 19480: warning: incompatible redefinition of macro "exit" (declared at line 428) #define exit(...) noprintf() ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 19613: warning: variable "E" was declared but never referenced double v,r,E; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 20562: warning: variable "Ei" was set but never used double k=0, Ei=0; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 20593: warning: variable "ti" was set but never used double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 20594: warning: variable "tf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 20594: warning: variable "kf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 21192: warning: variable "q" was declared but never referenced double q,qq; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 21196: warning: variable "phi" was declared but never referenced double phi; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 26326: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 26266: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 1277: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ISIS_TOSCA_preupgrade_Mantid.c", line 2518: 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 (./ISIS_TOSCA_preupgrade_Mantid.c: 19844) 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 (./ISIS_TOSCA_preupgrade_Mantid.c: 19844) 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