INFO: No output directory specified (--dir) INFO: Using directory: "Test_single_magnetic_crystal_20250514_033303" INFO: Regenerating c-file: Test_single_magnetic_crystal.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_single_magnetic_crystal.c Test_single_magnetic_crystal.instr CFLAGS= -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component Sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Sample -> GPU kernel from component PSD4PImon ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Test_single_magnetic_crystal.out DEBUG: CMD: nvc -o ./Test_single_magnetic_crystal.out ./Test_single_magnetic_crystal.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 -DFUNNEL "./Test_single_magnetic_crystal.c", line 88: 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_single_magnetic_crystal.c", line 90: 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_single_magnetic_crystal.c", line 93: 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_single_magnetic_crystal.c", line 109: 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_single_magnetic_crystal.c", line 113: 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_single_magnetic_crystal.c", line 141: 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_single_magnetic_crystal.c", line 113: 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_single_magnetic_crystal.c", line 170: 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_single_magnetic_crystal.c", line 192: 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_single_magnetic_crystal.c", line 203: 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_single_magnetic_crystal.c", line 214: 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_single_magnetic_crystal.c", line 224: 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_single_magnetic_crystal.c", line 296: 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_single_magnetic_crystal.c", line 298: 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_single_magnetic_crystal.c", line 648: 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_single_magnetic_crystal.c", line 869: 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_single_magnetic_crystal.c", line 886: 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_single_magnetic_crystal.c", line 888: 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_single_magnetic_crystal.c", line 896: 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_single_magnetic_crystal.c", line 898: 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_single_magnetic_crystal.c", line 900: 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_single_magnetic_crystal.c", line 902: 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_single_magnetic_crystal.c", line 904: 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_single_magnetic_crystal.c", line 1000: 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_single_magnetic_crystal.c", line 1002: 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_single_magnetic_crystal.c", line 1004: 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_single_magnetic_crystal.c", line 1006: 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_single_magnetic_crystal.c", line 1008: 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_single_magnetic_crystal.c", line 1010: 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_single_magnetic_crystal.c", line 1012: 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_single_magnetic_crystal.c", line 1014: 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_single_magnetic_crystal.c", line 1016: 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_single_magnetic_crystal.c", line 4571: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Test_single_magnetic_crystal.c", line 5026: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Test_single_magnetic_crystal.c", line 4945: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Test_single_magnetic_crystal.c", line 6272: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_single_magnetic_crystal.c", line 7054: 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_single_magnetic_crystal.c", line 7056: 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_single_magnetic_crystal.c", line 7063: 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_single_magnetic_crystal.c", line 7083: 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_single_magnetic_crystal.c", line 7085: 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_single_magnetic_crystal.c", line 7087: 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, ^ "./Test_single_magnetic_crystal.c", line 8633: 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_single_magnetic_crystal.c", line 8656: 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_single_magnetic_crystal.c", line 8677: 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_single_magnetic_crystal.c", line 8760: 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_single_magnetic_crystal.c", line 8765: 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_single_magnetic_crystal.c", line 8774: 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_single_magnetic_crystal.c", line 8800: 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_single_magnetic_crystal.c", line 8803: 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_single_magnetic_crystal.c", line 8803: 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_single_magnetic_crystal.c", line 8803: 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_single_magnetic_crystal.c", line 8803: 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_single_magnetic_crystal.c", line 8803: 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_single_magnetic_crystal.c", line 8803: 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_single_magnetic_crystal.c", line 8863: 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_single_magnetic_crystal.c", line 8993: 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_single_magnetic_crystal.c", line 9037: 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_single_magnetic_crystal.c", line 9160: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Test_single_magnetic_crystal.c", line 9274: 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_single_magnetic_crystal.c", line 9286: 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_single_magnetic_crystal.c", line 9321: 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_single_magnetic_crystal.c", line 9573: 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_single_magnetic_crystal.c", line 9579: 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_single_magnetic_crystal.c", line 10243: warning: variable "mm3sq" was declared but never referenced [declared_but_not_referenced] double mm2x=1,mm2y=0,mm2z=0,mm2sq=1,mm3x=0,mm3y=0,mm3z=1,mm3sq=1; ^ "./Test_single_magnetic_crystal.c", line 10214: warning: variable "L_x" was set but never used [set_but_not_used] double S_x,S_y,S_z,L_x,L_y,L_z; ^ "./Test_single_magnetic_crystal.c", line 10214: warning: variable "L_y" was set but never used [set_but_not_used] double S_x,S_y,S_z,L_x,L_y,L_z; ^ "./Test_single_magnetic_crystal.c", line 10214: warning: variable "L_z" was set but never used [set_but_not_used] double S_x,S_y,S_z,L_x,L_y,L_z; ^ "./Test_single_magnetic_crystal.c", line 10280: warning: function "hypot" declared implicitly [implicit_func_decl] if (cabs(f_[0])>FLT_EPSILON || cabs(f_[1])>FLT_EPSILON || cabs(f_[2])>FLT_EPSILON || cabs(f_[3])>FLT_EPSILON ){ ^ "./Test_single_magnetic_crystal.c", line 10107: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_single_magnetic_crystal.c", line 10181: warning: variable "f" was set but never used [set_but_not_used] complex double f=0; ^ "./Test_single_magnetic_crystal.c", line 10093: warning: variable "sTable" was declared but never referenced [declared_but_not_referenced] t_Table sTable; /* sample data table structure from atoms_file */ ^ "./Test_single_magnetic_crystal.c", line 10096: warning: variable "parsing" was declared but never referenced [declared_but_not_referenced] char **parsing; ^ "./Test_single_magnetic_crystal.c", line 10099: warning: variable "nb_atoms" was declared but never referenced [declared_but_not_referenced] double nb_atoms=1; ^ "./Test_single_magnetic_crystal.c", line 10829: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_single_magnetic_crystal.c", line 10817: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_single_magnetic_crystal.c", line 10874: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_single_magnetic_crystal.c", line 10951: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_single_magnetic_crystal.c", line 11011: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_single_magnetic_crystal.c", line 11089: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_single_magnetic_crystal.c", line 11175: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_single_magnetic_crystal.c", line 11251: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_single_magnetic_crystal.c", line 11300: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_single_magnetic_crystal.c", line 11349: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_single_magnetic_crystal.c", line 11398: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_single_magnetic_crystal.c", line 11518: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Test_single_magnetic_crystal.c", line 11584: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Test_single_magnetic_crystal.c", line 12030: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_single_magnetic_crystal.c", line 12030: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_single_magnetic_crystal.c", line 12030: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_single_magnetic_crystal.c", line 12298: 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_single_magnetic_crystal.c", line 12388: 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_single_magnetic_crystal.c", line 12491: warning: Routine "class_Set_pol_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Set_pol_trace(_class_Set_pol *_comp ^ "./Test_single_magnetic_crystal.c", line 12552: 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_single_magnetic_crystal.c", line 12625: warning: Routine "class_Divergence_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Divergence_monitor_trace(_class_Divergence_monitor *_comp ^ "./Test_single_magnetic_crystal.c", line 12651: warning: variable "v" was declared but never referenced [declared_but_not_referenced] double v, vn; ^ "./Test_single_magnetic_crystal.c", line 12715: 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_single_magnetic_crystal.c", line 13012: warning: function "hypot" declared implicitly [implicit_func_decl] F2=spin_up*(cabs(L[i].f[0])*cabs(L[i].f[0])+cabs(L[i].f[2])*cabs(L[i].f[2])) + spin_down*(cabs(L[i].f[1])*cabs(L[i].f[1])+cabs(L[i].f[3])*cabs(L[i].f[3])); ^ "./Test_single_magnetic_crystal.c", line 13007: warning: variable "F" was declared but never referenced [declared_but_not_referenced] complex double F; ^ "./Test_single_magnetic_crystal.c", line 13122: warning: function "hypot" declared implicitly [implicit_func_decl] sigma_tot=spin_up*(cabs(L[i].f[0])*cabs(L[i].f[0]) + cabs(L[i].f[2])*cabs(L[i].f[2])) + spin_down*(cabs(L[i].f[1])*cabs(L[i].f[1]) + cabs(L[i].f[3])*cabs(L[i].f[3])); ^ "./Test_single_magnetic_crystal.c", line 13114: warning: variable "P_f" was declared but never referenced [declared_but_not_referenced] double spin_up,spin_down,P_i,P_f; ^ "./Test_single_magnetic_crystal.c", line 12853: warning: variable "abs_xlen" was set but never used [set_but_not_used] double abs_xsect, abs_xlen; /* sigma_abs cross section and length */ ^ "./Test_single_magnetic_crystal.c", line 13202: 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_single_magnetic_crystal.c", line 13280: warning: Routine "class_PSD_monitor_4PI_spin_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_spin_trace(_class_PSD_monitor_4PI_spin *_comp ^ "./Test_single_magnetic_crystal.c", line 15352: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_single_magnetic_crystal.c", line 15353: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_single_magnetic_crystal.c", line 1508: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_single_magnetic_crystal.c", line 2928: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 102, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 116, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 148, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 172, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 194, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 205, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 214, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 224, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1556, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1560, Generating acc routine seq Generating NVIDIA GPU code str_len: 1569, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4192, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4623, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4634, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4643, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4655, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4667, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4677, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4687, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4695, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4705, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4727, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4734, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4780, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4815, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4826, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4843, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4854, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4870, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4899, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4910, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4914, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4949, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4956, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4965, #pragma acc loop seq 4949, Generating implicit copy(lens[:]) [if not already present] 4956, Generating implicit firstprivate(ll,l) 4967, Accelerator restriction: induction variable live-out from loop: i 4968, Accelerator restriction: induction variable live-out from loop: i 4969, Accelerator restriction: induction variable live-out from loop: i 4970, Accelerator restriction: induction variable live-out from loop: i 4972, Accelerator restriction: induction variable live-out from loop: j 4973, Accelerator restriction: induction variable live-out from loop: j 4974, Accelerator restriction: induction variable live-out from loop: j 4975, Accelerator restriction: induction variable live-out from loop: j 4997, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5001, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5004, #pragma acc loop seq 4997, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5004, Generating implicit firstprivate(l) 5021, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5025, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5032, #pragma acc loop seq 5021, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5091, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5122, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5139, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5238, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5322, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5388, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5465, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5737, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5749, Generating acc routine seq Generating NVIDIA GPU code _hash: 5781, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5822, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5833, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5838, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5846, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5854, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5861, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6541, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6578, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6638, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6655, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6770, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6825, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7853, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7921, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8000, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8468, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8484, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8502, Generating acc routine seq Generating NVIDIA GPU code off_F: 8760, Generating acc routine seq Generating NVIDIA GPU code off_sign: 8765, Generating acc routine seq Generating NVIDIA GPU code off_normal: 8775, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 8801, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 8864, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 8995, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 9040, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 9157, Generating acc routine seq Generating NVIDIA GPU code off_compare: 9275, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 9287, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 9322, Generating acc routine seq Generating NVIDIA GPU code Min_int: 9573, Generating acc routine seq Generating NVIDIA GPU code merge: 9580, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 9684, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 9699, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 9753, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 9870, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 9892, Generating acc routine seq Generating NVIDIA GPU code init: 12256, Generating update device(_Lmon_var,_Sample_var,_polariser_var,_instrument_var,_Divmon_var,_A4_var,_PSD4PImon_var,_A4180_var,_A3_var,_PSDmon_var,_PSD4PImon_spin_var,_Origin_var,_Source_var) class_Progress_bar_trace: 12299, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 12389, Generating acc routine seq Generating NVIDIA GPU code class_Set_pol_trace: 12492, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 12553, Generating acc routine seq Generating NVIDIA GPU code class_Divergence_monitor_trace: 12626, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 12716, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 13203, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_spin_trace: 13281, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 13723, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 13727, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 13723, Local memory used for .inl_.inl_mcneutron_0_15092,.inl_particle_15077,.inl_.X2129_15094,.inl_.inl_.X2334_15_15093 13727, Generating implicit firstprivate(seed,_particle) 13737, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 13742, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 13737, Local memory used for .inl_.inl_c_1921_15367,.inl_.inl_.inl_b_1895_1927_15372,.inl_.inl_.inl_.X2299_1894_1926_15371,.inl_.inl_b_1917_15366,.inl_.inl_c_1910_15356,.inl_.inl_.inl_b_1895_1916_15361,.inl_.inl_.inl_.X2299_1894_1915_15360,.inl_.inl_b_1906_15355,.inl_.inl_.X2283_1905_15350,.inl_.inl_c_1902_15349,.inl_c_15380,.inl_.inl_b_1901_15347,.inl_.inl_.X2299_1900_15346,.inl_b_15339,.inl_.X2282_15338,.inl_.X2283_15333,.inl_c_15341,.inl_.X2281_15329,.inl_a_15325,.inl_.inl_c_1921_15317,.inl_.inl_.inl_b_1895_1927_15322,.inl_.inl_.inl_.X2299_1894_1926_15321,.inl_.inl_b_1917_15316,.inl_.inl_c_1910_15306,.inl_.inl_.inl_b_1895_1916_15311,.inl_.inl_.inl_.X2299_1894_1915_15310,.inl_.inl_b_1906_15305,.inl_.inl_.X2283_1905_15300,.inl_.inl_c_1902_15299,.inl_c_15330,.inl_.inl_b_1901_15297,.inl_.inl_.X2299_1900_15296,.inl_b_15289,.inl_.X2282_15288,.inl_.X2283_15283,.inl_c_15291,.inl_.X2281_15279,.inl_a_15275,.inl_.inl_c_1921_15243,.inl_.inl_.inl_b_1895_1927_15248,.inl_.inl_.inl_.X2299_1894_1926_15247,.inl_.inl_b_1917_15242,.inl_.inl_c_1910_15232,.inl_.inl_.inl_b_1895_1916_15237,.inl_.inl_.inl_.X2299_1894_1915_15236,.inl_.inl_b_1906_15231,.inl_.inl_.X2283_1905_15226,.inl_.inl_c_1902_15225,.inl_c_15280,.inl_.inl_b_1901_15223,.inl_.inl_.X2299_1900_15222,.inl_b_15215,.inl_.X2282_15214,.inl_.X2283_15209,.inl_c_15217,.inl_.X2281_15205,.inl_a_15201,.inl_.inl_c_1921_15193,.inl_.inl_.inl_b_1895_1927_15198,.inl_.inl_.inl_.X2299_1894_1926_15197,.inl_.inl_b_1917_15192,.inl_.inl_c_1910_15182,.inl_.inl_.inl_b_1895_1916_15187,.inl_.inl_.inl_.X2299_1894_1915_15186,.inl_.inl_b_1906_15181,.inl_.inl_.X2283_1905_15176,.inl_.inl_c_1902_15175,.inl_c_15206,.inl_.inl_b_1901_15173,.inl_.inl_.X2299_1900_15172,.inl_b_15165,.inl_.X2282_15164,.inl_.X2283_15159,.inl_c_15167,.inl_.X2281_15155,.inl_a_15151,.inl_.inl_c_1921_15141,.inl_.inl_.inl_b_1895_1927_15146,.inl_.inl_.inl_.X2299_1894_1926_15145,.inl_.inl_b_1917_15140,.inl_.inl_c_1910_15130,.inl_.inl_.inl_b_1895_1916_15135,.inl_.inl_.inl_.X2299_1894_1915_15134,.inl_.inl_b_1906_15129,.inl_.inl_.X2283_1905_15124,.inl_.inl_c_1902_15123,.inl_c_15156,.inl_.inl_b_1901_15121,.inl_.inl_.X2299_1900_15120,.inl_b_15113,.inl_.X2282_15112,.inl_.X2283_15107,.inl_c_15115,.inl_.X2281_15103,.inl_a_15099,_particle_save,.inl_c_15391,.inl_.inl_c_1910_15406,.inl_.inl_.inl_b_1895_1916_15411,.inl_.inl_.inl_.X2299_1894_1915_15410,.inl_.inl_b_1906_15405,.inl_.inl_c_1902_15399,.inl_.inl_.inl_.X2299_1894_1926_15421,.inl_.inl_.X2299_1900_15396,.inl_.inl_b_1901_15397,.inl_.X2283_15383,.inl_.inl_b_1917_15416,.inl_c_15104,.inl_.inl_.inl_b_1895_1927_15422,.inl_.inl_.X2283_1905_15400,.inl_a_15375,.inl_.X2281_15379,.inl_.X2282_15388,.inl_b_15389,.inl_.inl_c_1921_15417 13874, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 13877, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 13874, Local memory used for .inl_.inl_.X2281_6664_15622,.inl_c_15565,.inl_.inl_b_1917_15590,.inl_.inl_.X2299_1900_15570,.inl_.X2283_15557,.inl_.inl_.inl_b_1895_1927_15596,.inl_.inl_c_1921_15517,.inl_.inl_.inl_b_1895_1927_15522,.inl_.inl_.inl_.X2299_1894_1926_15521,.inl_.inl_b_1917_15516,.inl_.inl_c_1910_15506,.inl_.inl_.inl_b_1895_1916_15511,.inl_.inl_.inl_.X2299_1894_1915_15510,.inl_.inl_b_1906_15505,.inl_.inl_.X2283_1905_15500,.inl_.inl_c_1902_15499,.inl_c_15554,.inl_.inl_b_1901_15497,.inl_.inl_.X2299_1900_15496,.inl_b_15489,.inl_.X2282_15488,.inl_.X2283_15483,.inl_c_15491,.inl_.X2281_15479,.inl_a_15475,_particle_save,.inl_mcLocG_15616,.inl_.inl_c_1910_15580,.inl_.inl_.inl_b_1895_1916_15585,.inl_.inl_.inl_.X2299_1894_1915_15584,.inl_.inl_b_1906_15579,.inl_.inl_c_1902_15573,.inl_.inl_.inl_.X2299_1894_1926_15595,.inl_.inl_.X2299_6669_15626,.inl_.inl_b_1901_15571,.inl_.inl_.X2282_6675_15635,.inl_.inl_b_6670_15627,.inl_c_15480,.inl_.inl_a_6660_15621,.inl_.inl_.X2283_1905_15574,.inl_a_15549,.inl_.X2281_15553,.inl_.X2282_15562,.inl_b_15563,.inl_.inl_c_1921_15591 finally: 14593, Generating update self(_Lmon_var,_Sample_var,_instrument_var,_polariser_var,_Divmon_var,_A4_var,_PSD4PImon_var,_A4180_var,_A3_var,_PSDmon_var,_PSD4PImon_spin_var,_Origin_var,_Source_var) mcenabletrace: 5981, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===