INFO: No output directory specified (--dir) INFO: Using directory: "Histogrammer_20260814_142651" INFO: Regenerating c-file: Histogrammer.c DEBUG: CMD: /users/willend/micromamba/envs/mcstas-dev/bin/mcstas -t -o ./Histogrammer.c Histogrammer.instr Warning: 'Virtual_input' is an obsolete component (not maintained). 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: /users/willend/micromamba/envs/mcstas-dev/bin/mcstas finished INFO: Recompiling: ./Histogrammer.out --> launching cmd: mcpl-config --show buildflags DEBUG: CMD: nvc -o ./Histogrammer.out ./Histogrammer.c -lm -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -DFUNNEL -Wl,-rpath,/users/willend/micromamba/envs/mcstas-dev/lib -Wl,/users/willend/micromamba/envs/mcstas-dev/lib/libmcpl.so -I/users/willend/micromamba/envs/mcstas-dev/include "./Histogrammer.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 " "./Histogrammer.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, ^ "./Histogrammer.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, ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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*); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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){ ^ "./Histogrammer.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){ ^ "./Histogrammer.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(); ^ "./Histogrammer.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); ^ "./Histogrammer.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 */ ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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]); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.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); ^ "./Histogrammer.c", line 4197: warning: variable "exists" was set but never used [set_but_not_used] int exists=0; ^ "./Histogrammer.c", line 4655: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Histogrammer.c", line 5110: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Histogrammer.c", line 5029: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Histogrammer.c", line 6371: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Histogrammer.c", line 7161: 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 7163: 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 7170: 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 7190: 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 7192: 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 7194: 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 8638: warning: variable "length" was declared but never referenced [declared_but_not_referenced] long length=0; ^ "/users/willend/micromamba/envs/mcstas-dev/include/mcpl.h", line 118: warning: invalid attribute for "struct " [attribute_does_not_apply_to_type] typedef struct MCPL_API { ^ "/users/willend/micromamba/envs/mcstas-dev/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 */ ^ "/users/willend/micromamba/envs/mcstas-dev/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 */ ^ "/users/willend/micromamba/envs/mcstas-dev/include/mcpl.h", line 353: warning: invalid attribute for "struct " [attribute_does_not_apply_to_type] typedef struct MCPL_API { ^ "/users/willend/micromamba/envs/mcstas-dev/include/mcpl.h", line 391: warning: invalid attribute for "struct " [attribute_does_not_apply_to_type] typedef struct MCPL_API { ^ "./Histogrammer.c", line 8880: 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 11042: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Histogrammer.c", line 11042: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Histogrammer.c", line 11069: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Histogrammer.c", line 11069: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Histogrammer.c", line 11230: 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 11253: 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 11274: 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 11361: 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 11366: 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 11375: warning: Routine "off_normal" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_normal(Coords* n, polygon p) ^ "./Histogrammer.c", line 11401: 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 11404: 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; ^ "./Histogrammer.c", line 11404: 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; ^ "./Histogrammer.c", line 11404: 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; ^ "./Histogrammer.c", line 11404: 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; ^ "./Histogrammer.c", line 11404: 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; ^ "./Histogrammer.c", line 11404: 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; ^ "./Histogrammer.c", line 11464: 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 11594: warning: Routine "off_init_planes" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_init_planes(Coords a, Coords b, ^ "./Histogrammer.c", line 11638: 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 11759: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Histogrammer.c", line 11871: warning: Routine "off_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_compare (void const *a, void const *b) ^ "./Histogrammer.c", line 11883: warning: Routine "off_cleanDouble" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_cleanDouble(intersection* t, int* t_size) ^ "./Histogrammer.c", line 11918: warning: Routine "off_cleanInOut" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_cleanInOut(intersection* t, int* t_size) ^ "./Histogrammer.c", line 12174: warning: Routine "Min_int" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Min_int(int x, int y) { ^ "./Histogrammer.c", line 12180: warning: Routine "merge" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void merge(intersection *arr, int l, int m, int r) ^ "./Histogrammer.c", line 12919: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Histogrammer.c", line 12907: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Histogrammer.c", line 12964: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Histogrammer.c", line 13026: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Histogrammer.c", line 13100: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Histogrammer.c", line 13542: warning: variable "line" was declared but never referenced [declared_but_not_referenced] char line[256]; ^ "./Histogrammer.c", line 14145: 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 14456: 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 14605: warning: variable "tmpx" was declared but never referenced [declared_but_not_referenced] double tmpx, tmpy, tmpz; ^ "./Histogrammer.c", line 14605: warning: variable "tmpy" was declared but never referenced [declared_but_not_referenced] double tmpx, tmpy, tmpz; ^ "./Histogrammer.c", line 14605: warning: variable "tmpz" was declared but never referenced [declared_but_not_referenced] double tmpx, tmpy, tmpz; ^ "./Histogrammer.c", line 14496: warning: variable "ncount" was set but never used [set_but_not_used] long long ncount; ^ "./Histogrammer.c", line 14680: 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 16527: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Histogrammer.c", line 16528: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Histogrammer.c", line 1518: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Histogrammer.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 Table_Index: 7971, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 8039, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8118, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8586, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8602, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8620, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 10018, Generating acc routine seq Generating NVIDIA GPU code off_F: 11361, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11366, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11376, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11402, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11465, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11596, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11641, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11756, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11872, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11884, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11919, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12174, Generating acc routine seq Generating NVIDIA GPU code merge: 12181, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R p_to_quadratic: 12289, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 12304, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12358, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12475, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12497, Generating acc routine seq Generating NVIDIA GPU code init: 14103, Generating update device(_Monitor_var,_Origin_var,_MCPLinput_var,_instrument_var,_Virtualinput_var) class_Progress_bar_trace: 14146, Generating acc routine seq Generating NVIDIA GPU code class_MCPL_input_trace: 14457, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 14681, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 15211, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 15215, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 15215, Generating implicit firstprivate(seed,_particle) 15224, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 15229, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 15224, Local memory used for _particle_save,.inl_c_13555,.inl_.inl_c_1920_13570,.inl_.inl_.inl_b_1905_1926_13575,.inl_.inl_.inl_.X2304_1904_1925_13574,.inl_.inl_b_1916_13569,.inl_.inl_c_1912_13563,.inl_.inl_.inl_.X2304_1904_1936_13585,.inl_.inl_.X2304_1910_13560,.inl_.inl_b_1911_13561,.inl_.X2288_13547,.inl_.inl_b_1927_13580,.inl_c_13544,.inl_.inl_.inl_b_1905_1937_13586,.inl_.inl_.X2288_1915_13564,.inl_a_13539,.inl_.X2286_13543,.inl_.X2287_13552,.inl_b_13553,.inl_.inl_c_1931_13581 15272, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 15275, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 15272, Local memory used for .inl_.inl_c_1931_13683,.inl_.inl_.inl_b_1905_1937_13688,.inl_.inl_.inl_.X2304_1904_1936_13687,.inl_.inl_b_1927_13682,.inl_.inl_c_1920_13672,.inl_.inl_.inl_b_1905_1926_13677,.inl_.inl_.inl_.X2304_1904_1925_13676,.inl_.inl_b_1916_13671,.inl_.inl_.X2288_1915_13666,.inl_.inl_c_1912_13665,.inl_c_13696,.inl_.inl_b_1911_13663,.inl_.inl_.X2304_1910_13662,.inl_b_13655,.inl_.X2287_13654,.inl_.X2288_13649,.inl_c_13657,.inl_.X2286_13645,.inl_a_13641,_particle_save,.inl_c_13707,.inl_.inl_c_1920_13722,.inl_.inl_.inl_b_1905_1926_13727,.inl_.inl_.inl_.X2304_1904_1925_13726,.inl_.inl_b_1916_13721,.inl_.inl_c_1912_13715,.inl_.inl_.inl_.X2304_1904_1936_13737,.inl_.inl_.X2304_1910_13712,.inl_.inl_b_1911_13713,.inl_.X2288_13699,.inl_.inl_b_1927_13732,.inl_c_13646,.inl_.inl_.inl_b_1905_1937_13738,.inl_.inl_.X2288_1915_13716,.inl_a_13691,.inl_.X2286_13695,.inl_.X2287_13704,.inl_b_13705,.inl_.inl_c_1931_13733 15275, Generating implicit firstprivate(file_mode) finally: 15937, Generating update self(_Monitor_var,_Origin_var,_MCPLinput_var,_instrument_var,_Virtualinput_var) mcenabletrace: 6076, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===