INFO: No output directory specified (--dir) INFO: Using directory: "ISIS_MERLIN_20220701_005509" INFO: Regenerating c-file: ISIS_MERLIN.c DEBUG: CMD: mcstas -t -o ./ISIS_MERLIN.c /home/nexmap/pkwi/TESTS/2022-07-01/McStas_8GPU_5e7/ISIS_MERLIN/ISIS_MERLIN.instr Info: 'ViewModISIS' is a contributed component. CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./ISIS_MERLIN.out DEBUG: CMD: nvc -o ./ISIS_MERLIN.out ./ISIS_MERLIN.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_MERLIN.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) ^ "./ISIS_MERLIN.c", line 1469: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./ISIS_MERLIN.c", line 3188: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./ISIS_MERLIN.c", line 6334: warning: variable "zMid" was declared but never referenced double sum,zMid; ^ "./ISIS_MERLIN.c", line 6357: warning: variable "Ea" was declared but never referenced double Ea,Eb; ^ "./ISIS_MERLIN.c", line 6357: warning: variable "Eb" was declared but never referenced double Ea,Eb; ^ "./ISIS_MERLIN.c", line 6440: warning: nested comment is not allowed /* ^ "./ISIS_MERLIN.c", line 6424: warning: variable "Efrac" was declared but never referenced double Efrac; // Fraction of an Energy Bin ^ "./ISIS_MERLIN.c", line 6434: warning: variable "i" was declared but never referenced int i; ^ "./ISIS_MERLIN.c", line 6586: warning: variable "i" was declared but never referenced int i; ^ "./ISIS_MERLIN.c", line 6588: warning: variable "Rend" was set but never used double R0,R1,R,Rend; ^ "./ISIS_MERLIN.c", line 6593: warning: variable "Estart" was set but never used double Espread,Estart; ^ "./ISIS_MERLIN.c", line 6594: warning: variable "EX" was declared but never referenced double *EX; ^ "./ISIS_MERLIN.c", line 6862: warning: variable "projArea" was declared but never referenced double projArea; // viewport projection to moderator ^ "./ISIS_MERLIN.c", line 10352: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./ISIS_MERLIN.c", line 10353: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./ISIS_MERLIN.c", line 11941: warning: incompatible redefinition of macro "exit" (declared at line 411) #define exit(...) noprintf() ^ "./ISIS_MERLIN.c", line 11980: warning: variable "E" was declared but never referenced double v,r,E; ^ "./ISIS_MERLIN.c", line 12655: warning: variable "zp2" was set but never used double xp2, zp2,xp3=0,vxp2=0,vzp1=0; /* position, velocity */ ^ "./ISIS_MERLIN.c", line 12453: warning: variable "X" was set but never used double X[5],Z[5]; /* position of interaction locations in the Fermi chopper rotating frame ^ "./ISIS_MERLIN.c", line 12453: warning: variable "Z" was set but never used double X[5],Z[5]; /* position of interaction locations in the Fermi chopper rotating frame ^ "./ISIS_MERLIN.c", line 13280: warning: variable "l_i" was set but never used double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ISIS_MERLIN.c", line 13280: warning: variable "l_o" was declared but never referenced double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ISIS_MERLIN.c", line 15480: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./ISIS_MERLIN.c", line 15420: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./ISIS_MERLIN.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ISIS_MERLIN.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 (./ISIS_MERLIN.c: 12243) 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_MERLIN.c: 12243) 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