INFO: No output directory specified (--dir) INFO: Using directory: "Bispectral_20260921_045943" INFO: Regenerating c-file: Bispectral.c DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas -t -o ./Bispectral.c Bispectral.instr Warning: DECLARE block contains 1 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= @NCRYSTALFLAGS@ -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component master is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component master -> GPU kernel from component stop ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas finished INFO: Recompiling: ./Bispectral.out --> launching cmd: ncrystal-config --show buildflags DEBUG: CMD: nvc -o ./Bispectral.out ./Bispectral.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/WORK/micromamba/envs/mcstas-3.x/lib -Wl,-rpath-link,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include -I/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -DUSE_MPI -lmpi -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -Wl,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib/libNCrystal.so -I/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include -DFUNNEL "./Bispectral.c", line 90: 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 " "./Bispectral.c", line 92: 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, ^ "./Bispectral.c", line 95: 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, ^ "./Bispectral.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); ^ "./Bispectral.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); ^ "./Bispectral.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); ^ "./Bispectral.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); ^ "./Bispectral.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*); ^ "./Bispectral.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); ^ "./Bispectral.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); ^ "./Bispectral.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){ ^ "./Bispectral.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){ ^ "./Bispectral.c", line 291: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./Bispectral.c", line 293: 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); ^ "./Bispectral.c", line 644: 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 */ ^ "./Bispectral.c", line 871: 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); ^ "./Bispectral.c", line 888: 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); ^ "./Bispectral.c", line 890: 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]); ^ "./Bispectral.c", line 898: 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); ^ "./Bispectral.c", line 900: 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); ^ "./Bispectral.c", line 902: 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); ^ "./Bispectral.c", line 904: 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); ^ "./Bispectral.c", line 906: 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); ^ "./Bispectral.c", line 909: warning: Routine "_rand01_opague" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01_opague(void* state); ^ "./Bispectral.c", line 1005: 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); ^ "./Bispectral.c", line 1007: 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); ^ "./Bispectral.c", line 1009: 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); ^ "./Bispectral.c", line 1011: 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); ^ "./Bispectral.c", line 1013: 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); ^ "./Bispectral.c", line 1015: 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); ^ "./Bispectral.c", line 1017: 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); ^ "./Bispectral.c", line 1019: 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); ^ "./Bispectral.c", line 1021: 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); ^ "./Bispectral.c", line 4203: warning: variable "exists" was set but never used [set_but_not_used] int exists=0; ^ "./Bispectral.c", line 4661: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Bispectral.c", line 5116: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Bispectral.c", line 5035: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Bispectral.c", line 6377: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Bispectral.c", line 7182: warning: incompatible redefinition of macro "exit" (declared at line 623) [bad_macro_redef] #define exit(...) noprintf() ^ "./Bispectral.c", line 7466: warning: statement is unreachable [code_is_unreachable] return 1; ^ "./Bispectral.c", line 9462: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Bispectral.c", line 10016: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Bispectral.c", line 10039: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Bispectral.c", line 10556: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Bispectral.c", line 10557: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Bispectral.c", line 10558: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Bispectral.c", line 10780: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Bispectral.c", line 10836: warning: variable "rotated_nx" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 10836: warning: variable "rotated_ny" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 10836: warning: variable "rotated_nz" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 11057: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Bispectral.c", line 11340: warning: variable "radius_top" was declared but never referenced [declared_but_not_referenced] double radius_top = geometry->geometry_parameters.p_cone_storage->cone_radius_top; ^ "./Bispectral.c", line 11341: warning: variable "radius_bottom" was declared but never referenced [declared_but_not_referenced] double radius_bottom = geometry->geometry_parameters.p_cone_storage->cone_radius_bottom; ^ "./Bispectral.c", line 11418: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Bispectral.c", line 11511: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Bispectral.c", line 11541: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Bispectral.c", line 11790: warning: variable "rotated_coordinates" was declared but never referenced [declared_but_not_referenced] Coords rotated_coordinates; ^ "./Bispectral.c", line 11956: warning: variable "y" was set but never used [set_but_not_used] double x, y, z, dt; ^ "./Bispectral.c", line 12011: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12088: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12299: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12397: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Bispectral.c", line 12588: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12786: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 12787: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 12996: warning: variable "verts" was declared but never referenced [declared_but_not_referenced] Coords *verts = geometry1->geometry_parameters.p_mesh_storage->vertices; ^ "./Bispectral.c", line 13021: warning: variable "verts" was declared but never referenced [declared_but_not_referenced] Coords *verts = geometry2->geometry_parameters.p_mesh_storage->vertices; ^ "./Bispectral.c", line 13412: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 13413: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 13672: warning: variable "is_rectangle" was declared but never referenced [declared_but_not_referenced] int is_rectangle = geometry_box->geometry_parameters.p_box_storage->is_rectangle; ^ "./Bispectral.c", line 13677: warning: variable "y_height2" was declared but never referenced [declared_but_not_referenced] double y_height2 = geometry_box->geometry_parameters.p_box_storage->y_height2; ^ "./Bispectral.c", line 13678: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry_box->geometry_parameters.p_box_storage->x_vector; ^ "./Bispectral.c", line 13679: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry_box->geometry_parameters.p_box_storage->y_vector; ^ "./Bispectral.c", line 13686: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 13687: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 13810: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Bispectral.c", line 14104: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Bispectral.c", line 14170: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 14357: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Bispectral.c", line 14360: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Bispectral.c", line 14503: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Bispectral.c", line 14506: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Bispectral.c", line 15481: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Bispectral.c", line 15384: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Bispectral.c", line 15703: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,parent,mask_index,masked_volume_index,ANY_logic,true_parent_volume_number; ^ "./Bispectral.c", line 15897: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Bispectral.c", line 16040: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Bispectral.c", line 16443: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Bispectral.c", line 17323: 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 */ ^ "./Bispectral.c", line 17325: 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 */ ^ "./Bispectral.c", line 17332: 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 */ ^ "./Bispectral.c", line 17352: 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); ^ "./Bispectral.c", line 17354: 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); ^ "./Bispectral.c", line 17356: 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, ^ "./Bispectral.c", line 20309: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20297: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Bispectral.c", line 20354: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Bispectral.c", line 20444: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Bispectral.c", line 20493: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Bispectral.c", line 20546: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20542: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Bispectral.c", line 20602: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20588: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Bispectral.c", line 20666: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20647: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Bispectral.c", line 20730: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20716: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Bispectral.c", line 20794: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20775: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Bispectral.c", line 20859: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20844: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Bispectral.c", line 20923: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20908: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Bispectral.c", line 20972: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Bispectral.c", line 21089: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Bispectral.c", line 21215: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Bispectral.c", line 21335: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Bispectral.c", line 21455: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Bispectral.c", line 21575: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Bispectral.c", line 21695: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Bispectral.c", line 21815: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Bispectral.c", line 21935: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./Bispectral.c", line 22055: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./Bispectral.c", line 22175: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./Bispectral.c", line 22295: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./Bispectral.c", line 22415: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./Bispectral.c", line 22535: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./Bispectral.c", line 22655: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./Bispectral.c", line 22795: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22775: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./Bispectral.c", line 22852: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22849: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./Bispectral.c", line 22894: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./Bispectral.c", line 22979: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./Bispectral.c", line 23054: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./Bispectral.c", line 23245: warning: variable "sign_bl_angle" was set but never used [set_but_not_used] int sign_bl_angle; ^ "./Bispectral.c", line 23253: warning: variable "sin_beamport_angle" was set but never used [set_but_not_used] double cos_beamport_angle, sin_beamport_angle; ^ "./Bispectral.c", line 25899: 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 ^ "./Bispectral.c", line 25978: warning: Routine "class_ESS_butterfly_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_ESS_butterfly_trace(_class_ESS_butterfly *_comp ^ "./Bispectral.c", line 26061: warning: variable "z0" was set but never used [set_but_not_used] double x0, z0; ^ "./Bispectral.c", line 26062: warning: variable "surf_sign" was set but never used [set_but_not_used] int surf_sign; ^ "./Bispectral.c", line 26270: warning: Routine "class_NCrystal_process_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_NCrystal_process_trace(_class_NCrystal_process *_comp ^ "./Bispectral.c", line 26312: warning: Routine "class_Mirror_surface_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Mirror_surface_trace(_class_Mirror_surface *_comp ^ "./Bispectral.c", line 27075: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Bispectral.c", line 28160: warning: variable "q_qc_quadratic_diff" was declared but never referenced [declared_but_not_referenced] double q_qc_quadratic_diff; ^ "./Bispectral.c", line 28192: warning: variable "theta2" was set but never used [set_but_not_used] double theta1, theta2; ^ "./Bispectral.c", line 26529: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Bispectral.c", line 26534: warning: variable "sampling_mus" was declared but never referenced [declared_but_not_referenced] double* sampling_mus; ^ "./Bispectral.c", line 28738: warning: Routine "class_DivLambda_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_DivLambda_monitor_trace(_class_DivLambda_monitor *_comp ^ "./Bispectral.c", line 28766: warning: variable "v" was declared but never referenced [declared_but_not_referenced] double v, vn; ^ "./Bispectral.c", line 28833: 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 ^ "./Bispectral.c", line 28904: 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 ^ "./Bispectral.c", line 31990: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Bispectral.c", line 31991: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Bispectral.c", line 1524: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Bispectral.c", line 2998: 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: 1573, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1577, Generating acc routine seq Generating NVIDIA GPU code str_len: 1586, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4279, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4713, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4724, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4733, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4745, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4757, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4767, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4777, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4785, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4795, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4817, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4824, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4870, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4905, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4916, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4933, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4944, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4960, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4989, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 5000, Generating acc routine seq Generating NVIDIA GPU code norm_func: 5004, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5039, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5046, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5055, #pragma acc loop seq 5039, Generating implicit copy(lens[:]) [if not already present] 5046, Generating implicit firstprivate(ll,l) 5057, Accelerator restriction: induction variable live-out from loop: i 5058, Accelerator restriction: induction variable live-out from loop: i 5059, Accelerator restriction: induction variable live-out from loop: i 5060, Accelerator restriction: induction variable live-out from loop: i 5062, Accelerator restriction: induction variable live-out from loop: j 5063, Accelerator restriction: induction variable live-out from loop: j 5064, Accelerator restriction: induction variable live-out from loop: j 5065, Accelerator restriction: induction variable live-out from loop: j 5087, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5091, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5094, #pragma acc loop seq 5087, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5094, Generating implicit firstprivate(l) 5111, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5115, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5122, #pragma acc loop seq 5111, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5181, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5212, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5229, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5328, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5412, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5478, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5555, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5827, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5839, Generating acc routine seq Generating NVIDIA GPU code _hash: 5871, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5912, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5923, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5928, Generating acc routine seq Generating NVIDIA GPU code _rand01_opague: 5935, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5946, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5954, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5961, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6646, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6686, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6760, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6777, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6892, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6947, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_spectrum: 7186, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_spectrum: 7213, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_cold_y0: 7227, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_thermal_y0: 7239, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_cold_x0: 7246, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal: 7271, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold: 7298, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_y0: 7323, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_y0: 7334, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_x0: 7345, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_x0: 7390, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_Y: 7441, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_Y: 7448, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_Theta120: 7455, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_Theta120: 7462, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_timedist: 7472, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_timedist: 7482, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 18133, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 18201, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 18280, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 18748, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 18764, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 18782, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 18892, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 18951, Generating acc routine seq Generating NVIDIA GPU code init: 25857, Generating update device(_Cu_var,_Si_var,_Source_var,_Vacuum_box_var,_focus_center_var,_Cu_box_var,_Cu_total_var,_Origin_var,_Si_total_var,_instrument_var,_m2_mirror_var,_Start_of_bi_var,_monitor_PSD_var,_si_blade_12_var,_si_blade_1_var,_si_blade_2_var,_si_blade_3_var,_si_blade_4_var,_si_blade_5_var,_si_blade_6_var,_si_blade_7_var,_si_blade_8_var,_si_blade_0_var,_si_blade_10_var,_si_blade_11_var,_m4_mirror_var,_stop_var,_si_blade_9_var,_master_var,_monitor_Div_L_var,_monitor_L_var,_init_var) class_Progress_bar_trace: 25900, Generating acc routine seq Generating NVIDIA GPU code class_ESS_butterfly_trace: 25979, Generating acc routine seq Generating NVIDIA GPU code class_NCrystal_process_trace: 26271, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_surface_trace: 26313, Generating acc routine seq Generating NVIDIA GPU code class_DivLambda_monitor_trace: 28739, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 28834, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 28905, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 29451, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 29455, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 29455, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 29464, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 29469, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 29464, Local memory used for .inl_.inl_c_1985_34953,.inl_.inl_.inl_b_1959_1991_34958,.inl_.inl_.inl_.X3147_1958_1990_34957,.inl_.inl_b_1981_34952,.inl_.inl_c_1974_34942,.inl_.inl_.inl_b_1959_1980_34947,.inl_.inl_.inl_.X3147_1958_1979_34946,.inl_.inl_b_1970_34941,.inl_.inl_.X3131_1969_34936,.inl_.inl_c_1966_34935,.inl_c_34968,.inl_.inl_b_1965_34933,.inl_.inl_.X3147_1964_34932,.inl_b_34925,.inl_.X3130_34924,.inl_.X3131_34919,.inl_c_34927,.inl_.X3129_34915,.inl_a_34911,.inl_.inl_c_1985_34901,.inl_.inl_.inl_b_1959_1991_34906,.inl_.inl_.inl_.X3147_1958_1990_34905,.inl_.inl_b_1981_34900,.inl_.inl_c_1974_34890,.inl_.inl_.inl_b_1959_1980_34895,.inl_.inl_.inl_.X3147_1958_1979_34894,.inl_.inl_b_1970_34889,.inl_.inl_.X3131_1969_34884,.inl_.inl_c_1966_34883,.inl_c_34916,.inl_.inl_b_1965_34881,.inl_.inl_.X3147_1964_34880,.inl_b_34873,.inl_.X3130_34872,.inl_.X3131_34867,.inl_c_34875,.inl_.X3129_34863,.inl_a_34859,.inl_.inl_c_1985_34849,.inl_.inl_.inl_b_1959_1991_34854,.inl_.inl_.inl_.X3147_1958_1990_34853,.inl_.inl_b_1981_34848,.inl_.inl_c_1974_34838,.inl_.inl_.inl_b_1959_1980_34843,.inl_.inl_.inl_.X3147_1958_1979_34842,.inl_.inl_b_1970_34837,.inl_.inl_.X3131_1969_34832,.inl_.inl_c_1966_34831,.inl_c_34864,.inl_.inl_b_1965_34829,.inl_.inl_.X3147_1964_34828,.inl_b_34821,.inl_.X3130_34820,.inl_.X3131_34815,.inl_c_34823,.inl_.X3129_34811,.inl_a_34807,.inl_.inl_c_1985_34799,.inl_.inl_.inl_b_1959_1991_34804,.inl_.inl_.inl_.X3147_1958_1990_34803,.inl_.inl_b_1981_34798,.inl_.inl_c_1974_34788,.inl_.inl_.inl_b_1959_1980_34793,.inl_.inl_.inl_.X3147_1958_1979_34792,.inl_.inl_b_1970_34787,.inl_.inl_.X3131_1969_34782,.inl_.inl_c_1966_34781,.inl_c_34812,.inl_.inl_b_1965_34779,.inl_.inl_.X3147_1964_34778,.inl_b_34771,.inl_.X3130_34770,.inl_.X3131_34765,.inl_c_34773,.inl_.X3129_34761,.inl_a_34757,.inl_.inl_c_1985_34747,.inl_.inl_.inl_b_1959_1991_34752,.inl_.inl_.inl_.X3147_1958_1990_34751,.inl_.inl_b_1981_34746,.inl_.inl_c_1974_34736,.inl_.inl_.inl_b_1959_1980_34741,.inl_.inl_.inl_.X3147_1958_1979_34740,.inl_.inl_b_1970_34735,.inl_.inl_.X3131_1969_34730,.inl_.inl_c_1966_34729,.inl_c_34762,.inl_.inl_b_1965_34727,.inl_.inl_.X3147_1964_34726,.inl_b_34719,.inl_.X3130_34718,.inl_.X3131_34713,.inl_c_34721,.inl_.X3129_34709,.inl_a_34705,_particle_save,.inl_c_34979,.inl_.inl_c_1974_34994,.inl_.inl_.inl_b_1959_1980_34999,.inl_.inl_.inl_.X3147_1958_1979_34998,.inl_.inl_b_1970_34993,.inl_.inl_c_1966_34987,.inl_.inl_.inl_.X3147_1958_1990_35009,.inl_.inl_.X3147_1964_34984,.inl_.inl_b_1965_34985,.inl_.X3131_34971,.inl_.inl_b_1981_35004,.inl_c_34710,.inl_.inl_.inl_b_1959_1991_35010,.inl_.inl_.X3131_1969_34988,.inl_a_34963,.inl_.X3129_34967,.inl_.X3130_34976,.inl_b_34977,.inl_.inl_c_1985_35005 29686, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 29689, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 29686, Local memory used for .inl_.inl_c_1985_35157,.inl_.inl_.inl_b_1959_1991_35162,.inl_.inl_.inl_.X3147_1958_1990_35161,.inl_.inl_b_1981_35156,.inl_.inl_c_1974_35146,.inl_.inl_.inl_b_1959_1980_35151,.inl_.inl_.inl_.X3147_1958_1979_35150,.inl_.inl_b_1970_35145,.inl_.inl_.X3131_1969_35140,.inl_.inl_c_1966_35139,.inl_c_35170,.inl_.inl_b_1965_35137,.inl_.inl_.X3147_1964_35136,.inl_b_35129,.inl_.X3130_35128,.inl_.X3131_35123,.inl_c_35131,.inl_.X3129_35119,.inl_a_35115,.inl_.inl_c_1985_35107,.inl_.inl_.inl_b_1959_1991_35112,.inl_.inl_.inl_.X3147_1958_1990_35111,.inl_.inl_b_1981_35106,.inl_.inl_c_1974_35096,.inl_.inl_.inl_b_1959_1980_35101,.inl_.inl_.inl_.X3147_1958_1979_35100,.inl_.inl_b_1970_35095,.inl_.inl_.X3131_1969_35090,.inl_.inl_c_1966_35089,.inl_c_35120,.inl_.inl_b_1965_35087,.inl_.inl_.X3147_1964_35086,.inl_b_35079,.inl_.X3130_35078,.inl_.X3131_35073,.inl_c_35081,.inl_.X3129_35069,.inl_a_35065,_particle_save,.inl_c_35181,.inl_.inl_c_1974_35196,.inl_.inl_.inl_b_1959_1980_35201,.inl_.inl_.inl_.X3147_1958_1979_35200,.inl_.inl_b_1970_35195,.inl_.inl_c_1966_35189,.inl_.inl_.inl_.X3147_1958_1990_35211,.inl_.inl_.X3147_1964_35186,.inl_.inl_b_1965_35187,.inl_.X3131_35173,.inl_.inl_b_1981_35206,.inl_c_35070,.inl_.inl_.inl_b_1959_1991_35212,.inl_.inl_.X3131_1969_35190,.inl_a_35165,.inl_.X3129_35169,.inl_.X3130_35178,.inl_b_35179,.inl_.inl_c_1985_35207 finally: 30878, Generating update self(_Cu_var,_Si_var,_Source_var,_Vacuum_box_var,_focus_center_var,_Cu_box_var,_Cu_total_var,_Origin_var,_Si_total_var,_instrument_var,_m2_mirror_var,_Start_of_bi_var,_monitor_PSD_var,_si_blade_12_var,_si_blade_1_var,_si_blade_2_var,_si_blade_3_var,_si_blade_4_var,_si_blade_5_var,_si_blade_6_var,_si_blade_7_var,_si_blade_8_var,_si_blade_0_var,_si_blade_10_var,_si_blade_11_var,_m4_mirror_var,_si_blade_9_var,_stop_var,_master_var,_monitor_Div_L_var,_monitor_L_var,_init_var) mcenabletrace: 6082, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===