loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_8GPU/mccode_config.json INFO: No output directory specified (--dir) INFO: Using directory: "Union_NCrystal_mix_example_20230201_032941" INFO: Regenerating c-file: Union_NCrystal_mix_example.c DEBUG: CMD: mcstas -t -o ./Union_NCrystal_mix_example.c /home/nexmap/pkwi/TESTS/2023-02-01/McStas_8GPU_5e7/Union_NCrystal_mix_example/Union_NCrystal_mix_example.instr Info: 'NCrystal_sample' is a contributed component. Warning: DECLARE block contains 1 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -Wl,-rpath,CMD(ncrystal-config --show libdir) -LCMD(ncrystal-config --show libdir) -lNCrystal -ICMD(ncrystal-config --show includedir) -I@MCCODE_LIB@/share/ -DFUNNEL -Wl,-rpath,CMD(ncrystal-config --show libdir) -LCMD(ncrystal-config --show libdir) -lNCrystal -ICMD(ncrystal-config --show includedir) -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 mono_out Component powder_sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component powder_sample -> GPU kernel from component powder_pattern_detc ----------------------------------------------------------- INFO: Recompiling: ./Union_NCrystal_mix_example.out --> launching cmd: ncrystal-config --show libdir --> launching cmd: ncrystal-config --show libdir --> launching cmd: ncrystal-config --show includedir --> launching cmd: ncrystal-config --show libdir --> launching cmd: ncrystal-config --show libdir --> launching cmd: ncrystal-config --show includedir DEBUG: CMD: nvc -o ./Union_NCrystal_mix_example.out ./Union_NCrystal_mix_example.c -lm -DUSE_MPI -lmpi -L/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/mpi/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/mpi/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/lib -lNCrystal -I/u/data/pkwi/McStas/mcstas/3.x-dev/include -I/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/ -DFUNNEL -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/lib -lNCrystal -I/u/data/pkwi/McStas/mcstas/3.x-dev/include -DFUNNEL nvc-Warning-CUDA_HOME has been deprecated. Please, use NVHPC_CUDA_HOME instead. "./Union_NCrystal_mix_example.c", line 1648: warning: arithmetic on pointer to void or function type [nonobject_pointer_arithmetic] if (MPI_Send((void*)(sbuf+offset*dsize), length, dtype, dest, tag++, MPI_COMM_WORLD) != MPI_SUCCESS) ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Union_NCrystal_mix_example.c", line 1675: warning: arithmetic on pointer to void or function type [nonobject_pointer_arithmetic] if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./Union_NCrystal_mix_example.c", line 3393: warning: missing return statement at end of non-void function "siminfo_init" [implicit_return_from_non_void_function] } /* siminfo_init */ ^ "./Union_NCrystal_mix_example.c", line 4324: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] unsigned long randstate[7]; ^ "./Union_NCrystal_mix_example.c", line 4243: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Union_NCrystal_mix_example.c", line 7502: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Union_NCrystal_mix_example.c", line 7782: warning: argument of type "int (*)(const struct saved_history_struct *, const struct saved_history_struct *)" is incompatible with parameter of type "__compar_fn_t" [incompatible_param] qsort(total_history.saved_histories,total_history.used_elements,sizeof (struct saved_history_struct), Sample_compare_history_intensities); ^ "./Union_NCrystal_mix_example.c", line 7786: warning: argument of type "struct saved_history_struct *" is incompatible with parameter of type "struct dynamic_history_list *" [incompatible_param] MPI_MASTER( ^ "./Union_NCrystal_mix_example.c", line 8013: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Union_NCrystal_mix_example.c", line 8036: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 315: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 316: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 317: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 477: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 839: warning: missing return statement at end of non-void function "sample_cone_intersect" [implicit_return_from_non_void_function] }; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 697: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 883: warning: missing return statement at end of non-void function "cone_intersect" [implicit_return_from_non_void_function] }; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 854: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 855: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1129: warning: statement is unreachable [code_is_unreachable] return 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 888: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 890: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 891: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 892: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 916: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 925: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 925: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 927: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 976: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1143: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1144: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1145: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1174: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1232: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1248: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1248: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1249: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1250: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1685: warning: variable "vector2" is used before its value is set [used_before_set] if (verbal == 1) printf("vector1 = (%f,%f,%f)\n",vector1.x,vector1.y,vector2.z); ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1674: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1751: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 1958: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 2056: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 2242: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 2435: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 2436: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 2970: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 2971: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 3370: warning: variable "square_center" is used before its value is set [used_before_set] Coords box_end_point = coords_sub(coords_set(0,0,-z_depth/2),square_center); ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 3230: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 3235: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 3236: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 3237: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 3244: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 3245: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 3368: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 3634: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/Geometry_functions.c", line 3700: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Union_NCrystal_mix_example.c", line 8253: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Union_NCrystal_mix_example.c", line 8256: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Union_NCrystal_mix_example.c", line 8413: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Union_NCrystal_mix_example.c", line 8416: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Union_NCrystal_mix_example.c", line 9335: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Union_NCrystal_mix_example.c", line 9244: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Union_NCrystal_mix_example.c", line 9547: 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; ^ "./Union_NCrystal_mix_example.c", line 9737: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Union_NCrystal_mix_example.c", line 9886: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Union_NCrystal_mix_example.c", line 10290: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Union_NCrystal_mix_example.c", line 25086: warning: missing return statement at end of non-void function "ncrystalsample_surfintersect" [implicit_return_from_non_void_function] } ^ "./Union_NCrystal_mix_example.c", line 27086: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Union_NCrystal_mix_example.c", line 27086: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Union_NCrystal_mix_example.c", line 27113: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Union_NCrystal_mix_example.c", line 27113: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Union_NCrystal_mix_example.c", line 28920: warning: variable "minx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Union_NCrystal_mix_example.c", line 28920: warning: variable "maxx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Union_NCrystal_mix_example.c", line 28920: warning: variable "miny" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Union_NCrystal_mix_example.c", line 28920: warning: variable "maxy" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Union_NCrystal_mix_example.c", line 28920: warning: variable "minz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Union_NCrystal_mix_example.c", line 28920: warning: variable "maxz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Union_NCrystal_mix_example.c", line 29276: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Union_NCrystal_mix_example.c", line 35399: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_mix_example.c", line 35443: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_mix_example.c", line 35487: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_mix_example.c", line 35529: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_mix_example.c", line 35942: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_mix_example.c", line 37385: warning: expression has no effect [expr_has_no_effect] MPI_MASTER( ^ "./Union_NCrystal_mix_example.c", line 37385: warning: expression has no effect [expr_has_no_effect] MPI_MASTER( ^ "./Union_NCrystal_mix_example.c", line 37385: warning: expression has no effect [expr_has_no_effect] MPI_MASTER( ^ "./Union_NCrystal_mix_example.c", line 38077: warning: incompatible redefinition of macro "exit" (declared at line 464) [bad_macro_redef] #define exit(...) noprintf() ^ "./Union_NCrystal_mix_example.c", line 38854: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Union_NCrystal_mix_example.c", line 40638: warning: variable "_particle_save" was declared but never referenced [declared_but_not_referenced] _class_particle _particle_save; ^ "./Union_NCrystal_mix_example.c", line 42271: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Union_NCrystal_mix_example.c", line 42272: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Union_NCrystal_mix_example.c", line 1353: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Union_NCrystal_mix_example.c", line 2707: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 66, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 80, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 109, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 133, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 155, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 166, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 175, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 185, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1393, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1397, Generating acc routine seq Generating NVIDIA GPU code str_len: 1406, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 3684, Generating acc routine seq Generating NVIDIA GPU code coords_set: 3921, Generating acc routine seq Generating NVIDIA GPU code coords_get: 3932, Generating acc routine seq Generating NVIDIA GPU code coords_add: 3941, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 3953, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 3965, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 3975, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 3985, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 3993, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4003, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4025, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4032, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4078, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4113, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4124, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4141, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4152, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4168, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4197, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4208, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4212, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4247, Generating present(pbuffer[:],particles[:]) Generating NVIDIA GPU code 4254, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4263, #pragma acc loop seq 4247, Generating implicit copy(lens[:]) [if not already present] 4265, Accelerator restriction: induction variable live-out from loop: i 4266, Accelerator restriction: induction variable live-out from loop: i 4267, Accelerator restriction: induction variable live-out from loop: i 4268, Accelerator restriction: induction variable live-out from loop: i 4270, Accelerator restriction: induction variable live-out from loop: j 4271, Accelerator restriction: induction variable live-out from loop: j 4272, Accelerator restriction: induction variable live-out from loop: j 4273, Accelerator restriction: induction variable live-out from loop: j 4295, Generating present(pbuffer[:]) Generating NVIDIA GPU code 4299, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4302, #pragma acc loop seq 4295, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 4319, Generating present(particles[:]) Generating NVIDIA GPU code 4323, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4330, #pragma acc loop seq 4319, Local memory used for targetbuffer,sourcebuffer mccoordschange: 4389, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 4420, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 4437, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 4536, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 4620, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 4686, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 4763, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5035, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5045, Generating acc routine seq Generating NVIDIA GPU code _hash: 5071, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5112, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5123, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5128, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5136, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5144, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5151, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 5768, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 5860, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 5877, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 5992, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6047, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 26096, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 28004, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 28072, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 28151, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 28589, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 28605, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 28623, Generating acc routine seq Generating NVIDIA GPU code off_F: 28877, Generating acc routine seq Generating NVIDIA GPU code off_sign: 28882, Generating acc routine seq Generating NVIDIA GPU code off_normal: 28892, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 28918, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 28981, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 29112, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 29157, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 29273, Generating acc routine seq Generating NVIDIA GPU code off_compare: 29364, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 29376, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 29411, Generating acc routine seq Generating NVIDIA GPU code Min_int: 29661, Generating acc routine seq Generating NVIDIA GPU code merge: 29668, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 29772, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 29787, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 29841, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 29949, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 29971, Generating acc routine seq Generating NVIDIA GPU code init: 38049, Generating update device(_NCrystal_mono_var,_NCrystal_mono_material_var,_monochromator_var,_powder_sample_var,_master_var,_mono_out_var,_instrument_var,_mono_arm_var,_powder_pattern_detc_var,_origin_var,_stop_var,_source_var,_init_var) class_NCrystal_process_trace: 38091, Generating acc routine seq Generating NVIDIA GPU code class_Progress_bar_trace: 38141, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 38229, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 39951, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 40536, Generating present(particles[:]) Generating NVIDIA GPU code 40540, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 40536, Local memory used for .inl_particle_27072,.inl_.inl_mcneutron_0_27087,.inl_.X2898_27089,.inl_.inl_.X3113_15_27088 40540, Generating implicit private(_particle) 40547, Generating present(particles[:]) Generating NVIDIA GPU code 40552, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 40547, Local memory used for .inl_.inl_c_1399_27188,.inl_.inl_.inl_b_1373_1405_27193,.inl_.inl_.inl_.X3078_1372_1404_27192,.inl_.inl_b_1395_27187,.inl_.inl_c_1388_27177,.inl_.inl_.inl_b_1373_1394_27182,.inl_.inl_.inl_.X3078_1372_1393_27181,.inl_.inl_b_1384_27176,.inl_.inl_.X3062_1383_27171,.inl_.inl_c_1380_27170,.inl_c_27203,.inl_.inl_b_1379_27168,.inl_.inl_.X3078_1378_27167,.inl_b_27160,.inl_.X3061_27159,.inl_.X3062_27154,.inl_c_27162,.inl_.X3060_27150,.inl_a_27146,.inl_.inl_c_1399_27136,.inl_.inl_.inl_b_1373_1405_27141,.inl_.inl_.inl_.X3078_1372_1404_27140,.inl_.inl_b_1395_27135,.inl_.inl_c_1388_27125,.inl_.inl_.inl_b_1373_1394_27130,.inl_.inl_.inl_.X3078_1372_1393_27129,.inl_.inl_b_1384_27124,.inl_.inl_.X3062_1383_27119,.inl_.inl_c_1380_27118,.inl_c_27151,.inl_.inl_b_1379_27116,.inl_.inl_.X3078_1378_27115,.inl_b_27108,.inl_.X3061_27107,.inl_.X3062_27102,.inl_c_27110,.inl_.X3060_27098,.inl_a_27094,_particle_save,.inl_c_27214,.inl_.inl_c_1388_27229,.inl_.inl_.inl_b_1373_1394_27234,.inl_.inl_.inl_.X3078_1372_1393_27233,.inl_.inl_b_1384_27228,.inl_.inl_c_1380_27222,.inl_.inl_.inl_.X3078_1372_1404_27244,.inl_.inl_.X3078_1378_27219,.inl_.inl_b_1379_27220,.inl_.X3062_27206,.inl_.inl_b_1395_27239,.inl_c_27099,.inl_.inl_.inl_b_1373_1405_27245,.inl_.inl_.X3062_1383_27223,.inl_a_27198,.inl_.X3060_27202,.inl_.X3061_27211,.inl_b_27212,.inl_.inl_c_1399_27240 40552, Generating implicit private(_particle) 40633, Generating present(particles[:]) Generating NVIDIA GPU code 40636, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 40636, Generating implicit private(_particle) 40663, Generating present(particles[:]) Generating NVIDIA GPU code 40666, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 40663, Local memory used for _particle_save,.inl_c_27364,.inl_.inl_c_1388_27379,.inl_.inl_.inl_b_1373_1394_27384,.inl_.inl_.inl_.X3078_1372_1393_27383,.inl_.inl_b_1384_27378,.inl_.inl_c_1380_27372,.inl_.inl_.inl_.X3078_1372_1404_27394,.inl_.inl_.X3078_1378_27369,.inl_.inl_b_1379_27370,.inl_.X3062_27356,.inl_.inl_b_1395_27389,.inl_c_27353,.inl_.inl_.inl_b_1373_1405_27395,.inl_.inl_.X3062_1383_27373,.inl_a_27348,.inl_.X3060_27352,.inl_.X3061_27361,.inl_b_27362,.inl_.inl_c_1399_27390 40666, Generating implicit private(_particle) finally: 41592, Generating update self(_NCrystal_mono_var,_NCrystal_mono_material_var,_monochromator_var,_powder_sample_var,_master_var,_mono_out_var,_instrument_var,_mono_arm_var,_powder_pattern_detc_var,_origin_var,_stop_var,_source_var,_init_var) mcenabletrace: 5261, Generating update device(mcdotrace) INFO: ===