INFO: No output directory specified (--dir) INFO: Using directory: "ILL_Lagrange_20260318_014426" INFO: Regenerating c-file: ILL_Lagrange.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_Lagrange.c ILL_Lagrange.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT cryostat_out: EXTEND %{ if (SCATTERED) flag_env++; %} is overwritten by: EXTEND %{ if (SCATTERED) flag_env++; RotateNeutron = RAD2DEG*atan2(vx,vz); %} ----------------------------------------------------------- Warning: Component Analyser=Monochromator_curved() at line ILL_Lagrange.instr:257 is 1st in GROUP POSTsample and has a SPLIT. Best practice is to move the SPLIT to an earlier component. CFLAGS= --> Added COMPONENT Monok USERVAR ncol_6 with type int --> Added COMPONENT Monok USERVAR nrow_6 with type int --> Added COMPONENT Analyser USERVAR ncol_19 with type int --> Added COMPONENT Analyser USERVAR nrow_19 with type int WARNING: The parameter format of cryostat_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. 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. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component Monok -> SPLIT N at component SamplePosition -> SPLIT N at component Analyser ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component Monok -> SPLIT within buffer at component SamplePosition -> SPLIT within buffer at component Analyser ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./ILL_Lagrange.out DEBUG: CMD: nvc -o ./ILL_Lagrange.out ./ILL_Lagrange.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -DUSE_MPI -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -L,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC "./ILL_Lagrange.c", line 98: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./ILL_Lagrange.c", line 100: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcsetstate(double x, double y, double z, double vx, double vy, double vz, ^ "./ILL_Lagrange.c", line 103: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgetstate(_class_particle mcneutron, double *x, double *y, double *z, ^ "./ILL_Lagrange.c", line 117: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./ILL_Lagrange.c", line 121: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./ILL_Lagrange.c", line 158: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./ILL_Lagrange.c", line 121: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./ILL_Lagrange.c", line 196: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void(_class_particle *, char *, void*); ^ "./ILL_Lagrange.c", line 227: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./ILL_Lagrange.c", line 238: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./ILL_Lagrange.c", line 249: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getuservar_byid(_class_particle *p, int id, int *suc){ ^ "./ILL_Lagrange.c", line 268: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./ILL_Lagrange.c", line 344: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./ILL_Lagrange.c", line 346: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./ILL_Lagrange.c", line 697: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./ILL_Lagrange.c", line 918: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./ILL_Lagrange.c", line 935: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./ILL_Lagrange.c", line 937: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./ILL_Lagrange.c", line 945: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./ILL_Lagrange.c", line 947: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./ILL_Lagrange.c", line 949: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./ILL_Lagrange.c", line 951: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./ILL_Lagrange.c", line 953: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./ILL_Lagrange.c", line 1049: warning: Routine "coords_set" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_set(MCNUM x, MCNUM y, MCNUM z); ^ "./ILL_Lagrange.c", line 1051: warning: Routine "coords_get" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_get(Coords a, MCNUM *x, MCNUM *y, MCNUM *z); ^ "./ILL_Lagrange.c", line 1053: warning: Routine "coords_add" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_add(Coords a, Coords b); ^ "./ILL_Lagrange.c", line 1055: warning: Routine "coords_sub" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_sub(Coords a, Coords b); ^ "./ILL_Lagrange.c", line 1057: warning: Routine "coords_neg" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_neg(Coords a); ^ "./ILL_Lagrange.c", line 1059: warning: Routine "coords_scale" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_scale(Coords b, double scale); ^ "./ILL_Lagrange.c", line 1061: warning: Routine "coords_sp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_sp(Coords a, Coords b); ^ "./ILL_Lagrange.c", line 1063: warning: Routine "coords_xp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_xp(Coords b, Coords c); ^ "./ILL_Lagrange.c", line 1065: warning: Routine "coords_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_len(Coords a); ^ "./ILL_Lagrange.c", line 4680: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./ILL_Lagrange.c", line 6381: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./ILL_Lagrange.c", line 7175: warning: Routine "Table_Index" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Index(t_Table Table, long i, long j); /* get indexed value */ ^ "./ILL_Lagrange.c", line 7177: warning: Routine "Table_Value" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Value(t_Table Table, double X, long j); /* search X in 1st column and return interpolated value in j-column */ ^ "./ILL_Lagrange.c", line 7184: warning: Routine "Table_Value2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Value2d(t_Table Table, double X, double Y); /* same as Table_Index with non-integer indices and 2d interpolation */ ^ "./ILL_Lagrange.c", line 7204: warning: Routine "Table_Interp1d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp1d(double x, double x1, double y1, double x2, double y2); ^ "./ILL_Lagrange.c", line 7206: warning: Routine "Table_Interp1d_nearest" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp1d_nearest(double x, double x1, double y1, double x2, double y2); ^ "./ILL_Lagrange.c", line 7208: warning: Routine "Table_Interp2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp2d(double x, double y, double x1, double y1, double x2, double y2, ^ "./ILL_Lagrange.c", line 8692: warning: Routine "GAUSS_monocurved" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] GAUSS_monocurved (double x, double mean, double rms) { ^ "./ILL_Lagrange.c", line 8892: warning: Routine "Monitor_nD_Trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Monitor_nD_Trace(MonitornD_Defines_type *, MonitornD_Variables_type *, _class_particle* _particle); ^ "./ILL_Lagrange.c", line 10978: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_Lagrange.c", line 10978: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_Lagrange.c", line 11005: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_Lagrange.c", line 11005: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_Lagrange.c", line 11166: warning: Routine "off_intersect_all" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all(double* t0, double* t3, ^ "./ILL_Lagrange.c", line 11189: warning: Routine "off_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect(double* t0, double* t3, ^ "./ILL_Lagrange.c", line 11210: warning: Routine "off_x_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect(double *l0,double *l3, ^ "./ILL_Lagrange.c", line 11297: warning: Routine "off_F" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_F(double x, double y,double z,double A,double B,double C,double D) { ^ "./ILL_Lagrange.c", line 11302: warning: Routine "off_sign" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] char off_sign(double a) { ^ "./ILL_Lagrange.c", line 11311: warning: Routine "off_normal" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_normal(Coords* n, polygon p) ^ "./ILL_Lagrange.c", line 11337: warning: Routine "off_pnpoly" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_pnpoly(polygon p, Coords v) ^ "./ILL_Lagrange.c", line 11340: warning: variable "minx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_Lagrange.c", line 11340: warning: variable "maxx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_Lagrange.c", line 11340: warning: variable "miny" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_Lagrange.c", line 11340: warning: variable "maxy" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_Lagrange.c", line 11340: warning: variable "minz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_Lagrange.c", line 11340: warning: variable "maxz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_Lagrange.c", line 11400: warning: Routine "off_intersectPoly" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersectPoly(intersection *inter, Coords a, Coords b, polygon p) ^ "./ILL_Lagrange.c", line 11530: warning: Routine "off_init_planes" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_init_planes(Coords a, Coords b, ^ "./ILL_Lagrange.c", line 11574: warning: Routine "off_clip_3D_mod" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_clip_3D_mod(intersection* t, Coords a, Coords b, ^ "./ILL_Lagrange.c", line 11695: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_Lagrange.c", line 11807: warning: Routine "off_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_compare (void const *a, void const *b) ^ "./ILL_Lagrange.c", line 11819: warning: Routine "off_cleanDouble" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_cleanDouble(intersection* t, int* t_size) ^ "./ILL_Lagrange.c", line 11854: warning: Routine "off_cleanInOut" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_cleanInOut(intersection* t, int* t_size) ^ "./ILL_Lagrange.c", line 12110: warning: Routine "Min_int" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Min_int(int x, int y) { ^ "./ILL_Lagrange.c", line 12116: warning: Routine "merge" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void merge(intersection *arr, int l, int m, int r) ^ "/usr/include/math.h", line 30: warning: #warning directive: A macro called log was already defined when was included. [warning_directive] # warning A macro called log was already defined when was included. ^ "/usr/include/math.h", line 31: warning: #warning directive: This will cause compilation problems. [warning_directive] # warning This will cause compilation problems. ^ "./ILL_Lagrange.c", line 13674: warning: variable "n" was declared but never referenced [declared_but_not_referenced] double n; ^ "./ILL_Lagrange.c", line 13651: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] double w_c = 0; ^ "./ILL_Lagrange.c", line 13652: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] double w_l = 0; ^ "./ILL_Lagrange.c", line 13572: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_Lagrange.c", line 13572: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_Lagrange.c", line 15316: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_Lagrange.c", line 15304: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_Lagrange.c", line 15361: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_Lagrange.c", line 15481: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_Lagrange.c", line 15557: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_Lagrange.c", line 15635: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_Lagrange.c", line 15684: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_Lagrange.c", line 15781: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_Lagrange.c", line 15830: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_Lagrange.c", line 15908: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_Lagrange.c", line 16034: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_Lagrange.c", line 16083: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_Lagrange.c", line 16206: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_Lagrange.c", line 16332: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ILL_Lagrange.c", line 16455: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ILL_Lagrange.c", line 16581: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ILL_Lagrange.c", line 16707: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ILL_Lagrange.c", line 16756: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ILL_Lagrange.c", line 16882: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ILL_Lagrange.c", line 16931: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ILL_Lagrange.c", line 17028: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./ILL_Lagrange.c", line 17077: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./ILL_Lagrange.c", line 17126: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./ILL_Lagrange.c", line 17252: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./ILL_Lagrange.c", line 17341: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./ILL_Lagrange.c", line 19114: warning: incompatible redefinition of macro "exit" (declared at line 676) [bad_macro_redef] #define exit(...) noprintf() ^ "./ILL_Lagrange.c", line 19126: warning: Routine "class_Progress_bar_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Progress_bar_trace(_class_Progress_bar *_comp ^ "./ILL_Lagrange.c", line 19205: warning: Routine "class_Source_gen_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Source_gen_trace(_class_Source_gen *_comp ^ "./ILL_Lagrange.c", line 19414: warning: Routine "class_PSD_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PSD_monitor_trace(_class_PSD_monitor *_comp ^ "./ILL_Lagrange.c", line 19485: warning: Routine "class_L_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_L_monitor_trace(_class_L_monitor *_comp ^ "./ILL_Lagrange.c", line 19556: warning: Routine "class_Arm_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Arm_trace(_class_Arm *_comp ^ "./ILL_Lagrange.c", line 19620: warning: Routine "class_Monochromator_curved_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Monochromator_curved_trace(_class_Monochromator_curved *_comp ^ "./ILL_Lagrange.c", line 19980: warning: Routine "class_Monitor_nD_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Monitor_nD_trace(_class_Monitor_nD *_comp ^ "./ILL_Lagrange.c", line 20249: warning: Routine "class_PowderN_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PowderN_trace(_class_PowderN *_comp ^ "./ILL_Lagrange.c", line 20299: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./ILL_Lagrange.c", line 20300: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./ILL_Lagrange.c", line 20303: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./ILL_Lagrange.c", line 20306: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./ILL_Lagrange.c", line 20310: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./ILL_Lagrange.c", line 20311: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./ILL_Lagrange.c", line 20312: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./ILL_Lagrange.c", line 20313: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./ILL_Lagrange.c", line 20314: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./ILL_Lagrange.c", line 20753: warning: Routine "class_Isotropic_Sqw_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Isotropic_Sqw_trace(_class_Isotropic_Sqw *_comp ^ "./ILL_Lagrange.c", line 20825: warning: variable "ti" was set but never used [set_but_not_used] double ki_x, ki_y, ki_z, ti, vi, ki; ^ "./ILL_Lagrange.c", line 20826: warning: variable "tf" was set but never used [set_but_not_used] double kf_x, kf_y, kf_z, tf, kf; ^ "./ILL_Lagrange.c", line 20826: warning: variable "kf" was set but never used [set_but_not_used] double kf_x, kf_y, kf_z, tf, kf; ^ "./ILL_Lagrange.c", line 21432: warning: Routine "class_Sqw_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Sqw_monitor_trace(_class_Sqw_monitor *_comp ^ "./ILL_Lagrange.c", line 21458: warning: variable "q" was declared but never referenced [declared_but_not_referenced] double q, qq; ^ "./ILL_Lagrange.c", line 21462: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double phi; ^ "./ILL_Lagrange.c", line 21590: warning: Routine "raytrace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int raytrace(_class_particle* _particle) { /* single event propagation, called by mccode_main for ILL_Lagrange:TRACE */ ^ "./ILL_Lagrange.c", line 24741: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_Lagrange.c", line 24742: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_Lagrange.c", line 1557: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_Lagrange.c", line 3026: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 110, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 124, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 165, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 198, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 229, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 240, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 249, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 268, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1605, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1609, Generating acc routine seq Generating NVIDIA GPU code str_len: 1618, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4298, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4732, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4743, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4752, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4764, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4776, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4786, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4796, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4804, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4814, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4836, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4843, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4889, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4924, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4935, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4952, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4963, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4979, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 5008, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 5019, Generating acc routine seq Generating NVIDIA GPU code norm_func: 5023, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5200, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5231, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5248, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5347, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5431, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5497, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5574, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5846, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5858, Generating acc routine seq Generating NVIDIA GPU code _hash: 5890, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5931, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5942, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5947, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5955, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5963, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5970, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6650, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6690, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6750, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6767, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6882, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6937, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7985, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 8053, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8132, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8600, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8616, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8634, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8682, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 8692, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9968, Generating acc routine seq Generating NVIDIA GPU code off_F: 11297, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11302, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11312, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11338, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11401, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11532, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11577, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11692, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11808, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11820, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11855, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12110, Generating acc routine seq Generating NVIDIA GPU code merge: 12117, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R p_to_quadratic: 12225, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 12240, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12294, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12411, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12433, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 12972, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_SW: 13457, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_Q_proba_per_w: 13496, Generating acc routine seq Generating NVIDIA GPU code Sqw_integrate_iqSq: 13535, Generating acc routine seq Generating NVIDIA GPU code init: 19084, Generating update device(_Monok_var,_Sample_var,_Origin_var,_KillDirectBeam_var,_instrument_var,_Lmon2_var,_mono_out_var,_mono_cradle_var,_Lmon1_var,_SamplePosition_var,_RotateNeutron_var,_Source_var,_Sample_mon_var,_cryostat_in_var,_Barrel_PSD_monitor3_var,_Analyser_var,_PSD_var,_Barrel_PSD_monitor2_var,_AnalyserMount_var,_Detector_var,_Barrel_PSD_monitor_var,_Detector_Sqw_var,_Detector_Sqw_env_var,_DetectorMount_var,_cryostat_out_var) class_Progress_bar_trace: 19127, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 19206, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 19415, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 19486, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 19557, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 19621, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 19981, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 20250, Generating acc routine seq Generating NVIDIA GPU code class_Isotropic_Sqw_trace: 20754, Generating acc routine seq Generating NVIDIA GPU code 21085, Reference argument passing prevents parallelization: u1z Reference argument passing prevents parallelization: u1y Reference argument passing prevents parallelization: u1x Reference argument passing prevents parallelization: solid_angle class_Sqw_monitor_trace: 21433, Generating acc routine seq Generating NVIDIA GPU code raytrace: 21590, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 22144, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 22158, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 22144, Local memory used for particleN 22158, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount) finally: 23613, Generating update self(_Monok_var,_Sample_var,_Origin_var,_KillDirectBeam_var,_instrument_var,_Lmon2_var,_mono_out_var,_mono_cradle_var,_Lmon1_var,_SamplePosition_var,_RotateNeutron_var,_Source_var,_Sample_mon_var,_cryostat_in_var,_Barrel_PSD_monitor3_var,_Analyser_var,_PSD_var,_Barrel_PSD_monitor2_var,_AnalyserMount_var,_Detector_var,_Barrel_PSD_monitor_var,_Detector_Sqw_var,_Detector_Sqw_env_var,_DetectorMount_var,_cryostat_out_var) mcenabletrace: 6090, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvctDhzb5AYWbNfd.o: in function `cif2hkl': /u/data/pkwi/TESTS/2026-03-18/McStas_8GPU_openacc_mpi_x_7_1e7_Linux_1e7/ILL_Lagrange/./ILL_Lagrange.c:12689: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===