INFO: No output directory specified (--dir) INFO: Using directory: "ILL_IN5_Spots_20220401_005816" INFO: Regenerating c-file: ILL_IN5_Spots.c DEBUG: CMD: mcstas -t -o ./ILL_IN5_Spots.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_5e7/ILL_IN5_Spots/ILL_IN5_Spots.instr Info: 'Spot_sample' is a contributed component. Info: 'PSD_Detector' is a contributed component. CFLAGS= WARNING: The parameter powder_format of SAMPLE 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 format of hous 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 arm2 ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component arm2 ----------------------------------------------------------- INFO: Recompiling: ./ILL_IN5_Spots.out DEBUG: CMD: nvc -o ./ILL_IN5_Spots.out ./ILL_IN5_Spots.c -lm -ta:tesla,managed -DOPENACC "./ILL_IN5_Spots.c", line 11533: warning: variable "n" was declared but never referenced double n; ^ "./ILL_IN5_Spots.c", line 11512: warning: variable "w_c" was declared but never referenced double w_c = 0; ^ "./ILL_IN5_Spots.c", line 11513: warning: variable "w_l" was declared but never referenced double w_l = 0; ^ "./ILL_IN5_Spots.c", line 11424: warning: variable "w_c" was declared but never referenced t_Table w_c, w_l; ^ "./ILL_IN5_Spots.c", line 11424: warning: variable "w_l" was declared but never referenced t_Table w_c, w_l; ^ "./ILL_IN5_Spots.c", line 13712: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./ILL_IN5_Spots.c", line 13713: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./ILL_IN5_Spots.c", line 17311: warning: variable "element_size" is used before its value is set bufsize*element_size/1e6, bufsize*sizeof(double)/1e6); ^ "./ILL_IN5_Spots.c", line 16962: warning: variable "j" was declared but never referenced long i,j; ^ "./ILL_IN5_Spots.c", line 18689: warning: variable "Ei" was set but never used double k=0, Ei=0; ^ "./ILL_IN5_Spots.c", line 18720: warning: variable "ti" was set but never used double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_IN5_Spots.c", line 18721: warning: variable "tf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_IN5_Spots.c", line 18721: warning: variable "kf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_IN5_Spots.c", line 19308: warning: variable "t1" was declared but never referenced double t1, t2; /* Entry/exit time for inner cylinder */ ^ "./ILL_IN5_Spots.c", line 19308: warning: variable "t2" was declared but never referenced double t1, t2; /* Entry/exit time for inner cylinder */ ^ "./ILL_IN5_Spots.c", line 19310: warning: variable "dt1" was declared but never referenced double dt0, dt1, dt2, dt; /* Flight times through sample */ ^ "./ILL_IN5_Spots.c", line 19310: warning: variable "dt2" was declared but never referenced double dt0, dt1, dt2, dt; /* Flight times through sample */ ^ "./ILL_IN5_Spots.c", line 19311: warning: variable "l_full" was set but never used double l_full; /* Flight path length for non-scattered neutron */ ^ "./ILL_IN5_Spots.c", line 19312: warning: variable "l_i" was set but never used double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ILL_IN5_Spots.c", line 19312: warning: variable "l_o" was declared but never referenced double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ILL_IN5_Spots.c", line 19313: warning: variable "my_a" was set but never used double my_a; /* Velocity-dependent attenuation factor */ ^ "./ILL_IN5_Spots.c", line 19314: warning: variable "solid_angle" was declared but never referenced double solid_angle=0; /* Solid angle of target as seen from scattering point */ ^ "./ILL_IN5_Spots.c", line 19315: warning: variable "aim_x" was declared but never referenced double aim_x, aim_y, aim_z; /* Position of target relative to scattering point */ ^ "./ILL_IN5_Spots.c", line 19315: warning: variable "aim_y" was declared but never referenced double aim_x, aim_y, aim_z; /* Position of target relative to scattering point */ ^ "./ILL_IN5_Spots.c", line 19315: warning: variable "aim_z" was declared but never referenced double aim_x, aim_y, aim_z; /* Position of target relative to scattering point */ ^ "./ILL_IN5_Spots.c", line 19317: warning: variable "kf" was declared but never referenced double kf,kfx,kfy,kfz,kiideal,kfideal,Efideal; ^ "./ILL_IN5_Spots.c", line 19318: warning: variable "Ef" was declared but never referenced double Ef,Ei,pol,rbool; ^ "./ILL_IN5_Spots.c", line 19318: warning: variable "Ei" was set but never used double Ef,Ei,pol,rbool; ^ "./ILL_IN5_Spots.c", line 19318: warning: variable "rbool" was declared but never referenced double Ef,Ei,pol,rbool; ^ "./ILL_IN5_Spots.c", line 19444: warning: variable "q" was declared but never referenced double q,qq; ^ "./ILL_IN5_Spots.c", line 19448: warning: variable "phi" was declared but never referenced double phi; ^ "./ILL_IN5_Spots.c", line 19605: warning: variable "type" was set but never used char type = '\0'; ^ "./ILL_IN5_Spots.c", line 19606: warning: variable "itype" was set but never used int itype = 0; ^ "./ILL_IN5_Spots.c", line 19609: warning: variable "nb_reuses" was declared but never referenced int nb_reuses = line_info.nb_reuses; ^ "./ILL_IN5_Spots.c", line 19612: warning: variable "vcache" was set but never used double vcache = line_info.v; ^ "./ILL_IN5_Spots.c", line 19616: warning: variable "lfree" was set but never used double lfree = line_info.lfree; ^ "./ILL_IN5_Spots.c", line 19618: warning: variable "xs_compute" was declared but never referenced long xs_compute = line_info.xs_compute; ^ "./ILL_IN5_Spots.c", line 19619: warning: variable "xs_reuse" was declared but never referenced long xs_reuse = line_info.xs_reuse; ^ "./ILL_IN5_Spots.c", line 19620: warning: variable "xs_calls" was declared but never referenced long xs_calls = line_info.xs_calls; ^ "./ILL_IN5_Spots.c", line 19622: warning: variable "dq" was set but never used double dq = line_info.dq; ^ "./ILL_IN5_Spots.c", line 20102: warning: incompatible redefinition of macro "HUGE_VAL" (declared at line 28 of "/usr/include/bits/huge_val.h") #define HUGE_VAL DBL_MAX ^ "./ILL_IN5_Spots.c", line 20571: warning: variable "pp" was set but never used double pp,P2; ^ "./ILL_IN5_Spots.c", line 24212: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./ILL_IN5_Spots.c", line 24152: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./ILL_IN5_Spots.c", line 1273: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_IN5_Spots.c", line 2514: 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 (./ILL_IN5_Spots.c: 18204) 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 (./ILL_IN5_Spots.c: 18204) NVC++/x86-64 Linux 21.9-0: compilation completed with warnings INFO: === loading system configuration loading override configuration from /zhome/89/0/38697/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_GPU_PGCC_TESLA_KISS/mccode_config.json