INFO: No output directory specified (--dir) INFO: Using directory: "Bispectral_20260318_035947" INFO: Regenerating c-file: Bispectral.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/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/McStas/mcstas/3.x-dev/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/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -DUSE_MPI -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -L,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib/libNCrystal.so -I/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -DFUNNEL "./Bispectral.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 " "./Bispectral.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, ^ "./Bispectral.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, ^ "./Bispectral.c", line 107: 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 111: 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 139: 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 111: 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 168: 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 190: 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 201: 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 212: 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 222: 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 289: 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 291: 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 642: 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 863: 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 880: 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 882: 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 890: 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 892: 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 894: 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 896: 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 898: 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 994: 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 996: 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 998: 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 1000: 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 1002: 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 1004: 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 1006: 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 1008: 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 1010: 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 4625: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Bispectral.c", line 5080: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Bispectral.c", line 4999: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Bispectral.c", line 6326: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Bispectral.c", line 7100: warning: incompatible redefinition of macro "exit" (declared at line 621) [bad_macro_redef] #define exit(...) noprintf() ^ "./Bispectral.c", line 7384: warning: statement is unreachable [code_is_unreachable] return 1; ^ "./Bispectral.c", line 9389: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Bispectral.c", line 9944: 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 9971: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Bispectral.c", line 10500: 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 10501: 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 10502: 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 10724: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Bispectral.c", line 10786: warning: variable "rotated_nx" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 10786: warning: variable "rotated_ny" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 10786: warning: variable "rotated_nz" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 11007: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Bispectral.c", line 11312: 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 11313: 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 11558: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Bispectral.c", line 11349: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Bispectral.c", line 11351: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Bispectral.c", line 11352: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Bispectral.c", line 11353: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Bispectral.c", line 11377: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Bispectral.c", line 11386: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Bispectral.c", line 11386: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Bispectral.c", line 11388: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Bispectral.c", line 11430: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Bispectral.c", line 11599: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Bispectral.c", line 11629: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Bispectral.c", line 11648: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Bispectral.c", line 11648: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Bispectral.c", line 11649: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Bispectral.c", line 11650: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Bispectral.c", line 11887: warning: variable "rotated_coordinates" was declared but never referenced [declared_but_not_referenced] Coords rotated_coordinates; ^ "./Bispectral.c", line 12053: warning: variable "y" was set but never used [set_but_not_used] double x, y, z, dt; ^ "./Bispectral.c", line 12108: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12185: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12397: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12495: 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 12686: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12884: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 12885: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 13470: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 13471: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 13730: 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 13735: 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 13736: 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 13737: 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 13744: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 13745: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 13868: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Bispectral.c", line 14162: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Bispectral.c", line 14228: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 14415: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Bispectral.c", line 14418: 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 14575: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Bispectral.c", line 14578: 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 15576: 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 15479: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Bispectral.c", line 15798: 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 16008: 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 16169: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Bispectral.c", line 16573: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Bispectral.c", line 17451: 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 17453: 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 17460: 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 17480: 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 17482: 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 17484: 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 20428: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20416: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Bispectral.c", line 20473: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Bispectral.c", line 20563: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Bispectral.c", line 20612: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Bispectral.c", line 20665: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20661: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Bispectral.c", line 20722: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20707: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Bispectral.c", line 20787: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20768: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Bispectral.c", line 20852: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20837: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Bispectral.c", line 20917: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20898: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Bispectral.c", line 20982: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20967: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Bispectral.c", line 21046: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 21031: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Bispectral.c", line 21095: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Bispectral.c", line 21212: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Bispectral.c", line 21338: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Bispectral.c", line 21458: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Bispectral.c", line 21578: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Bispectral.c", line 21698: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Bispectral.c", line 21818: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Bispectral.c", line 21938: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Bispectral.c", line 22058: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./Bispectral.c", line 22178: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./Bispectral.c", line 22298: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./Bispectral.c", line 22418: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./Bispectral.c", line 22538: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./Bispectral.c", line 22658: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./Bispectral.c", line 22778: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./Bispectral.c", line 22918: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22898: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./Bispectral.c", line 22975: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22972: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./Bispectral.c", line 23017: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./Bispectral.c", line 23102: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./Bispectral.c", line 23177: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./Bispectral.c", line 23368: warning: variable "sign_bl_angle" was set but never used [set_but_not_used] int sign_bl_angle; ^ "./Bispectral.c", line 23377: warning: variable "sin_beamport_angle" was set but never used [set_but_not_used] double cos_beamport_angle, sin_beamport_angle; ^ "./Bispectral.c", line 25989: 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 26068: 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 26151: warning: variable "z0" was set but never used [set_but_not_used] double x0,z0; ^ "./Bispectral.c", line 26152: warning: variable "surf_sign" was set but never used [set_but_not_used] int surf_sign; ^ "./Bispectral.c", line 26355: 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 26399: 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 27159: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Bispectral.c", line 28133: warning: variable "q_qc_quadratic_diff" was declared but never referenced [declared_but_not_referenced] double q_qc_quadratic_diff; ^ "./Bispectral.c", line 28165: warning: variable "theta2" was set but never used [set_but_not_used] double theta1, theta2; ^ "./Bispectral.c", line 26616: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Bispectral.c", line 28711: 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 28739: warning: variable "v" was declared but never referenced [declared_but_not_referenced] double v, vn; ^ "./Bispectral.c", line 28806: 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 28877: 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 31949: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Bispectral.c", line 31950: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Bispectral.c", line 1502: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Bispectral.c", line 2971: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 100, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 114, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 146, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 170, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 192, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 203, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 212, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 222, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1550, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1554, Generating acc routine seq Generating NVIDIA GPU code str_len: 1563, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4243, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4677, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4688, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4697, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4709, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4721, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4731, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4741, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4749, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4759, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4781, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4788, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4834, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4869, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4880, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4897, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4908, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4924, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4953, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4964, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4968, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5003, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5010, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5019, #pragma acc loop seq 5003, Generating implicit copy(lens[:]) [if not already present] 5010, Generating implicit firstprivate(ll,l) 5021, Accelerator restriction: induction variable live-out from loop: i 5022, Accelerator restriction: induction variable live-out from loop: i 5023, Accelerator restriction: induction variable live-out from loop: i 5024, Accelerator restriction: induction variable live-out from loop: i 5026, Accelerator restriction: induction variable live-out from loop: j 5027, Accelerator restriction: induction variable live-out from loop: j 5028, Accelerator restriction: induction variable live-out from loop: j 5029, Accelerator restriction: induction variable live-out from loop: j 5051, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5055, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5058, #pragma acc loop seq 5051, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5058, Generating implicit firstprivate(l) 5075, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5079, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5086, #pragma acc loop seq 5075, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5145, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5176, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5193, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5292, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5376, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5442, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5519, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5791, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5803, Generating acc routine seq Generating NVIDIA GPU code _hash: 5835, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5876, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5887, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5892, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5900, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5908, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5915, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6595, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6635, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6695, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6712, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6827, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6882, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_spectrum: 7104, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_spectrum: 7131, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_cold_y0: 7145, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_thermal_y0: 7157, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_cold_x0: 7164, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal: 7189, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold: 7216, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_y0: 7241, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_y0: 7252, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_x0: 7263, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_x0: 7308, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_Y: 7359, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_Y: 7366, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_Theta120: 7373, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_Theta120: 7380, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_timedist: 7390, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_timedist: 7400, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 18261, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 18329, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 18408, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 18876, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 18892, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 18910, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 19020, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 19079, Generating acc routine seq Generating NVIDIA GPU code init: 25947, 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: 25990, Generating acc routine seq Generating NVIDIA GPU code class_ESS_butterfly_trace: 26069, Generating acc routine seq Generating NVIDIA GPU code class_NCrystal_process_trace: 26356, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_surface_trace: 26400, Generating acc routine seq Generating NVIDIA GPU code class_DivLambda_monitor_trace: 28712, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 28807, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 28878, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 29409, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 29413, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 29413, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 29422, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 29427, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 29422, Local memory used for .inl_.inl_c_1977_32420,.inl_.inl_.inl_b_1951_1983_32425,.inl_.inl_.inl_.X3116_1950_1982_32424,.inl_.inl_b_1973_32419,.inl_.inl_c_1966_32409,.inl_.inl_.inl_b_1951_1972_32414,.inl_.inl_.inl_.X3116_1950_1971_32413,.inl_.inl_b_1962_32408,.inl_.inl_.X3100_1961_32403,.inl_.inl_c_1958_32402,.inl_c_32435,.inl_.inl_b_1957_32400,.inl_.inl_.X3116_1956_32399,.inl_b_32392,.inl_.X3099_32391,.inl_.X3100_32386,.inl_c_32394,.inl_.X3098_32382,.inl_a_32378,.inl_.inl_c_1977_32368,.inl_.inl_.inl_b_1951_1983_32373,.inl_.inl_.inl_.X3116_1950_1982_32372,.inl_.inl_b_1973_32367,.inl_.inl_c_1966_32357,.inl_.inl_.inl_b_1951_1972_32362,.inl_.inl_.inl_.X3116_1950_1971_32361,.inl_.inl_b_1962_32356,.inl_.inl_.X3100_1961_32351,.inl_.inl_c_1958_32350,.inl_c_32383,.inl_.inl_b_1957_32348,.inl_.inl_.X3116_1956_32347,.inl_b_32340,.inl_.X3099_32339,.inl_.X3100_32334,.inl_c_32342,.inl_.X3098_32330,.inl_a_32326,.inl_.inl_c_1977_32316,.inl_.inl_.inl_b_1951_1983_32321,.inl_.inl_.inl_.X3116_1950_1982_32320,.inl_.inl_b_1973_32315,.inl_.inl_c_1966_32305,.inl_.inl_.inl_b_1951_1972_32310,.inl_.inl_.inl_.X3116_1950_1971_32309,.inl_.inl_b_1962_32304,.inl_.inl_.X3100_1961_32299,.inl_.inl_c_1958_32298,.inl_c_32331,.inl_.inl_b_1957_32296,.inl_.inl_.X3116_1956_32295,.inl_b_32288,.inl_.X3099_32287,.inl_.X3100_32282,.inl_c_32290,.inl_.X3098_32278,.inl_a_32274,.inl_.inl_c_1977_32266,.inl_.inl_.inl_b_1951_1983_32271,.inl_.inl_.inl_.X3116_1950_1982_32270,.inl_.inl_b_1973_32265,.inl_.inl_c_1966_32255,.inl_.inl_.inl_b_1951_1972_32260,.inl_.inl_.inl_.X3116_1950_1971_32259,.inl_.inl_b_1962_32254,.inl_.inl_.X3100_1961_32249,.inl_.inl_c_1958_32248,.inl_c_32279,.inl_.inl_b_1957_32246,.inl_.inl_.X3116_1956_32245,.inl_b_32238,.inl_.X3099_32237,.inl_.X3100_32232,.inl_c_32240,.inl_.X3098_32228,.inl_a_32224,.inl_.inl_c_1977_32214,.inl_.inl_.inl_b_1951_1983_32219,.inl_.inl_.inl_.X3116_1950_1982_32218,.inl_.inl_b_1973_32213,.inl_.inl_c_1966_32203,.inl_.inl_.inl_b_1951_1972_32208,.inl_.inl_.inl_.X3116_1950_1971_32207,.inl_.inl_b_1962_32202,.inl_.inl_.X3100_1961_32197,.inl_.inl_c_1958_32196,.inl_c_32229,.inl_.inl_b_1957_32194,.inl_.inl_.X3116_1956_32193,.inl_b_32186,.inl_.X3099_32185,.inl_.X3100_32180,.inl_c_32188,.inl_.X3098_32176,.inl_a_32172,_particle_save,.inl_c_32446,.inl_.inl_c_1966_32461,.inl_.inl_.inl_b_1951_1972_32466,.inl_.inl_.inl_.X3116_1950_1971_32465,.inl_.inl_b_1962_32460,.inl_.inl_c_1958_32454,.inl_.inl_.inl_.X3116_1950_1982_32476,.inl_.inl_.X3116_1956_32451,.inl_.inl_b_1957_32452,.inl_.X3100_32438,.inl_.inl_b_1973_32471,.inl_c_32177,.inl_.inl_.inl_b_1951_1983_32477,.inl_.inl_.X3100_1961_32455,.inl_a_32430,.inl_.X3098_32434,.inl_.X3099_32443,.inl_b_32444,.inl_.inl_c_1977_32472 29644, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 29647, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 29644, Local memory used for .inl_.inl_c_1977_32624,.inl_.inl_.inl_b_1951_1983_32629,.inl_.inl_.inl_.X3116_1950_1982_32628,.inl_.inl_b_1973_32623,.inl_.inl_c_1966_32613,.inl_.inl_.inl_b_1951_1972_32618,.inl_.inl_.inl_.X3116_1950_1971_32617,.inl_.inl_b_1962_32612,.inl_.inl_.X3100_1961_32607,.inl_.inl_c_1958_32606,.inl_c_32637,.inl_.inl_b_1957_32604,.inl_.inl_.X3116_1956_32603,.inl_b_32596,.inl_.X3099_32595,.inl_.X3100_32590,.inl_c_32598,.inl_.X3098_32586,.inl_a_32582,.inl_.inl_c_1977_32574,.inl_.inl_.inl_b_1951_1983_32579,.inl_.inl_.inl_.X3116_1950_1982_32578,.inl_.inl_b_1973_32573,.inl_.inl_c_1966_32563,.inl_.inl_.inl_b_1951_1972_32568,.inl_.inl_.inl_.X3116_1950_1971_32567,.inl_.inl_b_1962_32562,.inl_.inl_.X3100_1961_32557,.inl_.inl_c_1958_32556,.inl_c_32587,.inl_.inl_b_1957_32554,.inl_.inl_.X3116_1956_32553,.inl_b_32546,.inl_.X3099_32545,.inl_.X3100_32540,.inl_c_32548,.inl_.X3098_32536,.inl_a_32532,_particle_save,.inl_c_32648,.inl_.inl_c_1966_32663,.inl_.inl_.inl_b_1951_1972_32668,.inl_.inl_.inl_.X3116_1950_1971_32667,.inl_.inl_b_1962_32662,.inl_.inl_c_1958_32656,.inl_.inl_.inl_.X3116_1950_1982_32678,.inl_.inl_.X3116_1956_32653,.inl_.inl_b_1957_32654,.inl_.X3100_32640,.inl_.inl_b_1973_32673,.inl_c_32537,.inl_.inl_.inl_b_1951_1983_32679,.inl_.inl_.X3100_1961_32657,.inl_a_32632,.inl_.X3098_32636,.inl_.X3099_32645,.inl_b_32646,.inl_.inl_c_1977_32674 finally: 30834, 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: 6035, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===