INFO: No output directory specified (--dir) INFO: Using directory: "Test_Monochromators_20250514_030316" INFO: Regenerating c-file: Test_Monochromators.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_Monochromators.c Test_Monochromators.instr Info: 'Monochromator_2foc' is a contributed component. CFLAGS= @NCRYSTALFLAGS@ -DFUNNEL --> Added COMPONENT Mono4 USERVAR ncol_9 with type int --> Added COMPONENT Mono4 USERVAR nrow_9 with type int WARNING: The parameter mosaic_AB of Mono6 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component Mono7 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Mono7 -> GPU kernel from component Sphere1 ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Test_Monochromators.out --> launching cmd: ncrystal-config --show buildflags DEBUG: CMD: nvc -o ./Test_Monochromators.out ./Test_Monochromators.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 -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib/libNCrystal.so -I/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -DFUNNEL "./Test_Monochromators.c", line 91: 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 " "./Test_Monochromators.c", line 93: 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, ^ "./Test_Monochromators.c", line 96: 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, ^ "./Test_Monochromators.c", line 112: 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); ^ "./Test_Monochromators.c", line 116: 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); ^ "./Test_Monochromators.c", line 146: 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); ^ "./Test_Monochromators.c", line 116: 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); ^ "./Test_Monochromators.c", line 177: 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*); ^ "./Test_Monochromators.c", line 201: 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); ^ "./Test_Monochromators.c", line 212: 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); ^ "./Test_Monochromators.c", line 223: 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){ ^ "./Test_Monochromators.c", line 235: 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){ ^ "./Test_Monochromators.c", line 309: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./Test_Monochromators.c", line 311: 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); ^ "./Test_Monochromators.c", line 661: 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 */ ^ "./Test_Monochromators.c", line 882: 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); ^ "./Test_Monochromators.c", line 899: 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); ^ "./Test_Monochromators.c", line 901: 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]); ^ "./Test_Monochromators.c", line 909: 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); ^ "./Test_Monochromators.c", line 911: 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); ^ "./Test_Monochromators.c", line 913: 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); ^ "./Test_Monochromators.c", line 915: 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); ^ "./Test_Monochromators.c", line 917: 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); ^ "./Test_Monochromators.c", line 1013: 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); ^ "./Test_Monochromators.c", line 1015: 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); ^ "./Test_Monochromators.c", line 1017: 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); ^ "./Test_Monochromators.c", line 1019: 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); ^ "./Test_Monochromators.c", line 1021: 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); ^ "./Test_Monochromators.c", line 1023: 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); ^ "./Test_Monochromators.c", line 1025: 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); ^ "./Test_Monochromators.c", line 1027: 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); ^ "./Test_Monochromators.c", line 1029: 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); ^ "./Test_Monochromators.c", line 4584: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Test_Monochromators.c", line 5039: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Test_Monochromators.c", line 4958: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Test_Monochromators.c", line 6285: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_Monochromators.c", line 7275: 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 */ ^ "./Test_Monochromators.c", line 7277: 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 */ ^ "./Test_Monochromators.c", line 7284: 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 */ ^ "./Test_Monochromators.c", line 7304: 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); ^ "./Test_Monochromators.c", line 7306: 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); ^ "./Test_Monochromators.c", line 7308: 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, ^ "/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. ^ "./Test_Monochromators.c", line 8876: warning: Routine "interpolator_interpolate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double *interpolator_interpolate(struct interpolator_struct *interpolator, ^ "./Test_Monochromators.c", line 8887: warning: Routine "interpolator_interpolate3_3" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double *interpolator_interpolate3_3(struct interpolator_struct *interpolator, ^ "./Test_Monochromators.c", line 8976: warning: Routine "kdtree_squaredDistance" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double kdtree_squaredDistance(vertex* a, vertex* b) ^ "./Test_Monochromators.c", line 8992: warning: Routine "kdtree_borderCheck" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void kdtree_borderCheck(vertex *v, treeNode *thisNode, ^ "./Test_Monochromators.c", line 9027: warning: Routine "kdtree_partition" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int kdtree_partition(vertex **points, int d, int left, int right, int pivot) ^ "./Test_Monochromators.c", line 9102: warning: Routine "kdtree_nearestNeighbour_helper" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void kdtree_nearestNeighbour_helper(vertex* v, treeNode *tree, ^ "./Test_Monochromators.c", line 9142: warning: Routine "kdtree_nearestNeighbour" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] vertex* kdtree_nearestNeighbour(vertex* v, treeNode *tree) { ^ "./Test_Monochromators.c", line 9212: warning: Routine "interpolator_offset" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] long interpolator_offset(int dim, long *dimInfo, long *indices) { ^ "./Test_Monochromators.c", line 9432: warning: variable "count" was declared but never referenced [declared_but_not_referenced] long count=0; ^ "./Test_Monochromators.c", line 9524: warning: missing return statement at end of non-void function "interpolator_interpolate" [implicit_return_from_non_void_function] } // interpolator_interpolate ^ "./Test_Monochromators.c", line 10003: warning: Routine "GAUSS_monocurved" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double GAUSS_monocurved(double x, double mean, double rms){ ^ "./Test_Monochromators.c", line 10135: 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, ^ "./Test_Monochromators.c", line 10158: 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, ^ "./Test_Monochromators.c", line 10179: 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, ^ "./Test_Monochromators.c", line 10262: 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) { ^ "./Test_Monochromators.c", line 10267: 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) { ^ "./Test_Monochromators.c", line 10276: 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) ^ "./Test_Monochromators.c", line 10302: 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) ^ "./Test_Monochromators.c", line 10305: 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; ^ "./Test_Monochromators.c", line 10305: 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; ^ "./Test_Monochromators.c", line 10305: 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; ^ "./Test_Monochromators.c", line 10305: 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; ^ "./Test_Monochromators.c", line 10305: 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; ^ "./Test_Monochromators.c", line 10305: 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; ^ "./Test_Monochromators.c", line 10365: 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) ^ "./Test_Monochromators.c", line 10495: 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, ^ "./Test_Monochromators.c", line 10539: 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, ^ "./Test_Monochromators.c", line 10662: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Test_Monochromators.c", line 10776: 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) ^ "./Test_Monochromators.c", line 10788: 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) ^ "./Test_Monochromators.c", line 10823: 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) ^ "./Test_Monochromators.c", line 11075: 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) { ^ "./Test_Monochromators.c", line 11081: 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) ^ "./Test_Monochromators.c", line 12100: warning: Routine "SX_list_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int SX_list_compare (void const *a, void const *b) ^ "./Test_Monochromators.c", line 12623: warning: Routine "hkl_search" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_search(struct hkl_data *L, void *TT, int count, double V0, ^ "./Test_Monochromators.c", line 12636: warning: variable "jglobal" was declared but never referenced [declared_but_not_referenced] int jglobal=-1; ^ "./Test_Monochromators.c", line 12637: warning: variable "coherent_refl" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./Test_Monochromators.c", line 12637: warning: variable "coherent_xsect" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./Test_Monochromators.c", line 12738: warning: Routine "hkl_select" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_select(struct tau_data *T, int tau_count, double coh_refl, double *sum,_class_particle *_particle) { ^ "./Test_Monochromators.c", line 12753: warning: Routine "randrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randrotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./Test_Monochromators.c", line 12761: warning: Routine "randderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randderotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./Test_Monochromators.c", line 12769: warning: Routine "PGrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void PGrotate(double *nx, double *ny, double *nz, double a, double csx, double csy, double csz) { ^ "./Test_Monochromators.c", line 12777: warning: Routine "PGderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void PGderotate(double *nx, double *ny, double *nz, double a, double csx, double csy, double csz) { ^ "./Test_Monochromators.c", line 12788: warning: Routine "vec_rotate_2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void vec_rotate_2d(double* x, double* y, double angle) { ^ "./Test_Monochromators.c", line 12892: warning: missing return statement at end of non-void function "ncrystalsample_surfintersect" [implicit_return_from_non_void_function] } ^ "./Test_Monochromators.c", line 13094: 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); ^ "./Test_Monochromators.c", line 15180: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Test_Monochromators.c", line 15180: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Test_Monochromators.c", line 15207: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Test_Monochromators.c", line 15207: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Test_Monochromators.c", line 15909: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Monochromators.c", line 15897: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_Monochromators.c", line 15954: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_Monochromators.c", line 16031: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_Monochromators.c", line 16109: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_Monochromators.c", line 16158: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_Monochromators.c", line 16207: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_Monochromators.c", line 16280: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_Monochromators.c", line 16351: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_Monochromators.c", line 16422: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_Monochromators.c", line 16519: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_Monochromators.c", line 16604: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Test_Monochromators.c", line 16737: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Test_Monochromators.c", line 16805: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Test_Monochromators.c", line 16871: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Test_Monochromators.c", line 16949: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Test_Monochromators.c", line 17025: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Test_Monochromators.c", line 17101: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Test_Monochromators.c", line 17177: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Test_Monochromators.c", line 17255: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Test_Monochromators.c", line 17976: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Monochromators.c", line 17976: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Monochromators.c", line 17976: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Monochromators.c", line 17977: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./Test_Monochromators.c", line 18736: warning: incompatible redefinition of macro "strcmp" (declared at line 9480) [bad_macro_redef] #define strcmp(a,b) str_comp(a,b) ^ "./Test_Monochromators.c", line 18747: 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 ^ "./Test_Monochromators.c", line 18837: warning: Routine "class_Source_simple_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Source_simple_trace(_class_Source_simple *_comp ^ "./Test_Monochromators.c", line 18940: 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 ^ "./Test_Monochromators.c", line 19013: warning: Routine "class_Monochromator_flat_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Monochromator_flat_trace(_class_Monochromator_flat *_comp ^ "./Test_Monochromators.c", line 19198: warning: Routine "class_Monochromator_pol_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Monochromator_pol_trace(_class_Monochromator_pol *_comp ^ "./Test_Monochromators.c", line 19218: warning: variable "y1" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./Test_Monochromators.c", line 19218: warning: variable "z1" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./Test_Monochromators.c", line 19218: warning: variable "t1" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./Test_Monochromators.c", line 19218: warning: variable "dt" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./Test_Monochromators.c", line 19221: warning: variable "sx_in" was declared but never referenced [declared_but_not_referenced] double sx_in, sy_in, sz_in; ^ "./Test_Monochromators.c", line 19221: warning: variable "sy_in" was declared but never referenced [declared_but_not_referenced] double sx_in, sy_in, sz_in; ^ "./Test_Monochromators.c", line 19221: warning: variable "sz_in" was declared but never referenced [declared_but_not_referenced] double sx_in, sy_in, sz_in; ^ "./Test_Monochromators.c", line 19222: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Test_Monochromators.c", line 19321: 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 ^ "./Test_Monochromators.c", line 19666: warning: Routine "class_Monochromator_2foc_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Monochromator_2foc_trace(_class_Monochromator_2foc *_comp ^ "./Test_Monochromators.c", line 19748: warning: variable "k" was set but never used [set_but_not_used] double my_r0, k; ^ "./Test_Monochromators.c", line 19861: warning: Routine "class_Single_crystal_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Single_crystal_trace(_class_Single_crystal *_comp ^ "./Test_Monochromators.c", line 19920: warning: variable "rho_x" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Test_Monochromators.c", line 19920: warning: variable "rho_y" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Test_Monochromators.c", line 19920: warning: variable "rho_z" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Test_Monochromators.c", line 19921: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./Test_Monochromators.c", line 19922: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./Test_Monochromators.c", line 19923: warning: variable "ox" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Monochromators.c", line 19923: warning: variable "oy" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Monochromators.c", line 19923: warning: variable "oz" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Monochromators.c", line 19924: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19924: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19924: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19925: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19925: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19925: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19926: warning: variable "n11" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Monochromators.c", line 19926: warning: variable "n12" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Monochromators.c", line 19926: warning: variable "n22" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Monochromators.c", line 19927: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./Test_Monochromators.c", line 19928: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Monochromators.c", line 19928: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Monochromators.c", line 19928: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Monochromators.c", line 19929: warning: variable "l11" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Test_Monochromators.c", line 19929: warning: variable "l12" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Test_Monochromators.c", line 19929: warning: variable "l22" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Test_Monochromators.c", line 19930: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./Test_Monochromators.c", line 19931: warning: variable "Bt_D_O_x" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./Test_Monochromators.c", line 19931: warning: variable "Bt_D_O_y" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./Test_Monochromators.c", line 19932: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Test_Monochromators.c", line 19932: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Test_Monochromators.c", line 19933: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./Test_Monochromators.c", line 19940: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./Test_Monochromators.c", line 19947: warning: variable "theta" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./Test_Monochromators.c", line 19947: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./Test_Monochromators.c", line 19956: warning: variable "type" was set but never used [set_but_not_used] char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./Test_Monochromators.c", line 20570: warning: Routine "class_PSD_monitor_4PI_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PSD_monitor_4PI_trace(_class_PSD_monitor_4PI *_comp ^ "./Test_Monochromators.c", line 20648: 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 ^ "./Test_Monochromators.c", line 20719: 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 ^ "./Test_Monochromators.c", line 23736: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_Monochromators.c", line 23737: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_Monochromators.c", line 1521: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Monochromators.c", line 2941: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 105, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 119, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 153, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 179, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 203, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 214, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 223, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 235, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1569, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1573, Generating acc routine seq Generating NVIDIA GPU code str_len: 1582, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4205, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4636, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4647, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4656, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4668, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4680, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4690, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4700, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4708, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4718, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4740, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4747, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4793, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4828, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4839, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4856, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4867, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4883, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4912, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4923, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4927, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4962, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4969, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4978, #pragma acc loop seq 4962, Generating implicit copy(lens[:]) [if not already present] 4969, Generating implicit firstprivate(ll,l) 4980, Accelerator restriction: induction variable live-out from loop: i 4981, Accelerator restriction: induction variable live-out from loop: i 4982, Accelerator restriction: induction variable live-out from loop: i 4983, Accelerator restriction: induction variable live-out from loop: i 4985, Accelerator restriction: induction variable live-out from loop: j 4986, Accelerator restriction: induction variable live-out from loop: j 4987, Accelerator restriction: induction variable live-out from loop: j 4988, Accelerator restriction: induction variable live-out from loop: j 5010, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5014, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5017, #pragma acc loop seq 5010, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5017, Generating implicit firstprivate(l) 5034, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5038, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5045, #pragma acc loop seq 5034, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5104, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5135, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5152, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5251, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5335, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5401, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5478, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5750, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5762, Generating acc routine seq Generating NVIDIA GPU code _hash: 5794, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5835, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5846, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5851, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5859, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5867, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5874, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6554, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6591, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6651, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6668, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6783, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6838, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 8074, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 8142, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8221, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8689, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8705, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8723, Generating acc routine seq Generating NVIDIA GPU code kdtree_squaredDistance: 8977, Generating acc routine seq Generating NVIDIA GPU code kdtree_borderCheck: 8994, Generating acc routine seq Generating NVIDIA GPU code kdtree_partition: 9028, Generating acc routine seq Generating NVIDIA GPU code kdtree_nearestNeighbour_helper: 9104, Generating acc routine seq Generating NVIDIA GPU code kdtree_nearestNeighbour: 9142, Generating acc routine seq Generating NVIDIA GPU code interpolator_offset: 9212, Generating acc routine seq Generating NVIDIA GPU code interpolator_load: 9416, Generating copyin(array[:prod]) [if not already present] interpolator_interpolate: 9477, Generating acc routine seq Generating NVIDIA GPU code interpolator_interpolate3_3: 9536, Generating acc routine seq Generating NVIDIA GPU code magnetic_field_dispatcher: 9590, Generating acc routine seq Generating NVIDIA GPU code mcmagnet_get_field: 9629, Generating acc routine seq Generating NVIDIA GPU code mcmagnet_push: 9670, Generating acc routine seq Generating NVIDIA GPU code mcmagnet_pop: 9703, Generating acc routine seq Generating NVIDIA GPU code const_magnetic_field: 9728, Generating acc routine seq Generating NVIDIA GPU code rot_magnetic_field: 9738, Generating acc routine seq Generating NVIDIA GPU code majorana_magnetic_field: 9752, Generating acc routine seq Generating NVIDIA GPU code gradient_magnetic_field: 9768, Generating acc routine seq Generating NVIDIA GPU code GetMonoPolFNFM: 9795, Generating acc routine seq Generating NVIDIA GPU code GetMonoPolRefProb: 9824, Generating acc routine seq Generating NVIDIA GPU code SetMonoPolRefOut: 9848, Generating acc routine seq Generating NVIDIA GPU code SetMonoPolTransOut: 9875, Generating acc routine seq Generating NVIDIA GPU code SimpleNumMagnetPrecession: 9895, Generating acc routine seq Generating NVIDIA GPU code 9928, Reference argument passing prevents parallelization: BzTemp Reference argument passing prevents parallelization: ByTemp Reference argument passing prevents parallelization: BxTemp GetConstantField: 9990, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 10003, Generating acc routine seq Generating NVIDIA GPU code off_F: 10262, Generating acc routine seq Generating NVIDIA GPU code off_sign: 10267, Generating acc routine seq Generating NVIDIA GPU code off_normal: 10277, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 10303, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 10366, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 10497, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 10542, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 10659, Generating acc routine seq Generating NVIDIA GPU code off_compare: 10777, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 10789, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 10824, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11075, Generating acc routine seq Generating NVIDIA GPU code merge: 11082, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11186, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 11201, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 11255, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 11372, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 11394, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 12101, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 12626, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 12738, Generating acc routine seq Generating NVIDIA GPU code randrotate: 12753, Generating acc routine seq Generating NVIDIA GPU code randderotate: 12761, Generating acc routine seq Generating NVIDIA GPU code PGrotate: 12769, Generating acc routine seq Generating NVIDIA GPU code PGderotate: 12777, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 12788, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 14170, Generating acc routine seq Generating NVIDIA GPU code init: 18705, Generating update device(_Mono_Out_var,_Origin_var,_lam1_var,_Mono7_var,_Mono_Arm_var,_L3_var,_Mono1_var,_Mono2_var,_Mono3_var,_Mono4_var,_Mono5_var,_Mono6_var,_Source_var,_instrument_var,_lamStart_var,_psd1_var,_psd3_var,_psd2_var,_Sphere1_var,_T3_var) class_Progress_bar_trace: 18748, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 18838, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 18941, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_flat_trace: 19014, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_pol_trace: 19199, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 19322, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_2foc_trace: 19667, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 19862, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 20571, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 20649, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 20720, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 21532, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21536, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21532, Local memory used for .inl_.inl_mcneutron_0_28118,.inl_particle_28103,.inl_.X2484_28120,.inl_.inl_.X2695_15_28119 21536, Generating implicit private(_particle,seed) 21546, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 19124, #pragma acc loop seq Generating implicit reduction(+:.inl_total_28382) 19140, #pragma acc loop seq 19803, #pragma acc loop seq 21551, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21546, Local memory used for .inl_.inl_c_1933_28604,.inl_.inl_.inl_b_1907_1939_28609,.inl_.inl_.inl_.X2660_1906_1938_28608,.inl_.inl_b_1929_28603,.inl_.inl_c_1922_28593,.inl_.inl_.inl_b_1907_1928_28598,.inl_.inl_.inl_.X2660_1906_1927_28597,.inl_.inl_b_1918_28592,.inl_.inl_.X2644_1917_28587,.inl_.inl_c_1914_28586,.inl_c_28669,.inl_.inl_b_1913_28584,.inl_.inl_.X2660_1912_28583,.inl_b_28576,.inl_.X2643_28575,.inl_.X2644_28570,.inl_c_28578,.inl_.X2642_28566,.inl_a_28562,.inl_.inl_c_1933_28554,.inl_.inl_.inl_b_1907_1939_28559,.inl_.inl_.inl_.X2660_1906_1938_28558,.inl_.inl_b_1929_28553,.inl_.inl_c_1922_28543,.inl_.inl_.inl_b_1907_1928_28548,.inl_.inl_.inl_.X2660_1906_1927_28547,.inl_.inl_b_1918_28542,.inl_.inl_.X2644_1917_28537,.inl_.inl_c_1914_28536,.inl_c_28567,.inl_.inl_b_1913_28534,.inl_.inl_.X2660_1912_28533,.inl_b_28526,.inl_.X2643_28525,.inl_.X2644_28520,.inl_c_28528,.inl_.X2642_28516,.inl_a_28512,.inl_.inl_c_1933_28504,.inl_.inl_.inl_b_1907_1939_28509,.inl_.inl_.inl_.X2660_1906_1938_28508,.inl_.inl_b_1929_28503,.inl_.inl_c_1922_28493,.inl_.inl_.inl_b_1907_1928_28498,.inl_.inl_.inl_.X2660_1906_1927_28497,.inl_.inl_b_1918_28492,.inl_.inl_.X2644_1917_28487,.inl_.inl_c_1914_28486,.inl_c_28517,.inl_.inl_b_1913_28484,.inl_.inl_.X2660_1912_28483,.inl_b_28476,.inl_.X2643_28475,.inl_.X2644_28470,.inl_c_28478,.inl_.X2642_28466,.inl_a_28462,.inl_.inl_c_1933_28454,.inl_.inl_.inl_b_1907_1939_28459,.inl_.inl_.inl_.X2660_1906_1938_28458,.inl_.inl_b_1929_28453,.inl_.inl_c_1922_28443,.inl_.inl_.inl_b_1907_1928_28448,.inl_.inl_.inl_.X2660_1906_1927_28447,.inl_.inl_b_1918_28442,.inl_.inl_.X2644_1917_28437,.inl_.inl_c_1914_28436,.inl_c_28467,.inl_.inl_b_1913_28434,.inl_.inl_.X2660_1912_28433,.inl_b_28426,.inl_.X2643_28425,.inl_.X2644_28420,.inl_c_28428,.inl_.X2642_28416,.inl_a_28412,.inl_.inl_c_1933_28319,.inl_.inl_.inl_b_1907_1939_28324,.inl_.inl_.inl_.X2660_1906_1938_28323,.inl_.inl_b_1929_28318,.inl_.inl_c_1922_28308,.inl_.inl_.inl_b_1907_1928_28313,.inl_.inl_.inl_.X2660_1906_1927_28312,.inl_.inl_b_1918_28307,.inl_.inl_.X2644_1917_28302,.inl_.inl_c_1914_28301,.inl_c_28417,.inl_.inl_b_1913_28299,.inl_.inl_.X2660_1912_28298,.inl_b_28291,.inl_.X2643_28290,.inl_.X2644_28285,.inl_c_28293,.inl_.X2642_28281,.inl_a_28277,.inl_.inl_c_1933_28269,.inl_.inl_.inl_b_1907_1939_28274,.inl_.inl_.inl_.X2660_1906_1938_28273,.inl_.inl_b_1929_28268,.inl_.inl_c_1922_28258,.inl_.inl_.inl_b_1907_1928_28263,.inl_.inl_.inl_.X2660_1906_1927_28262,.inl_.inl_b_1918_28257,.inl_.inl_.X2644_1917_28252,.inl_.inl_c_1914_28251,.inl_c_28282,.inl_.inl_b_1913_28249,.inl_.inl_.X2660_1912_28248,.inl_b_28241,.inl_.X2643_28240,.inl_.X2644_28235,.inl_c_28243,.inl_.X2642_28231,.inl_a_28227,.inl_.inl_c_1933_28219,.inl_.inl_.inl_b_1907_1939_28224,.inl_.inl_.inl_.X2660_1906_1938_28223,.inl_.inl_b_1929_28218,.inl_.inl_c_1922_28208,.inl_.inl_.inl_b_1907_1928_28213,.inl_.inl_.inl_.X2660_1906_1927_28212,.inl_.inl_b_1918_28207,.inl_.inl_.X2644_1917_28202,.inl_.inl_c_1914_28201,.inl_c_28232,.inl_.inl_b_1913_28199,.inl_.inl_.X2660_1912_28198,.inl_b_28191,.inl_.X2643_28190,.inl_.X2644_28185,.inl_c_28193,.inl_.X2642_28181,.inl_a_28177,.inl_.inl_c_1933_28167,.inl_.inl_.inl_b_1907_1939_28172,.inl_.inl_.inl_.X2660_1906_1938_28171,.inl_.inl_b_1929_28166,.inl_.inl_c_1922_28156,.inl_.inl_.inl_b_1907_1928_28161,.inl_.inl_.inl_.X2660_1906_1927_28160,.inl_.inl_b_1918_28155,.inl_.inl_.X2644_1917_28150,.inl_.inl_c_1914_28149,.inl_c_28182,.inl_.inl_b_1913_28147,.inl_.inl_.X2660_1912_28146,.inl_b_28139,.inl_.X2643_28138,.inl_.X2644_28133,.inl_c_28141,.inl_.X2642_28129,.inl_a_28125,_particle_save,.inl_c_28680,.inl_.inl_c_1922_28695,.inl_.inl_.inl_b_1907_1928_28700,.inl_.inl_.inl_.X2660_1906_1927_28699,.inl_.inl_b_1918_28694,.inl_.inl_c_1914_28688,.inl_.inl_.inl_.X2660_1906_1938_28710,.inl_.inl_.X2660_1912_28685,.inl_.inl_b_1913_28686,.inl_.X2644_28672,.inl_.inl_b_1929_28705,.inl_c_28130,.inl_.inl_.inl_b_1907_1939_28711,.inl_.inl_.X2644_1917_28689,.inl_a_28664,.inl_.X2642_28668,.inl_.X2643_28677,.inl_b_28678,.inl_.inl_c_1933_28706 19110, Scalar last value needed after loop for .inl_mos_sample_28383*5.00000000000000000e+00 at line 19124 Loop carried scalar dependence for .inl_mos_sample_28383 at line 19120,19110 Scalar last value needed after loop for .inl_mos_sample_28383*5.00000000000000000e+00 at line 19135 Scalar last value needed after loop for .inl_mos_sample_28383 at line 19155,19140 19124, Loop is parallelizable 19140, Complex loop carried dependence of _particle+-> prevents parallelization Loop carried dependence of _particle+-> prevents parallelization Loop carried backward dependence of _particle+-> prevents vectorization Scalar last value needed after loop for (.inl_.inl_.inl_randnum_2447_7752_28398*2.00000000000000000e+00)-1.00000000000000000e+00 at line 19140 Scalar last value needed after loop for ((.inl_.inl_.inl_randnum_2451_7758_28404*2.00000000000000000e+00)-1.00000000000000000e+00*(.inl_.inl_.inl_randnum_2451_7758_28404*2.00000000000000000e+00)-1.00000000000000000e+00)+((.inl_.inl_.inl_randnum_2447_7752_28398*2.00000000000000000e+00)-1.00000000000000000e+00*(.inl_.inl_.inl_randnum_2447_7752_28398*2.00000000000000000e+00)-1.00000000000000000e+00) at line 19140 19803, Complex loop carried dependence of _particle+-> prevents parallelization Loop carried dependence of _particle+-> prevents parallelization Loop carried backward dependence of _particle+-> prevents vectorization Scalar last value needed after loop for (.inl_.inl_.inl_randnum_2447_8315_28649*2.00000000000000000e+00)-1.00000000000000000e+00 at line 19803 Scalar last value needed after loop for ((.inl_.inl_.inl_randnum_2451_8321_28655*2.00000000000000000e+00)-1.00000000000000000e+00*(.inl_.inl_.inl_randnum_2451_8321_28655*2.00000000000000000e+00)-1.00000000000000000e+00)+((.inl_.inl_.inl_randnum_2447_8315_28649*2.00000000000000000e+00)-1.00000000000000000e+00*(.inl_.inl_.inl_randnum_2447_8315_28649*2.00000000000000000e+00)-1.00000000000000000e+00) at line 19803 21730, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21733, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21730, Local memory used for .inl_.inl_c_1933_29056,.inl_.inl_.inl_b_1907_1939_29061,.inl_.inl_.inl_.X2660_1906_1938_29060,.inl_.inl_b_1929_29055,.inl_.inl_c_1922_29045,.inl_.inl_.inl_b_1907_1928_29050,.inl_.inl_.inl_.X2660_1906_1927_29049,.inl_.inl_b_1918_29044,.inl_.inl_.X2644_1917_29039,.inl_.inl_c_1914_29038,.inl_c_29069,.inl_.inl_b_1913_29036,.inl_.inl_.X2660_1912_29035,.inl_b_29028,.inl_.X2643_29027,.inl_.X2644_29022,.inl_c_29030,.inl_.X2642_29018,.inl_a_29014,.inl_.inl_c_1933_29006,.inl_.inl_.inl_b_1907_1939_29011,.inl_.inl_.inl_.X2660_1906_1938_29010,.inl_.inl_b_1929_29005,.inl_.inl_c_1922_28995,.inl_.inl_.inl_b_1907_1928_29000,.inl_.inl_.inl_.X2660_1906_1927_28999,.inl_.inl_b_1918_28994,.inl_.inl_.X2644_1917_28989,.inl_.inl_c_1914_28988,.inl_c_29019,.inl_.inl_b_1913_28986,.inl_.inl_.X2660_1912_28985,.inl_b_28978,.inl_.X2643_28977,.inl_.X2644_28972,.inl_c_28980,.inl_.X2642_28968,.inl_a_28964,.inl_.inl_c_1933_28956,.inl_.inl_.inl_b_1907_1939_28961,.inl_.inl_.inl_.X2660_1906_1938_28960,.inl_.inl_b_1929_28955,.inl_.inl_c_1922_28945,.inl_.inl_.inl_b_1907_1928_28950,.inl_.inl_.inl_.X2660_1906_1927_28949,.inl_.inl_b_1918_28944,.inl_.inl_.X2644_1917_28939,.inl_.inl_c_1914_28938,.inl_c_28969,.inl_.inl_b_1913_28936,.inl_.inl_.X2660_1912_28935,.inl_b_28928,.inl_.X2643_28927,.inl_.X2644_28922,.inl_c_28930,.inl_.X2642_28918,.inl_a_28914,.inl_.inl_c_1933_28906,.inl_.inl_.inl_b_1907_1939_28911,.inl_.inl_.inl_.X2660_1906_1938_28910,.inl_.inl_b_1929_28905,.inl_.inl_c_1922_28895,.inl_.inl_.inl_b_1907_1928_28900,.inl_.inl_.inl_.X2660_1906_1927_28899,.inl_.inl_b_1918_28894,.inl_.inl_.X2644_1917_28889,.inl_.inl_c_1914_28888,.inl_c_28919,.inl_.inl_b_1913_28886,.inl_.inl_.X2660_1912_28885,.inl_b_28878,.inl_.X2643_28877,.inl_.X2644_28872,.inl_c_28880,.inl_.X2642_28868,.inl_a_28864,.inl_.inl_c_1933_28856,.inl_.inl_.inl_b_1907_1939_28861,.inl_.inl_.inl_.X2660_1906_1938_28860,.inl_.inl_b_1929_28855,.inl_.inl_c_1922_28845,.inl_.inl_.inl_b_1907_1928_28850,.inl_.inl_.inl_.X2660_1906_1927_28849,.inl_.inl_b_1918_28844,.inl_.inl_.X2644_1917_28839,.inl_.inl_c_1914_28838,.inl_c_28869,.inl_.inl_b_1913_28836,.inl_.inl_.X2660_1912_28835,.inl_b_28828,.inl_.X2643_28827,.inl_.X2644_28822,.inl_c_28830,.inl_.X2642_28818,.inl_a_28814,.inl_.inl_c_1933_28806,.inl_.inl_.inl_b_1907_1939_28811,.inl_.inl_.inl_.X2660_1906_1938_28810,.inl_.inl_b_1929_28805,.inl_.inl_c_1922_28795,.inl_.inl_.inl_b_1907_1928_28800,.inl_.inl_.inl_.X2660_1906_1927_28799,.inl_.inl_b_1918_28794,.inl_.inl_.X2644_1917_28789,.inl_.inl_c_1914_28788,.inl_c_28819,.inl_.inl_b_1913_28786,.inl_.inl_.X2660_1912_28785,.inl_b_28778,.inl_.X2643_28777,.inl_.X2644_28772,.inl_c_28780,.inl_.X2642_28768,.inl_a_28764,_particle_save,.inl_c_29080,.inl_.inl_c_1922_29095,.inl_.inl_.inl_b_1907_1928_29100,.inl_.inl_.inl_.X2660_1906_1927_29099,.inl_.inl_b_1918_29094,.inl_.inl_c_1914_29088,.inl_.inl_.inl_.X2660_1906_1938_29110,.inl_.inl_.X2660_1912_29085,.inl_.inl_b_1913_29086,.inl_.X2644_29072,.inl_.inl_b_1929_29105,.inl_c_28769,.inl_.inl_.inl_b_1907_1939_29111,.inl_.inl_.X2644_1917_29089,.inl_a_29064,.inl_.X2642_29068,.inl_.X2643_29077,.inl_b_29078,.inl_.inl_c_1933_29106 finally: 22645, Generating update self(_Mono_Out_var,_Origin_var,_lam1_var,_Mono7_var,_Mono_Arm_var,_L3_var,_Mono1_var,_Mono2_var,_Mono3_var,_Mono4_var,_Mono5_var,_Mono6_var,_Source_var,_instrument_var,_lamStart_var,_psd1_var,_psd3_var,_psd2_var,_Sphere1_var,_T3_var) mcenabletrace: 5994, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvc5TFpfRVDM7PtS.o: in function `cif2hkl': /u/data/pkwi/TESTS/2025-05-14/McStas_8GPU_openacc_1e7_Linux_1e7/Test_Monochromators/./Test_Monochromators.c:12147: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===