INFO: No output directory specified (--dir) INFO: Using directory: "Histogrammer_20261030_001747" INFO: Regenerating c-file: Histogrammer.c DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas -t -o ./Histogrammer.c Histogrammer.instr --verbose mcstas version 3.99.99 Analyzing file Histogrammer.instr Embedding component Progress_bar from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/misc/Progress_bar.comp Component[1]: Origin = Progress_bar(). Warning: 'Virtual_input' is an obsolete component (not maintained). Embedding library read_table-lib.h Embedding library read_table-lib.c Embedding component Virtual_input from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/obsolete/Virtual_input.comp Component[2]: Virtualinput = Virtual_input(). Embedding component MCPL_input from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/misc/MCPL_input.comp Component[3]: MCPLinput = MCPL_input(). Embedding library monitor_nd-lib.h Embedding library monitor_nd-lib.c Embedding library interoff-lib.h Embedding library interoff-lib.c Embedding component Monitor_nD from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/Monitor_nD.comp Component[4]: Monitor = Monitor_nD(). Combine metadata blocks into table Processed 0 metadata blocks Creating instrument 'Histogrammer' (with 4 component instances) Starting to create C code ./Histogrammer.c Embedding file mccode-r.h (user path) Embedding file mcstas-r.h (user path) Compile './Histogrammer.c -DUSE_NEXUS -lhdf5' to enable NeXus support Embedding file mccode-r.c (user path) Embedding file mcstas-r.c (user path) Writing instrument 'Histogrammer' and components DECLARE Writing instrument 'Histogrammer' and components INITIALISE Writing components TRACE Writing instrument 'Histogrammer' and components SAVE Writing instrument 'Histogrammer' and components FINALLY Writing instrument 'Histogrammer' and components DISPLAY Embedding file metadata-r.c (user path) Embedding file mccode_main.c (user path) Warning: The build of the instrument 'Histogrammer' has 18 warnings/errors. Generated C code ./Histogrammer.c from Histogrammer.instr CFLAGS= -DFUNNEL @MCPLFLAGS@ ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component Virtualinput is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Virtualinput -> GPU kernel from component MCPLinput ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas finished INFO: Recompiling: ./Histogrammer.out --> launching cmd: mcpl-config --show buildflags DEBUG: CMD: nvc -o ./Histogrammer.out ./Histogrammer.c -lm -I/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -DUSE_MPI -lmpi -fast -Minfo=accel -acc=gpu -gpu=cc61,mem:managed -DOPENACC -DFUNNEL -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -Wl,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib/libmcpl.so -I/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include "./Histogrammer.c", line 90: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Histogrammer.c", line 92: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcsetstate(double x, double y, double z, double vx, double vy, double vz, ^ "./Histogrammer.c", line 95: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgetstate(_class_particle mcneutron, double *x, double *y, double *z, ^ "./Histogrammer.c", line 109: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./Histogrammer.c", line 113: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./Histogrammer.c", line 141: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./Histogrammer.c", line 113: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./Histogrammer.c", line 170: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void(_class_particle *, char *, void*); ^ "./Histogrammer.c", line 192: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./Histogrammer.c", line 203: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./Histogrammer.c", line 214: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getuservar_byid(_class_particle *p, int id, int *suc){ ^ "./Histogrammer.c", line 224: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./Histogrammer.c", line 291: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./Histogrammer.c", line 293: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./Histogrammer.c", line 651: 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 */ ^ "./Histogrammer.c", line 879: 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); ^ "./Histogrammer.c", line 896: 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); ^ "./Histogrammer.c", line 898: 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]); ^ "./Histogrammer.c", line 906: 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); ^ "./Histogrammer.c", line 908: 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); ^ "./Histogrammer.c", line 910: 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); ^ "./Histogrammer.c", line 912: 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); ^ "./Histogrammer.c", line 914: 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); ^ "./Histogrammer.c", line 917: 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); ^ "./Histogrammer.c", line 997: 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); ^ "./Histogrammer.c", line 999: 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); ^ "./Histogrammer.c", line 1001: 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); ^ "./Histogrammer.c", line 1003: 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); ^ "./Histogrammer.c", line 1005: 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); ^ "./Histogrammer.c", line 1007: 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); ^ "./Histogrammer.c", line 1009: 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); ^ "./Histogrammer.c", line 1011: 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); ^ "./Histogrammer.c", line 1013: 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); ^ "./Histogrammer.c", line 5555: warning: variable "exists" was set but never used [set_but_not_used] int exists=0; ^ "./Histogrammer.c", line 6439: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Histogrammer.c", line 8607: 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 */ ^ "./Histogrammer.c", line 8609: 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 */ ^ "./Histogrammer.c", line 8616: 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 */ ^ "./Histogrammer.c", line 8636: 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); ^ "./Histogrammer.c", line 8638: 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); ^ "./Histogrammer.c", line 8640: 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, ^ "./Histogrammer.c", line 10160: warning: variable "length" was declared but never referenced [declared_but_not_referenced] long length=0; ^ "/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include/mcpl.h", line 118: warning: invalid attribute for "struct " [attribute_does_not_apply_to_type] typedef struct MCPL_API { ^ "/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include/mcpl.h", line 133: warning: invalid attribute for "struct " [attribute_does_not_apply_to_type] typedef struct MCPL_API { void * internal; } mcpl_file_t; /* file-object used while reading .mcpl */ ^ "/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include/mcpl.h", line 134: warning: invalid attribute for "struct " [attribute_does_not_apply_to_type] typedef struct MCPL_API { void * internal; } mcpl_outfile_t; /* file-object used while writing .mcpl */ ^ "/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include/mcpl.h", line 353: warning: invalid attribute for "struct " [attribute_does_not_apply_to_type] typedef struct MCPL_API { ^ "/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include/mcpl.h", line 391: warning: invalid attribute for "struct " [attribute_does_not_apply_to_type] typedef struct MCPL_API { ^ "./Histogrammer.c", line 10441: warning: Routine "Monitor_nD_Trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Monitor_nD_Trace(MonitornD_Defines_type *, MonitornD_Variables_type *, _class_particle* _particle); ^ "./Histogrammer.c", line 12578: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Histogrammer.c", line 12578: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Histogrammer.c", line 12858: warning: Routine "off_intersect_all" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all(double* t0, double* t3, ^ "./Histogrammer.c", line 12868: warning: Routine "off_intersect_all_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all_idx(double* t0, double* t3, ^ "./Histogrammer.c", line 12892: warning: Routine "off_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect(double* t0, double* t3, ^ "./Histogrammer.c", line 12901: warning: Routine "off_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_idx(double* t0, double* t3, ^ "./Histogrammer.c", line 12922: warning: Routine "off_x_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect(double *l0,double *l3, ^ "./Histogrammer.c", line 12930: warning: Routine "off_x_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect_idx(double *l0,double *l3, ^ "./Histogrammer.c", line 12942: warning: Routine "off_face_prop" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_face_prop(off_struct *data, unsigned long face, int k, double def); ^ "./Histogrammer.c", line 12961: warning: Routine "p_to_quadratic" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void p_to_quadratic(Coords norm, MCNUM d, Coords acc, Coords pos, Coords vel, ^ "./Histogrammer.c", line 12972: warning: Routine "quadraticSolve" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int quadraticSolve(double* eq, double* x1, double* x2); ^ "./Histogrammer.c", line 13029: warning: Routine "off_F" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_F(double x, double y,double z,double A,double B,double C,double D) { ^ "./Histogrammer.c", line 13034: warning: Routine "off_sign" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] char off_sign(double a) { ^ "./Histogrammer.c", line 13042: warning: Routine "off_coord" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_coord(Coords c, int k) { ^ "./Histogrammer.c", line 13050: warning: Routine "off_normal" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_normal(Coords* n, polygon p) ^ "./Histogrammer.c", line 13078: warning: Routine "off_pnpoly" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_pnpoly(polygon p, Coords v) ^ "./Histogrammer.c", line 13130: warning: Routine "off_intersectPoly" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersectPoly(intersection *inter, Coords a, Coords b, polygon p) ^ "./Histogrammer.c", line 13175: warning: Routine "off_insert4" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_insert4(intersection *t, int *t_size, intersection x) ^ "./Histogrammer.c", line 13195: warning: Routine "off_store_intersection" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_store_intersection(intersection *t, int *t_size, intersection x) ^ "./Histogrammer.c", line 13382: warning: Routine "off_init_planes" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_init_planes(Coords a, Coords b, Coords *n1, MCNUM* D1, Coords *n2, MCNUM* D2) ^ "./Histogrammer.c", line 13428: warning: Routine "off_line_hits_box" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_line_hits_box(Coords a, Coords dir, Coords lo, Coords hi) ^ "./Histogrammer.c", line 13453: warning: Routine "off_clip_3D_mod" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_clip_3D_mod(intersection* t, Coords a, Coords b, ^ "./Histogrammer.c", line 13996: warning: Routine "p_to_quadratic" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void p_to_quadratic(Coords norm, MCNUM d, Coords acc, Coords pos, Coords vel, ^ "./Histogrammer.c", line 14013: warning: Routine "quadraticSolve" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int quadraticSolve(double* eq, double* x1, double* x2) ^ "./Histogrammer.c", line 14037: warning: Routine "off_intersect_all_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all_idx(double* t0, double* t3, ^ "./Histogrammer.c", line 14158: warning: Routine "off_intersect_all" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all(double* t0, double* t3, ^ "./Histogrammer.c", line 14183: warning: Routine "off_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect(double* t0, double* t3, ^ "./Histogrammer.c", line 14195: warning: Routine "off_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_idx(double* t0, double* t3, ^ "./Histogrammer.c", line 14221: warning: Routine "off_x_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect_idx(double *l0,double *l3, ^ "./Histogrammer.c", line 14239: warning: Routine "off_x_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect(double *l0,double *l3, ^ "./Histogrammer.c", line 14253: warning: Routine "off_face_prop" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_face_prop(off_struct *data, unsigned long face, int k, double def) ^ "./Histogrammer.c", line 14666: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Histogrammer.c", line 14654: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Histogrammer.c", line 14711: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Histogrammer.c", line 14773: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Histogrammer.c", line 14851: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Histogrammer.c", line 15821: warning: incompatible redefinition of macro "exit" (declared at line 628) [bad_macro_redef] #define exit(...) noprintf() ^ "./Histogrammer.c", line 15833: 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 ^ "./Histogrammer.c", line 16144: warning: Routine "class_MCPL_input_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_MCPL_input_trace(_class_MCPL_input *_comp ^ "./Histogrammer.c", line 16174: warning: variable "buffer" was declared but never referenced [declared_but_not_referenced] mcplinput_particle_t buffer; ^ "./Histogrammer.c", line 16300: warning: Routine "class_Monitor_nD_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Monitor_nD_trace(_class_Monitor_nD *_comp ^ "./Histogrammer.c", line 18059: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Histogrammer.c", line 18060: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Histogrammer.c", line 1591: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ mcgenstate: 102, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 116, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 148, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 172, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 194, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 205, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 214, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 224, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1651, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1655, Generating acc routine seq Generating NVIDIA GPU code str_len: 1664, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 5631, Generating acc routine seq Generating NVIDIA GPU code coords_set: 6118, Generating acc routine seq Generating NVIDIA GPU code coords_get: 6129, Generating acc routine seq Generating NVIDIA GPU code coords_add: 6138, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 6150, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 6162, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 6172, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 6182, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 6190, Generating acc routine seq Generating NVIDIA GPU code coords_len: 6200, Generating acc routine seq Generating NVIDIA GPU code coords_print: 6222, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 6229, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 6275, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 6310, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 6321, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 6338, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 6349, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 6365, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 6394, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 6405, Generating acc routine seq Generating NVIDIA GPU code norm_func: 6409, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 6443, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 6450, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 6459, #pragma acc loop seq 6443, Generating implicit copy(lens[:]) [if not already present] 6450, Generating implicit firstprivate(l,ll) 6461, Accelerator restriction: induction variable live-out from loop: i 6462, Accelerator restriction: induction variable live-out from loop: i 6463, Accelerator restriction: induction variable live-out from loop: i 6464, Accelerator restriction: induction variable live-out from loop: i 6466, Accelerator restriction: induction variable live-out from loop: j 6467, Accelerator restriction: induction variable live-out from loop: j 6468, Accelerator restriction: induction variable live-out from loop: j 6469, Accelerator restriction: induction variable live-out from loop: j 6491, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 6495, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 6498, #pragma acc loop seq 6491, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 6498, Generating implicit firstprivate(l) 6515, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 6519, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 6525, #pragma acc loop seq 6531, #pragma acc loop seq 6515, Local memory used for targetbuffer,sourcebuffer 6525, Complex loop carried dependence of targetbuffer.randstate,sourcebuffer.randstate prevents parallelization Loop carried reuse of targetbuffer.randstate prevents parallelization 6531, Loop is parallelizable mccoordschange: 6579, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 6610, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 6627, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 6726, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 6810, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 6876, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 6953, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 7225, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 7237, Generating acc routine seq Generating NVIDIA GPU code _hash: 7269, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 7310, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 7321, Generating acc routine seq Generating NVIDIA GPU code _rand01: 7326, Generating acc routine seq Generating NVIDIA GPU code _rand01_opague: 7333, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 7344, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 7352, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 7359, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 8076, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 8116, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 8190, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 8207, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 8322, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 8377, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 9470, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 9538, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 9617, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10108, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10124, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10142, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 11519, Generating acc routine seq Generating NVIDIA GPU code off_F: 13029, Generating acc routine seq Generating NVIDIA GPU code off_sign: 13034, Generating acc routine seq Generating NVIDIA GPU code off_coord: 13042, Generating acc routine seq Generating NVIDIA GPU code off_normal: 13051, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 13079, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 13131, Generating acc routine seq Generating NVIDIA GPU code off_insert4: 13176, Generating acc routine seq Generating NVIDIA GPU code off_store_intersection: 13196, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 13383, Generating acc routine seq Generating NVIDIA GPU code off_straddle: 13405, Generating acc routine seq Generating NVIDIA GPU code off_line_hits_box: 13429, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 13456, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 13500, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 13998, Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 14014, Generating acc routine seq Generating NVIDIA GPU code off_intersect_all_idx: 14044, Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 14164, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 14189, Generating acc routine seq Generating NVIDIA GPU code off_intersect_idx: 14202, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect_idx: 14227, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 14244, Generating acc routine seq Generating NVIDIA GPU code off_face_prop: 14254, Generating acc routine seq Generating NVIDIA GPU code init: 15791, Generating update device(_Monitor_var,_Origin_var,_MCPLinput_var,_instrument_var,_Virtualinput_var) class_Progress_bar_trace: 15834, Generating acc routine seq Generating NVIDIA GPU code class_MCPL_input_trace: 16145, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 16301, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 16836, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 16839, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 16839, Generating implicit firstprivate(cloop,_particle,gpu_innerloop,loops,mpi_node_rank,seed) 16848, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 16853, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 16848, Local memory used for .inl_c_15255,_particle_save,.inl_.inl_c_2486_15270,.inl_.inl_.inl_b_2471_2492_15275,.inl_.inl_.inl_.X2478_2470_2491_15274,.inl_.inl_b_2482_15269,.inl_.inl_c_2478_15263,.inl_.inl_.inl_.X2478_2470_2502_15285,.inl_.inl_.X2478_2476_15260,.inl_.inl_b_2477_15261,.inl_.X2462_15247,.inl_.inl_b_2493_15280,.inl_c_15244,.inl_.inl_.inl_b_2471_2503_15286,.inl_.inl_.X2462_2481_15264,.inl_a_15239,.inl_.X2460_15243,.inl_.X2461_15252,.inl_b_15253,.inl_.inl_c_2497_15281 16896, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 16899, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 16896, Local memory used for .inl_.inl_c_2497_15383,.inl_.inl_.inl_b_2471_2503_15388,.inl_.inl_.inl_.X2478_2470_2502_15387,.inl_.inl_b_2493_15382,.inl_.inl_c_2486_15372,.inl_.inl_.inl_b_2471_2492_15377,.inl_.inl_.inl_.X2478_2470_2491_15376,.inl_.inl_b_2482_15371,.inl_.inl_.X2462_2481_15366,.inl_.inl_c_2478_15365,.inl_c_15396,.inl_.inl_b_2477_15363,.inl_.inl_.X2478_2476_15362,.inl_b_15355,.inl_.X2461_15354,.inl_.X2462_15349,.inl_c_15357,.inl_.X2460_15345,.inl_a_15341,_particle_save,.inl_c_15407,.inl_.inl_c_2486_15422,.inl_.inl_.inl_b_2471_2492_15427,.inl_.inl_.inl_.X2478_2470_2491_15426,.inl_.inl_b_2482_15421,.inl_.inl_c_2478_15415,.inl_.inl_.inl_.X2478_2470_2502_15437,.inl_.inl_.X2478_2476_15412,.inl_.inl_b_2477_15413,.inl_.X2462_15399,.inl_.inl_b_2493_15432,.inl_c_15346,.inl_.inl_.inl_b_2471_2503_15438,.inl_.inl_.X2462_2481_15416,.inl_a_15391,.inl_.X2460_15395,.inl_.X2461_15404,.inl_b_15405,.inl_.inl_c_2497_15433 16899, Generating implicit firstprivate(file_mode) finally: 17482, Generating update self(_Monitor_var,_Origin_var,_MCPLinput_var,_instrument_var,_Virtualinput_var) mcenabletrace: 7480, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===