INFO: No output directory specified (--dir) INFO: Using directory: "ILL_IN4_20220401_004751" INFO: Regenerating c-file: ILL_IN4.c DEBUG: CMD: mcstas -t -o ./ILL_IN4.c /home/nexmap/pkwi/TESTS/2022-04-01/McStas_8GPU_5e7/ILL_IN4/ILL_IN4.instr CFLAGS= WARNING: --> USERVAR flag_sample_choice is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_source_order is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR order_extend is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_sample is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_env is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: The parameter powder_format of Environment_in 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 Mono -> SPLIT N at component sample_flux ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component Mono -> SPLIT within buffer at component sample_flux ----------------------------------------------------------- INFO: Recompiling: ./ILL_IN4.out DEBUG: CMD: nvc -o ./ILL_IN4.out ./ILL_IN4.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 "./ILL_IN4.c", line 1470: 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) ^ "./ILL_IN4.c", line 1497: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./ILL_IN4.c", line 3216: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./ILL_IN4.c", line 11770: warning: variable "n" was declared but never referenced double n; ^ "./ILL_IN4.c", line 11749: warning: variable "w_c" was declared but never referenced double w_c = 0; ^ "./ILL_IN4.c", line 11750: warning: variable "w_l" was declared but never referenced double w_l = 0; ^ "./ILL_IN4.c", line 11661: warning: variable "w_c" was declared but never referenced t_Table w_c, w_l; ^ "./ILL_IN4.c", line 11661: warning: variable "w_l" was declared but never referenced t_Table w_c, w_l; ^ "./ILL_IN4.c", line 13728: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./ILL_IN4.c", line 13729: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./ILL_IN4.c", line 19373: warning: incompatible redefinition of macro "exit" (declared at line 439) #define exit(...) noprintf() ^ "./ILL_IN4.c", line 20901: warning: variable "zp2" was set but never used double xp2, zp2,xp3=0,vxp2=0,vzp1=0; /* position, velocity */ ^ "./ILL_IN4.c", line 20699: warning: variable "X" was set but never used double X[5],Z[5]; /* position of interaction locations in the Fermi chopper rotating frame ^ "./ILL_IN4.c", line 20699: warning: variable "Z" was set but never used double X[5],Z[5]; /* position of interaction locations in the Fermi chopper rotating frame ^ "./ILL_IN4.c", line 21306: warning: variable "Ei" was set but never used double k=0, Ei=0; ^ "./ILL_IN4.c", line 21337: warning: variable "ti" was set but never used double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_IN4.c", line 21338: warning: variable "tf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_IN4.c", line 21338: warning: variable "kf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_IN4.c", line 21968: warning: variable "l_i" was set but never used double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ILL_IN4.c", line 21968: warning: variable "l_o" was declared but never referenced double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ILL_IN4.c", line 22276: warning: variable "q" was declared but never referenced double q,qq; ^ "./ILL_IN4.c", line 22280: warning: variable "phi" was declared but never referenced double phi; ^ "./ILL_IN4.c", line 26816: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./ILL_IN4.c", line 26756: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./ILL_IN4.c", line 1288: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_IN4.c", line 2529: 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