INFO: No output directory specified (--dir) INFO: Using directory: "Bispectral_20260814_143116" INFO: Regenerating c-file: Bispectral.c DEBUG: CMD: /users/willend/micromamba/envs/mcstas-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: /users/willend/micromamba/envs/mcstas-dev/bin/mcstas finished INFO: Recompiling: ./Bispectral.out --> launching cmd: ncrystal-config --show buildflags DEBUG: CMD: nvc -o ./Bispectral.out ./Bispectral.c -lm -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -Wl,-rpath,/users/willend/micromamba/envs/mcstas-dev/lib -Wl,/users/willend/micromamba/envs/mcstas-dev/lib/libNCrystal.so -I/users/willend/micromamba/envs/mcstas-dev/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 865: 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 882: 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 884: 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 892: 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 894: 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 896: 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 898: 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 900: 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 903: 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 999: 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 1001: 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 1003: 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 1005: 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 1007: 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 1009: 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 1011: 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 1013: 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 1015: 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 4197: warning: variable "exists" was set but never used [set_but_not_used] int exists=0; ^ "./Bispectral.c", line 4655: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Bispectral.c", line 5110: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Bispectral.c", line 5029: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Bispectral.c", line 6371: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Bispectral.c", line 7460: warning: statement is unreachable [code_is_unreachable] return 1; ^ "./Bispectral.c", line 9456: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Bispectral.c", line 10010: 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 10033: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Bispectral.c", line 10550: 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 10551: 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 10552: 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 10774: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Bispectral.c", line 10830: warning: variable "rotated_nx" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 10830: warning: variable "rotated_ny" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 10830: warning: variable "rotated_nz" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Bispectral.c", line 11051: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Bispectral.c", line 11334: 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 11335: 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 11412: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Bispectral.c", line 11505: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Bispectral.c", line 11535: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Bispectral.c", line 11784: warning: variable "rotated_coordinates" was declared but never referenced [declared_but_not_referenced] Coords rotated_coordinates; ^ "./Bispectral.c", line 11950: warning: variable "y" was set but never used [set_but_not_used] double x, y, z, dt; ^ "./Bispectral.c", line 12005: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12082: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12293: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12391: 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 12582: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 12780: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 12781: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 12990: warning: variable "verts" was declared but never referenced [declared_but_not_referenced] Coords *verts = geometry1->geometry_parameters.p_mesh_storage->vertices; ^ "./Bispectral.c", line 13015: warning: variable "verts" was declared but never referenced [declared_but_not_referenced] Coords *verts = geometry2->geometry_parameters.p_mesh_storage->vertices; ^ "./Bispectral.c", line 13406: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 13407: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 13666: 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 13671: 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 13672: 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 13673: 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 13680: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Bispectral.c", line 13681: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Bispectral.c", line 13804: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Bispectral.c", line 14098: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Bispectral.c", line 14164: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Bispectral.c", line 14351: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Bispectral.c", line 14354: 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 14497: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Bispectral.c", line 14500: 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 15475: 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 15378: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Bispectral.c", line 15697: 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 15891: 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 16034: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Bispectral.c", line 16437: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Bispectral.c", line 17317: 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 17319: 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 17326: 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 17346: 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 17348: 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 17350: 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 20303: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20291: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Bispectral.c", line 20348: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Bispectral.c", line 20438: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Bispectral.c", line 20487: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Bispectral.c", line 20540: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20536: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Bispectral.c", line 20596: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20582: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Bispectral.c", line 20660: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20641: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Bispectral.c", line 20724: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20710: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Bispectral.c", line 20788: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20769: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Bispectral.c", line 20853: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20838: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Bispectral.c", line 20917: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 20902: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Bispectral.c", line 20966: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Bispectral.c", line 21083: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Bispectral.c", line 21209: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Bispectral.c", line 21329: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Bispectral.c", line 21449: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Bispectral.c", line 21569: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Bispectral.c", line 21689: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Bispectral.c", line 21809: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Bispectral.c", line 21929: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./Bispectral.c", line 22049: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./Bispectral.c", line 22169: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./Bispectral.c", line 22289: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./Bispectral.c", line 22409: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./Bispectral.c", line 22529: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./Bispectral.c", line 22649: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./Bispectral.c", line 22789: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22769: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./Bispectral.c", line 22846: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Bispectral.c", line 22843: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./Bispectral.c", line 22888: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./Bispectral.c", line 22973: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./Bispectral.c", line 23048: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./Bispectral.c", line 23239: warning: variable "sign_bl_angle" was set but never used [set_but_not_used] int sign_bl_angle; ^ "./Bispectral.c", line 23247: warning: variable "sin_beamport_angle" was set but never used [set_but_not_used] double cos_beamport_angle, sin_beamport_angle; ^ "./Bispectral.c", line 25893: 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 25972: 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 26055: warning: variable "z0" was set but never used [set_but_not_used] double x0, z0; ^ "./Bispectral.c", line 26056: warning: variable "surf_sign" was set but never used [set_but_not_used] int surf_sign; ^ "./Bispectral.c", line 26264: 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 26306: 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 27069: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Bispectral.c", line 28154: warning: variable "q_qc_quadratic_diff" was declared but never referenced [declared_but_not_referenced] double q_qc_quadratic_diff; ^ "./Bispectral.c", line 28186: warning: variable "theta2" was set but never used [set_but_not_used] double theta1, theta2; ^ "./Bispectral.c", line 26523: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Bispectral.c", line 26528: warning: variable "sampling_mus" was declared but never referenced [declared_but_not_referenced] double* sampling_mus; ^ "./Bispectral.c", line 28732: 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 28760: warning: variable "v" was declared but never referenced [declared_but_not_referenced] double v, vn; ^ "./Bispectral.c", line 28827: 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 28898: 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 31984: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Bispectral.c", line 31985: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Bispectral.c", line 1518: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Bispectral.c", line 2992: 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: 1567, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1571, Generating acc routine seq Generating NVIDIA GPU code str_len: 1580, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4273, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4707, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4718, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4727, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4739, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4751, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4761, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4771, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4779, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4789, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4811, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4818, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4864, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4899, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4910, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4927, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4938, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4954, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4983, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4994, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4998, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5033, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5040, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5049, #pragma acc loop seq 5033, Generating implicit copy(lens[:]) [if not already present] 5040, Generating implicit firstprivate(ll,l) 5051, Accelerator restriction: induction variable live-out from loop: i 5052, Accelerator restriction: induction variable live-out from loop: i 5053, Accelerator restriction: induction variable live-out from loop: i 5054, Accelerator restriction: induction variable live-out from loop: i 5056, Accelerator restriction: induction variable live-out from loop: j 5057, Accelerator restriction: induction variable live-out from loop: j 5058, Accelerator restriction: induction variable live-out from loop: j 5059, Accelerator restriction: induction variable live-out from loop: j 5081, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5085, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5088, #pragma acc loop seq 5081, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5088, Generating implicit firstprivate(l) 5105, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5109, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5116, #pragma acc loop seq 5105, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5175, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5206, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5223, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5322, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5406, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5472, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5549, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5821, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5833, Generating acc routine seq Generating NVIDIA GPU code _hash: 5865, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5906, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5917, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5922, Generating acc routine seq Generating NVIDIA GPU code _rand01_opague: 5929, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5940, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5948, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5955, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6640, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6680, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6754, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6771, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6886, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6941, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_spectrum: 7180, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_spectrum: 7207, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_cold_y0: 7221, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_thermal_y0: 7233, Generating acc routine seq Generating NVIDIA GPU code ESS_2014_Schoenfeldt_cold_x0: 7240, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal: 7265, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold: 7292, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_y0: 7317, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_y0: 7328, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_x0: 7339, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_x0: 7384, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_Y: 7435, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_Y: 7442, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_Theta120: 7449, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_Theta120: 7456, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_cold_timedist: 7466, Generating acc routine seq Generating NVIDIA GPU code ESS_2015_Schoenfeldt_thermal_timedist: 7476, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 18127, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 18195, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 18274, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 18742, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 18758, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 18776, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 18886, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 18945, Generating acc routine seq Generating NVIDIA GPU code init: 25851, 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: 25894, Generating acc routine seq Generating NVIDIA GPU code class_ESS_butterfly_trace: 25973, Generating acc routine seq Generating NVIDIA GPU code class_NCrystal_process_trace: 26265, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_surface_trace: 26307, Generating acc routine seq Generating NVIDIA GPU code class_DivLambda_monitor_trace: 28733, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 28828, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 28899, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 29445, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 29449, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 29449, Generating implicit firstprivate(seed,_particle) 29458, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 29463, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 29458, Local memory used for .inl_.inl_c_1931_34816,.inl_.inl_.inl_b_1905_1937_34821,.inl_.inl_.inl_.X3005_1904_1936_34820,.inl_.inl_b_1927_34815,.inl_.inl_c_1920_34805,.inl_.inl_.inl_b_1905_1926_34810,.inl_.inl_.inl_.X3005_1904_1925_34809,.inl_.inl_b_1916_34804,.inl_.inl_.X2989_1915_34799,.inl_.inl_c_1912_34798,.inl_c_34831,.inl_.inl_b_1911_34796,.inl_.inl_.X3005_1910_34795,.inl_b_34788,.inl_.X2988_34787,.inl_.X2989_34782,.inl_c_34790,.inl_.X2987_34778,.inl_a_34774,.inl_.inl_c_1931_34764,.inl_.inl_.inl_b_1905_1937_34769,.inl_.inl_.inl_.X3005_1904_1936_34768,.inl_.inl_b_1927_34763,.inl_.inl_c_1920_34753,.inl_.inl_.inl_b_1905_1926_34758,.inl_.inl_.inl_.X3005_1904_1925_34757,.inl_.inl_b_1916_34752,.inl_.inl_.X2989_1915_34747,.inl_.inl_c_1912_34746,.inl_c_34779,.inl_.inl_b_1911_34744,.inl_.inl_.X3005_1910_34743,.inl_b_34736,.inl_.X2988_34735,.inl_.X2989_34730,.inl_c_34738,.inl_.X2987_34726,.inl_a_34722,.inl_.inl_c_1931_34712,.inl_.inl_.inl_b_1905_1937_34717,.inl_.inl_.inl_.X3005_1904_1936_34716,.inl_.inl_b_1927_34711,.inl_.inl_c_1920_34701,.inl_.inl_.inl_b_1905_1926_34706,.inl_.inl_.inl_.X3005_1904_1925_34705,.inl_.inl_b_1916_34700,.inl_.inl_.X2989_1915_34695,.inl_.inl_c_1912_34694,.inl_c_34727,.inl_.inl_b_1911_34692,.inl_.inl_.X3005_1910_34691,.inl_b_34684,.inl_.X2988_34683,.inl_.X2989_34678,.inl_c_34686,.inl_.X2987_34674,.inl_a_34670,.inl_.inl_c_1931_34662,.inl_.inl_.inl_b_1905_1937_34667,.inl_.inl_.inl_.X3005_1904_1936_34666,.inl_.inl_b_1927_34661,.inl_.inl_c_1920_34651,.inl_.inl_.inl_b_1905_1926_34656,.inl_.inl_.inl_.X3005_1904_1925_34655,.inl_.inl_b_1916_34650,.inl_.inl_.X2989_1915_34645,.inl_.inl_c_1912_34644,.inl_c_34675,.inl_.inl_b_1911_34642,.inl_.inl_.X3005_1910_34641,.inl_b_34634,.inl_.X2988_34633,.inl_.X2989_34628,.inl_c_34636,.inl_.X2987_34624,.inl_a_34620,.inl_.inl_c_1931_34610,.inl_.inl_.inl_b_1905_1937_34615,.inl_.inl_.inl_.X3005_1904_1936_34614,.inl_.inl_b_1927_34609,.inl_.inl_c_1920_34599,.inl_.inl_.inl_b_1905_1926_34604,.inl_.inl_.inl_.X3005_1904_1925_34603,.inl_.inl_b_1916_34598,.inl_.inl_.X2989_1915_34593,.inl_.inl_c_1912_34592,.inl_c_34625,.inl_.inl_b_1911_34590,.inl_.inl_.X3005_1910_34589,.inl_b_34582,.inl_.X2988_34581,.inl_.X2989_34576,.inl_c_34584,.inl_.X2987_34572,.inl_a_34568,.inl_c_34842,_particle_save,.inl_.inl_c_1920_34857,.inl_.inl_.inl_b_1905_1926_34862,.inl_.inl_.inl_.X3005_1904_1925_34861,.inl_.inl_b_1916_34856,.inl_.inl_c_1912_34850,.inl_.inl_.inl_.X3005_1904_1936_34872,.inl_.inl_.X3005_1910_34847,.inl_.inl_b_1911_34848,.inl_.X2989_34834,.inl_.inl_b_1927_34867,.inl_c_34573,.inl_.inl_.inl_b_1905_1937_34873,.inl_.inl_.X2989_1915_34851,.inl_a_34826,.inl_.X2987_34830,.inl_.X2988_34839,.inl_b_34840,.inl_.inl_c_1931_34868 29680, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 29683, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 29680, Local memory used for .inl_.inl_c_1931_35020,.inl_.inl_.inl_b_1905_1937_35025,.inl_.inl_.inl_.X3005_1904_1936_35024,.inl_.inl_b_1927_35019,.inl_.inl_c_1920_35009,.inl_.inl_.inl_b_1905_1926_35014,.inl_.inl_.inl_.X3005_1904_1925_35013,.inl_.inl_b_1916_35008,.inl_.inl_.X2989_1915_35003,.inl_.inl_c_1912_35002,.inl_c_35033,.inl_.inl_b_1911_35000,.inl_.inl_.X3005_1910_34999,.inl_b_34992,.inl_.X2988_34991,.inl_.X2989_34986,.inl_c_34994,.inl_.X2987_34982,.inl_a_34978,.inl_.inl_c_1931_34970,.inl_.inl_.inl_b_1905_1937_34975,.inl_.inl_.inl_.X3005_1904_1936_34974,.inl_.inl_b_1927_34969,.inl_.inl_c_1920_34959,.inl_.inl_.inl_b_1905_1926_34964,.inl_.inl_.inl_.X3005_1904_1925_34963,.inl_.inl_b_1916_34958,.inl_.inl_.X2989_1915_34953,.inl_.inl_c_1912_34952,.inl_c_34983,.inl_.inl_b_1911_34950,.inl_.inl_.X3005_1910_34949,.inl_b_34942,.inl_.X2988_34941,.inl_.X2989_34936,.inl_c_34944,.inl_.X2987_34932,.inl_a_34928,_particle_save,.inl_c_35044,.inl_.inl_c_1920_35059,.inl_.inl_.inl_b_1905_1926_35064,.inl_.inl_.inl_.X3005_1904_1925_35063,.inl_.inl_b_1916_35058,.inl_.inl_c_1912_35052,.inl_.inl_.inl_.X3005_1904_1936_35074,.inl_.inl_.X3005_1910_35049,.inl_.inl_b_1911_35050,.inl_.X2989_35036,.inl_.inl_b_1927_35069,.inl_c_34933,.inl_.inl_.inl_b_1905_1937_35075,.inl_.inl_.X2989_1915_35053,.inl_a_35028,.inl_.X2987_35032,.inl_.X2988_35041,.inl_b_35042,.inl_.inl_c_1931_35070 finally: 30872, 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: 6076, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===