INFO: No output directory specified (--dir) INFO: Using directory: "Bispectral_20261009_050744" 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 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 4805: warning: variable "exists" was set but never used [set_but_not_used] int exists=0; ^ "./Bispectral.c", line 5263: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Bispectral.c", line 5717: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Bispectral.c", line 5636: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Bispectral.c", line 7775: warning: incompatible redefinition of macro "exit" (declared at line 623) [bad_macro_redef] #define exit(...) noprintf() ^ "./Bispectral.c", line 8059: warning: statement is unreachable [code_is_unreachable] return 1; ^ "./Bispectral.c", line 10857: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Bispectral.c", line 11384: 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 11407: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Bispectral.c", line 11801: 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 11802: 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 11803: 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 12025: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Bispectral.c", line 12081: warning: variable "rotated_nx" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 12081: warning: variable "rotated_ny" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 12081: warning: variable "rotated_nz" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 12302: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Bispectral.c", line 12585: 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 12586: 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 12644: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Bispectral.c", line 12726: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Bispectral.c", line 12756: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Bispectral.c", line 12999: warning: variable "rotated_coordinates" was declared but never referenced [declared_but_not_referenced] Coords rotated_coordinates; ^ "./Bispectral.c", line 13161: warning: variable "y" was set but never used [set_but_not_used] double x, y, z, dt; ^ "./Bispectral.c", line 13216: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 13291: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 13502: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 13600: 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 13791: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 13989: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 13990: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 14199: warning: variable "verts" was declared but never referenced [declared_but_not_referenced] Coords *verts = geometry1->geometry_parameters.p_mesh_storage->vertices; ^ "./Bispectral.c", line 14224: warning: variable "verts" was declared but never referenced [declared_but_not_referenced] Coords *verts = geometry2->geometry_parameters.p_mesh_storage->vertices; ^ "./Bispectral.c", line 14612: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 14613: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 14872: 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 14877: 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 14878: 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 14879: 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 14886: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 14887: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 15010: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Bispectral.c", line 15310: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Bispectral.c", line 15376: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 15556: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Bispectral.c", line 15559: 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 15702: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Bispectral.c", line 15705: 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 16676: 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 16579: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Bispectral.c", line 16898: 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 17091: 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 17234: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Bispectral.c", line 17635: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Bispectral.c", line 19109: 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 19111: 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 19118: 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 19138: 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 19140: 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 19142: 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 21937: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 21925: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Bispectral.c", line 21982: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Bispectral.c", line 22072: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Bispectral.c", line 22121: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Bispectral.c", line 22173: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22170: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Bispectral.c", line 22229: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22215: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Bispectral.c", line 22293: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22274: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Bispectral.c", line 22357: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22343: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Bispectral.c", line 22421: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22402: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Bispectral.c", line 22486: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22471: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Bispectral.c", line 22550: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22535: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Bispectral.c", line 22599: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Bispectral.c", line 22716: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Bispectral.c", line 22842: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Bispectral.c", line 22962: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Bispectral.c", line 23082: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Bispectral.c", line 23202: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Bispectral.c", line 23322: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Bispectral.c", line 23442: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Bispectral.c", line 23562: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./Bispectral.c", line 23682: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./Bispectral.c", line 23802: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./Bispectral.c", line 23922: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./Bispectral.c", line 24042: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./Bispectral.c", line 24162: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./Bispectral.c", line 24282: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./Bispectral.c", line 24422: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 24402: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./Bispectral.c", line 24479: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 24476: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./Bispectral.c", line 24521: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./Bispectral.c", line 24606: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./Bispectral.c", line 24681: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./Bispectral.c", line 24881: warning: variable "sign_bl_angle" was set but never used [set_but_not_used] int sign_bl_angle; ^ "./Bispectral.c", line 24889: warning: variable "sin_beamport_angle" was set but never used [set_but_not_used] double cos_beamport_angle, sin_beamport_angle; ^ "./Bispectral.c", line 27404: 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 27483: 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 27575: warning: variable "z0" was set but never used [set_but_not_used] double x0, z0; ^ "./Bispectral.c", line 27576: warning: variable "surf_sign" was set but never used [set_but_not_used] int surf_sign; ^ "./Bispectral.c", line 27804: 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 27846: 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 28609: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Bispectral.c", line 29531: warning: variable "surface_output" was set but never used [set_but_not_used] int surface_output; ^ "./Bispectral.c", line 29698: warning: variable "q_qc_quadratic_diff" was declared but never referenced [declared_but_not_referenced] double q_qc_quadratic_diff; ^ "./Bispectral.c", line 29730: warning: variable "theta2" was set but never used [set_but_not_used] double theta1, theta2; ^ "./Bispectral.c", line 28063: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Bispectral.c", line 28068: warning: variable "sampling_mus" was declared but never referenced [declared_but_not_referenced] double* sampling_mus; ^ "./Bispectral.c", line 30277: 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 30305: warning: variable "v" was declared but never referenced [declared_but_not_referenced] double v, vn; ^ "./Bispectral.c", line 30372: 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 30443: 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 33577: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Bispectral.c", line 33578: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Bispectral.c", line 1552: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ 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: 1601, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1605, Generating acc routine seq Generating NVIDIA GPU code str_len: 1614, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4881, Generating acc routine seq Generating NVIDIA GPU code coords_set: 5315, Generating acc routine seq Generating NVIDIA GPU code coords_get: 5326, Generating acc routine seq Generating NVIDIA GPU code coords_add: 5335, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 5347, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 5359, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 5369, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 5379, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 5387, Generating acc routine seq Generating NVIDIA GPU code coords_len: 5397, Generating acc routine seq Generating NVIDIA GPU code coords_print: 5419, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 5426, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 5472, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 5507, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 5518, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 5535, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 5546, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 5562, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 5591, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 5602, Generating acc routine seq Generating NVIDIA GPU code norm_func: 5606, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5640, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5647, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5656, #pragma acc loop seq 5640, Generating implicit copy(lens[:]) [if not already present] 5647, Generating implicit firstprivate(ll,l) 5658, Accelerator restriction: induction variable live-out from loop: i 5659, Accelerator restriction: induction variable live-out from loop: i 5660, Accelerator restriction: induction variable live-out from loop: i 5661, Accelerator restriction: induction variable live-out from loop: i 5663, Accelerator restriction: induction variable live-out from loop: j 5664, Accelerator restriction: induction variable live-out from loop: j 5665, Accelerator restriction: induction variable live-out from loop: j 5666, Accelerator restriction: induction variable live-out from loop: j 5688, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5692, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5695, #pragma acc loop seq 5688, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5695, Generating implicit firstprivate(l) 5712, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5716, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5723, #pragma acc loop seq 5712, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5782, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5813, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5830, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5929, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 6013, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 6079, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 6156, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 6428, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 6440, Generating acc routine seq Generating NVIDIA GPU code _hash: 6472, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 6513, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 6524, Generating acc routine seq Generating NVIDIA GPU code _rand01: 6529, Generating acc routine seq Generating NVIDIA GPU code _rand01_opague: 6536, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 6547, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 6555, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 6562, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 7239, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 7279, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 7353, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 7370, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 7485, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 7540, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_spectrum: 7779, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_spectrum: 7806, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_cold_y0: 7820, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_thermal_y0: 7832, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_cold_x0: 7839, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal: 7864, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold: 7891, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_y0: 7916, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_y0: 7927, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_x0: 7938, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_x0: 7983, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_Y: 8034, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_Y: 8041, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_Theta120: 8048, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_Theta120: 8055, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_timedist: 8065, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_timedist: 8075, Generating acc routine seq Generating NVIDIA GPU code mccode_eval_ncrystal_xstable: 18569, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 19917, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 19985, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 20064, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 20555, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 20571, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 20589, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 20699, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 20758, Generating acc routine seq Generating NVIDIA GPU code init: 27362, 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: 27405, Generating acc routine seq Generating NVIDIA GPU code class_ESS_butterfly_trace: 27484, Generating acc routine seq Generating NVIDIA GPU code class_NCrystal_process_trace: 27805, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_surface_trace: 27847, Generating acc routine seq Generating NVIDIA GPU code class_DivLambda_monitor_trace: 30278, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 30373, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 30444, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 30990, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 30994, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 30994, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 31003, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 31008, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 31003, Local memory used for .inl_.inl_c_2324_36141,.inl_.inl_.inl_b_2298_2330_36146,.inl_.inl_.inl_.X3182_2297_2329_36145,.inl_.inl_b_2320_36140,.inl_.inl_c_2313_36130,.inl_.inl_.inl_b_2298_2319_36135,.inl_.inl_.inl_.X3182_2297_2318_36134,.inl_.inl_b_2309_36129,.inl_.inl_.X3166_2308_36124,.inl_.inl_c_2305_36123,.inl_c_36156,.inl_.inl_b_2304_36121,.inl_.inl_.X3182_2303_36120,.inl_b_36113,.inl_.X3165_36112,.inl_.X3166_36107,.inl_c_36115,.inl_.X3164_36103,.inl_a_36099,.inl_.inl_c_2324_36089,.inl_.inl_.inl_b_2298_2330_36094,.inl_.inl_.inl_.X3182_2297_2329_36093,.inl_.inl_b_2320_36088,.inl_.inl_c_2313_36078,.inl_.inl_.inl_b_2298_2319_36083,.inl_.inl_.inl_.X3182_2297_2318_36082,.inl_.inl_b_2309_36077,.inl_.inl_.X3166_2308_36072,.inl_.inl_c_2305_36071,.inl_c_36104,.inl_.inl_b_2304_36069,.inl_.inl_.X3182_2303_36068,.inl_b_36061,.inl_.X3165_36060,.inl_.X3166_36055,.inl_c_36063,.inl_.X3164_36051,.inl_a_36047,.inl_.inl_c_2324_36037,.inl_.inl_.inl_b_2298_2330_36042,.inl_.inl_.inl_.X3182_2297_2329_36041,.inl_.inl_b_2320_36036,.inl_.inl_c_2313_36026,.inl_.inl_.inl_b_2298_2319_36031,.inl_.inl_.inl_.X3182_2297_2318_36030,.inl_.inl_b_2309_36025,.inl_.inl_.X3166_2308_36020,.inl_.inl_c_2305_36019,.inl_c_36052,.inl_.inl_b_2304_36017,.inl_.inl_.X3182_2303_36016,.inl_b_36009,.inl_.X3165_36008,.inl_.X3166_36003,.inl_c_36011,.inl_.X3164_35999,.inl_a_35995,.inl_.inl_c_2324_35987,.inl_.inl_.inl_b_2298_2330_35992,.inl_.inl_.inl_.X3182_2297_2329_35991,.inl_.inl_b_2320_35986,.inl_.inl_c_2313_35976,.inl_.inl_.inl_b_2298_2319_35981,.inl_.inl_.inl_.X3182_2297_2318_35980,.inl_.inl_b_2309_35975,.inl_.inl_.X3166_2308_35970,.inl_.inl_c_2305_35969,.inl_c_36000,.inl_.inl_b_2304_35967,.inl_.inl_.X3182_2303_35966,.inl_b_35959,.inl_.X3165_35958,.inl_.X3166_35953,.inl_c_35961,.inl_.X3164_35949,.inl_a_35945,.inl_.inl_c_2324_35935,.inl_.inl_.inl_b_2298_2330_35940,.inl_.inl_.inl_.X3182_2297_2329_35939,.inl_.inl_b_2320_35934,.inl_.inl_c_2313_35924,.inl_.inl_.inl_b_2298_2319_35929,.inl_.inl_.inl_.X3182_2297_2318_35928,.inl_.inl_b_2309_35923,.inl_.inl_.X3166_2308_35918,.inl_.inl_c_2305_35917,.inl_c_35950,.inl_.inl_b_2304_35915,.inl_.inl_.X3182_2303_35914,.inl_b_35907,.inl_.X3165_35906,.inl_.X3166_35901,.inl_c_35909,.inl_.X3164_35897,.inl_a_35893,_particle_save,.inl_c_36167,.inl_.inl_c_2313_36182,.inl_.inl_.inl_b_2298_2319_36187,.inl_.inl_.inl_.X3182_2297_2318_36186,.inl_.inl_b_2309_36181,.inl_.inl_c_2305_36175,.inl_.inl_.inl_.X3182_2297_2329_36197,.inl_.inl_.X3182_2303_36172,.inl_.inl_b_2304_36173,.inl_.X3166_36159,.inl_.inl_b_2320_36192,.inl_c_35898,.inl_.inl_.inl_b_2298_2330_36198,.inl_.inl_.X3166_2308_36176,.inl_a_36151,.inl_.X3164_36155,.inl_.X3165_36164,.inl_b_36165,.inl_.inl_c_2324_36193 31225, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 31228, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 31225, Local memory used for .inl_.inl_c_2324_36345,.inl_.inl_.inl_b_2298_2330_36350,.inl_.inl_.inl_.X3182_2297_2329_36349,.inl_.inl_b_2320_36344,.inl_.inl_c_2313_36334,.inl_.inl_.inl_b_2298_2319_36339,.inl_.inl_.inl_.X3182_2297_2318_36338,.inl_.inl_b_2309_36333,.inl_.inl_.X3166_2308_36328,.inl_.inl_c_2305_36327,.inl_c_36358,.inl_.inl_b_2304_36325,.inl_.inl_.X3182_2303_36324,.inl_b_36317,.inl_.X3165_36316,.inl_.X3166_36311,.inl_c_36319,.inl_.X3164_36307,.inl_a_36303,.inl_.inl_c_2324_36295,.inl_.inl_.inl_b_2298_2330_36300,.inl_.inl_.inl_.X3182_2297_2329_36299,.inl_.inl_b_2320_36294,.inl_.inl_c_2313_36284,.inl_.inl_.inl_b_2298_2319_36289,.inl_.inl_.inl_.X3182_2297_2318_36288,.inl_.inl_b_2309_36283,.inl_.inl_.X3166_2308_36278,.inl_.inl_c_2305_36277,.inl_c_36308,.inl_.inl_b_2304_36275,.inl_.inl_.X3182_2303_36274,.inl_b_36267,.inl_.X3165_36266,.inl_.X3166_36261,.inl_c_36269,.inl_.X3164_36257,.inl_a_36253,_particle_save,.inl_c_36369,.inl_.inl_c_2313_36384,.inl_.inl_.inl_b_2298_2319_36389,.inl_.inl_.inl_.X3182_2297_2318_36388,.inl_.inl_b_2309_36383,.inl_.inl_c_2305_36377,.inl_.inl_.inl_.X3182_2297_2329_36399,.inl_.inl_.X3182_2303_36374,.inl_.inl_b_2304_36375,.inl_.X3166_36361,.inl_.inl_b_2320_36394,.inl_c_36258,.inl_.inl_.inl_b_2298_2330_36400,.inl_.inl_.X3166_2308_36378,.inl_a_36353,.inl_.X3164_36357,.inl_.X3165_36366,.inl_b_36367,.inl_.inl_c_2324_36395 finally: 32425, 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: 6683, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===