INFO: No output directory specified (--dir) INFO: Using directory: "ISIS_OSIRIS_20250514_082538" INFO: Regenerating c-file: ISIS_OSIRIS.c WARNING: Full-path code-generator "/u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS" not found!! WARNING: Attempting replacement by "mcstas-antlr -I$MCSTAS" DEBUG: CMD: mcstas-antlr -I$MCSTAS -t -o ./ISIS_OSIRIS.c ISIS_OSIRIS.instr 2025-05-14 08:26:10.481 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Guide(0):read_table-lib :Guide(1):ref-lib :ref-lib(0):read_table-lib :Guide_curved(0):ref-lib :Incoherent(0):read_table-lib :Incoherent(1):interoff-lib :Monochromator_pol(0):pol-lib 2025-05-14 08:26:10.481 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib interoff-lib 2025-05-14 08:26:10.482 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib interoff-lib 2025-05-14 08:26:10.482 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib interoff-lib 2025-05-14 08:26:10.482 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib pol-lib 2025-05-14 08:26:19.561 | INFO | mccode_antlr.translators.c:include_source:339 - pol-lib.c requested interpolation-lib but is has not been included yet! The instrument has 3 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component armStart -> GPU kernel from component isis_mod -> GPU kernel from component tofSource -> GPU kernel from component armStraight1 -> GPU kernel from component lamStart -> GPU kernel from component psdStart -> GPU kernel from component guide_straight_1 -> GPU kernel from component armChopper1 -> GPU kernel from component chopper1 -> GPU kernel from component armCurved1 -> GPU kernel from component guide_curved1 -> GPU kernel from component armChopper2 -> GPU kernel from component chopper2 -> GPU kernel from component armCurved2 -> GPU kernel from component guide_curved2 -> GPU kernel from component armStraight2 -> GPU kernel from component guide_straight_2 -> GPU kernel from component armSuper -> GPU kernel from component guide_super -> GPU kernel from component armTarget -> GPU kernel from component lamTarget -> GPU kernel from component psdTarget -> GPU kernel from component vsample1 -> GPU kernel from component vsample2 -> GPU kernel from component vsample3 -> GPU kernel from component beamStop -> GPU kernel from component armAnalyzer -> GPU kernel from component graphite_analyser0 -> GPU kernel from component graphite_analyser1 -> GPU kernel from component graphite_analyser2 -> GPU kernel from component graphite_analyser3 -> GPU kernel from component graphite_analyser4 -> GPU kernel from component graphite_analyser5 -> GPU kernel from component graphite_analyser6 -> GPU kernel from component graphite_analyser7 -> GPU kernel from component graphite_analyser8 -> GPU kernel from component graphite_analyser9 -> GPU kernel from component graphite_analyser10 -> GPU kernel from component graphite_analyser11 -> GPU kernel from component graphite_analyser12 -> GPU kernel from component graphite_analyser13 -> GPU kernel from component graphite_analyser14 -> GPU kernel from component graphite_analyser15 -> GPU kernel from component graphite_analyser16 -> GPU kernel from component graphite_analyser17 -> GPU kernel from component graphite_analyser18 -> GPU kernel from component graphite_analyser19 -> GPU kernel from component graphite_analyser20 -> GPU kernel from component graphite_analyser21 -> GPU kernel from component graphite_analyser22 -> GPU kernel from component graphite_analyser23 -> GPU kernel from component graphite_analyser24 -> GPU kernel from component graphite_analyser25 -> GPU kernel from component graphite_analyser26 -> GPU kernel from component graphite_analyser27 -> GPU kernel from component graphite_analyser28 -> GPU kernel from component graphite_analyser29 -> GPU kernel from component graphite_analyser30 -> GPU kernel from component graphite_analyser31 -> GPU kernel from component graphite_analyser32 -> GPU kernel from component graphite_analyser33 -> GPU kernel from component graphite_analyser34 -> GPU kernel from component graphite_analyser35 -> GPU kernel from component graphite_analyser36 -> GPU kernel from component graphite_analyser37 -> GPU kernel from component graphite_analyser38 -> GPU kernel from component graphite_analyser39 -> GPU kernel from component armHelp -> GPU kernel from component armDetector -> GPU kernel from component lamDetector -> GPU kernel from component psdDetector -> GPU kernel from component tofDetector ----------------------------------------------------------- DEBUG: CMD: mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./ISIS_OSIRIS.out DEBUG: CMD: nvc -o ./ISIS_OSIRIS.out ./ISIS_OSIRIS.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC "./ISIS_OSIRIS.c", line 95: 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 " "./ISIS_OSIRIS.c", line 97: 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, double t, double sx, double sy, double sz, double p, int mcgravitation, void * mcMagnet, int allow_backprop); ^ "./ISIS_OSIRIS.c", line 99: 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 mcparticle, double * x, double * y, double * z, double * vx, double * vy, double * vz, double * t, double * sx, double * sy, double * sz, double * p); ^ "./ISIS_OSIRIS.c", line 113: 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); ^ "./ISIS_OSIRIS.c", line 117: 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); ^ "./ISIS_OSIRIS.c", line 147: 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); ^ "./ISIS_OSIRIS.c", line 117: 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); ^ "./ISIS_OSIRIS.c", line 181: 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*); ^ "./ISIS_OSIRIS.c", line 208: 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); ^ "./ISIS_OSIRIS.c", line 221: 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); ^ "./ISIS_OSIRIS.c", line 238: 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){ ^ "./ISIS_OSIRIS.c", line 250: 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){ ^ "./ISIS_OSIRIS.c", line 324: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./ISIS_OSIRIS.c", line 326: 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); ^ "./ISIS_OSIRIS.c", line 676: 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 */ ^ "./ISIS_OSIRIS.c", line 897: 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); ^ "./ISIS_OSIRIS.c", line 914: 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); ^ "./ISIS_OSIRIS.c", line 916: 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]); ^ "./ISIS_OSIRIS.c", line 924: 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); ^ "./ISIS_OSIRIS.c", line 926: 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); ^ "./ISIS_OSIRIS.c", line 928: 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); ^ "./ISIS_OSIRIS.c", line 930: 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); ^ "./ISIS_OSIRIS.c", line 932: 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); ^ "./ISIS_OSIRIS.c", line 1028: 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); ^ "./ISIS_OSIRIS.c", line 1030: 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); ^ "./ISIS_OSIRIS.c", line 1032: 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); ^ "./ISIS_OSIRIS.c", line 1034: 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); ^ "./ISIS_OSIRIS.c", line 1036: 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); ^ "./ISIS_OSIRIS.c", line 1038: 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); ^ "./ISIS_OSIRIS.c", line 1040: 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); ^ "./ISIS_OSIRIS.c", line 1042: 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); ^ "./ISIS_OSIRIS.c", line 1044: 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); ^ "./ISIS_OSIRIS.c", line 4596: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./ISIS_OSIRIS.c", line 6297: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./ISIS_OSIRIS.c", line 7015: 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 */ ^ "./ISIS_OSIRIS.c", line 7017: 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 */ ^ "./ISIS_OSIRIS.c", line 7024: 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 */ ^ "./ISIS_OSIRIS.c", line 7044: 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); ^ "./ISIS_OSIRIS.c", line 7046: 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); ^ "./ISIS_OSIRIS.c", line 7048: 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, ^ "./ISIS_OSIRIS.c", line 7344: 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, ^ "./ISIS_OSIRIS.c", line 7367: 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, ^ "./ISIS_OSIRIS.c", line 7388: 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, ^ "./ISIS_OSIRIS.c", line 7811: warning: nested comment is not allowed [nested_comment] /* ^ "./ISIS_OSIRIS.c", line 7795: warning: variable "Efrac" was declared but never referenced [declared_but_not_referenced] double Efrac; // Fraction of an Energy Bin ^ "./ISIS_OSIRIS.c", line 7805: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./ISIS_OSIRIS.c", line 7955: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./ISIS_OSIRIS.c", line 7958: warning: variable "Rend" was set but never used [set_but_not_used] double R0,R1,R,Rend; ^ "./ISIS_OSIRIS.c", line 7963: warning: variable "Estart" was set but never used [set_but_not_used] double Espread,Estart; ^ "./ISIS_OSIRIS.c", line 7964: warning: variable "EX" was declared but never referenced [declared_but_not_referenced] double *EX; ^ "/usr/include/math.h", line 30: warning: #warning directive: A macro called log was already defined when was included. [warning_directive] # warning A macro called log was already defined when was included. ^ "/usr/include/math.h", line 31: warning: #warning directive: This will cause compilation problems. [warning_directive] # warning This will cause compilation problems. ^ "./ISIS_OSIRIS.c", line 10692: warning: Routine "interpolator_interpolate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double *interpolator_interpolate(struct interpolator_struct *interpolator, ^ "./ISIS_OSIRIS.c", line 10703: warning: Routine "interpolator_interpolate3_3" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double *interpolator_interpolate3_3(struct interpolator_struct *interpolator, ^ "./ISIS_OSIRIS.c", line 10793: warning: Routine "kdtree_squaredDistance" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double kdtree_squaredDistance(vertex* a, vertex* b) ^ "./ISIS_OSIRIS.c", line 10809: warning: Routine "kdtree_borderCheck" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void kdtree_borderCheck(vertex *v, treeNode *thisNode, ^ "./ISIS_OSIRIS.c", line 10844: warning: Routine "kdtree_partition" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int kdtree_partition(vertex **points, int d, int left, int right, int pivot) ^ "./ISIS_OSIRIS.c", line 10919: warning: Routine "kdtree_nearestNeighbour_helper" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void kdtree_nearestNeighbour_helper(vertex* v, treeNode *tree, ^ "./ISIS_OSIRIS.c", line 10959: warning: Routine "kdtree_nearestNeighbour" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] vertex* kdtree_nearestNeighbour(vertex* v, treeNode *tree) { ^ "./ISIS_OSIRIS.c", line 11029: warning: Routine "interpolator_offset" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] long interpolator_offset(int dim, long *dimInfo, long *indices) { ^ "./ISIS_OSIRIS.c", line 11249: warning: variable "count" was declared but never referenced [declared_but_not_referenced] long count=0; ^ "./ISIS_OSIRIS.c", line 11341: warning: missing return statement at end of non-void function "interpolator_interpolate" [implicit_return_from_non_void_function] } // interpolator_interpolate ^ "./ISIS_OSIRIS.c", line 11891: 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) { ^ "./ISIS_OSIRIS.c", line 11896: 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) { ^ "./ISIS_OSIRIS.c", line 11905: 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) ^ "./ISIS_OSIRIS.c", line 11931: 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) ^ "./ISIS_OSIRIS.c", line 11934: 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; ^ "./ISIS_OSIRIS.c", line 11934: 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; ^ "./ISIS_OSIRIS.c", line 11934: 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; ^ "./ISIS_OSIRIS.c", line 11934: 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; ^ "./ISIS_OSIRIS.c", line 11934: 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; ^ "./ISIS_OSIRIS.c", line 11934: 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; ^ "./ISIS_OSIRIS.c", line 11994: 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) ^ "./ISIS_OSIRIS.c", line 12124: 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, ^ "./ISIS_OSIRIS.c", line 12168: 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, ^ "./ISIS_OSIRIS.c", line 12291: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ISIS_OSIRIS.c", line 12405: 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) ^ "./ISIS_OSIRIS.c", line 12417: 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) ^ "./ISIS_OSIRIS.c", line 12452: 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) ^ "./ISIS_OSIRIS.c", line 12704: 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) { ^ "./ISIS_OSIRIS.c", line 12710: 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) ^ "./ISIS_OSIRIS.c", line 13277: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_OSIRIS.c", line 18938: warning: incompatible redefinition of macro "strcmp" (declared at line 11297) [bad_macro_redef] #define strcmp(a,b) str_comp(a,b) ^ "./ISIS_OSIRIS.c", line 18949: warning: Routine "class_Arm_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Arm *class_Arm_trace(_class_Arm *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 18993: warning: Routine "class_ISIS_moderator_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_ISIS_moderator *class_ISIS_moderator_trace(_class_ISIS_moderator *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 19024: warning: variable "E" was declared but never referenced [declared_but_not_referenced] double v,r,E; ^ "./ISIS_OSIRIS.c", line 19125: warning: Routine "class_TOF_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_TOF_monitor *class_TOF_monitor_trace(_class_TOF_monitor *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 19206: warning: Routine "class_L_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_L_monitor *class_L_monitor_trace(_class_L_monitor *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 19279: warning: Routine "class_PSD_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_PSD_monitor *class_PSD_monitor_trace(_class_PSD_monitor *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 19350: warning: Routine "class_Guide_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Guide *class_Guide_trace(_class_Guide *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 19503: warning: Routine "class_DiskChopper_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_DiskChopper *class_DiskChopper_trace(_class_DiskChopper *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 19593: warning: Routine "class_Guide_curved_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Guide_curved *class_Guide_curved_trace(_class_Guide_curved *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 19608: warning: variable "ii" was set but never used [set_but_not_used] int ii, i_bounce; ^ "./ISIS_OSIRIS.c", line 19695: warning: Routine "class_Incoherent_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Incoherent *class_Incoherent_trace(_class_Incoherent *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 19735: warning: variable "l_i" was set but never used [set_but_not_used] double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ISIS_OSIRIS.c", line 19735: warning: variable "l_o" was declared but never referenced [declared_but_not_referenced] double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ISIS_OSIRIS.c", line 19994: warning: Routine "class_Beamstop_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Beamstop *class_Beamstop_trace(_class_Beamstop *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 20040: warning: Routine "class_Monochromator_pol_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Monochromator_pol *class_Monochromator_pol_trace(_class_Monochromator_pol *_comp, _class_particle *_particle) { ^ "./ISIS_OSIRIS.c", line 20059: warning: variable "y1" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./ISIS_OSIRIS.c", line 20059: warning: variable "z1" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./ISIS_OSIRIS.c", line 20059: warning: variable "t1" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./ISIS_OSIRIS.c", line 20059: warning: variable "dt" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./ISIS_OSIRIS.c", line 20062: warning: variable "sx_in" was declared but never referenced [declared_but_not_referenced] double sx_in, sy_in, sz_in; ^ "./ISIS_OSIRIS.c", line 20062: warning: variable "sy_in" was declared but never referenced [declared_but_not_referenced] double sx_in, sy_in, sz_in; ^ "./ISIS_OSIRIS.c", line 20062: warning: variable "sz_in" was declared but never referenced [declared_but_not_referenced] double sx_in, sy_in, sz_in; ^ "./ISIS_OSIRIS.c", line 20063: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./ISIS_OSIRIS.c", line 20374: warning: Routine "raytrace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int raytrace(_class_particle* _particle) { /* single event propagation, called by mccode_main for ISIS_OSIRIS:TRACE */ ^ "./ISIS_OSIRIS.c", line 24786: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ISIS_OSIRIS.c", line 24787: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ISIS_OSIRIS.c", line 1533: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ISIS_OSIRIS.c", line 2953: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 106, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 120, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 154, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 183, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 210, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 222, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 238, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 250, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1581, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1585, Generating acc routine seq Generating NVIDIA GPU code str_len: 1594, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4217, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4648, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4659, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4668, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4680, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4692, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4702, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4712, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4720, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4730, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4752, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4759, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4805, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4840, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4851, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4868, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4879, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4895, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4924, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4935, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4939, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5116, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5147, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5164, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5263, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5347, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5413, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5490, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5762, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5774, Generating acc routine seq Generating NVIDIA GPU code _hash: 5806, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5847, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5858, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5863, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5871, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5879, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5886, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6564, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6601, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6661, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6678, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6793, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6848, Generating acc routine seq Generating NVIDIA GPU code polInterp: 7541, Generating acc routine seq Generating NVIDIA GPU code binSearch: 7598, Generating acc routine seq Generating NVIDIA GPU code getPoint: 7954, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 9649, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 9717, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 9796, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10264, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10280, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10298, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 10365, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 10424, Generating acc routine seq Generating NVIDIA GPU code kdtree_squaredDistance: 10794, Generating acc routine seq Generating NVIDIA GPU code kdtree_borderCheck: 10811, Generating acc routine seq Generating NVIDIA GPU code kdtree_partition: 10845, Generating acc routine seq Generating NVIDIA GPU code kdtree_nearestNeighbour_helper: 10921, Generating acc routine seq Generating NVIDIA GPU code kdtree_nearestNeighbour: 10959, Generating acc routine seq Generating NVIDIA GPU code interpolator_offset: 11029, Generating acc routine seq Generating NVIDIA GPU code interpolator_load: 11233, Generating copyin(array[:prod]) [if not already present] interpolator_interpolate: 11294, Generating acc routine seq Generating NVIDIA GPU code interpolator_interpolate3_3: 11353, Generating acc routine seq Generating NVIDIA GPU code magnetic_field_dispatcher: 11440, Generating acc routine seq Generating NVIDIA GPU code mcmagnet_get_field: 11479, Generating acc routine seq Generating NVIDIA GPU code mcmagnet_push: 11520, Generating acc routine seq Generating NVIDIA GPU code mcmagnet_pop: 11553, Generating acc routine seq Generating NVIDIA GPU code const_magnetic_field: 11578, Generating acc routine seq Generating NVIDIA GPU code rot_magnetic_field: 11588, Generating acc routine seq Generating NVIDIA GPU code majorana_magnetic_field: 11602, Generating acc routine seq Generating NVIDIA GPU code gradient_magnetic_field: 11618, Generating acc routine seq Generating NVIDIA GPU code GetMonoPolFNFM: 11645, Generating acc routine seq Generating NVIDIA GPU code GetMonoPolRefProb: 11674, Generating acc routine seq Generating NVIDIA GPU code SetMonoPolRefOut: 11698, Generating acc routine seq Generating NVIDIA GPU code SetMonoPolTransOut: 11725, Generating acc routine seq Generating NVIDIA GPU code SimpleNumMagnetPrecession: 11745, Generating acc routine seq Generating NVIDIA GPU code 11778, Reference argument passing prevents parallelization: BzTemp Reference argument passing prevents parallelization: ByTemp Reference argument passing prevents parallelization: BxTemp GetConstantField: 11840, Generating acc routine seq Generating NVIDIA GPU code off_F: 11891, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11896, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11906, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11932, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11995, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 12126, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 12171, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 12288, Generating acc routine seq Generating NVIDIA GPU code off_compare: 12406, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 12418, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 12453, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12704, Generating acc routine seq Generating NVIDIA GPU code merge: 12711, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12815, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 12830, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12884, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 13001, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 13023, Generating acc routine seq Generating NVIDIA GPU code init: 18908, Generating update device(_armHelp_var,_instrument_var,_tofDetector_var,_armStart_var,_lamDetector_var,_psdDetector_var,_guide_curved2_var,_armAnalyzer_var,_beamStop_var,_armChopper2_var,_graphite_analyser9_var,_armChopper1_var,_chopper1_var,_armCurved1_var,_guide_curved1_var,_armStraight1_var,_guide_straight_1_var,_armStraight2_var,_guide_straight_2_var,_armSuper_var,_lamStart_var,_psdStart_var,_tofSource_var,_vsample1_var,_vsample3_var,_vsample2_var,_armTarget_var,_chopper2_var,_graphite_analyser19_var,_graphite_analyser29_var,_graphite_analyser39_var,_graphite_analyser3_var,_graphite_analyser4_var,_graphite_analyser5_var,_graphite_analyser6_var,_graphite_analyser7_var,_graphite_analyser8_var,_graphite_analyser0_var,_graphite_analyser10_var,_graphite_analyser11_var,_graphite_analyser12_var,_graphite_analyser13_var,_graphite_analyser14_var,_graphite_analyser15_var,_graphite_analyser16_var,_graphite_analyser17_var,_graphite_analyser18_var,_graphite_analyser1_var,_graphite_analyser20_var,_graphite_analyser21_var,_graphite_analyser22_var,_graphite_analyser23_var,_graphite_analyser24_var,_graphite_analyser25_var,_graphite_analyser26_var,_graphite_analyser27_var,_graphite_analyser28_var,_graphite_analyser2_var,_graphite_analyser30_var,_graphite_analyser31_var,_graphite_analyser32_var,_graphite_analyser33_var,_graphite_analyser34_var,_graphite_analyser35_var,_graphite_analyser36_var,_graphite_analyser37_var,_graphite_analyser38_var,_armDetector_var,_armCurved2_var,_isis_mod_var,_lamTarget_var,_psdTarget_var,_guide_super_var) class_Arm_trace: 18949, Generating acc routine seq Generating NVIDIA GPU code class_ISIS_moderator_trace: 18993, Generating acc routine seq Generating NVIDIA GPU code class_TOF_monitor_trace: 19125, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 19206, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 19279, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 19350, Generating acc routine seq Generating NVIDIA GPU code class_DiskChopper_trace: 19503, Generating acc routine seq Generating NVIDIA GPU code class_Guide_curved_trace: 19593, Generating acc routine seq Generating NVIDIA GPU code class_Incoherent_trace: 19695, Generating acc routine seq Generating NVIDIA GPU code 19892, Reference argument passing prevents parallelization: solid_angle 19895, Reference argument passing prevents parallelization: solid_angle class_Beamstop_trace: 19994, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_pol_trace: 20040, Generating acc routine seq Generating NVIDIA GPU code raytrace: 20374, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 22006, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 22020, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 22006, Local memory used for .inl_particle_34615,particleN,.inl_.inl_mcneutron_0_34630,.inl_.X2138_34632,.inl_.inl_.X2346_15_34631 22020, Generating implicit firstprivate(seed,_particle) finally: 23680, Generating update self(_armHelp_var,_instrument_var,_tofDetector_var,_armStart_var,_lamDetector_var,_psdDetector_var,_guide_curved2_var,_armAnalyzer_var,_beamStop_var,_armChopper2_var,_graphite_analyser9_var,_armChopper1_var,_chopper1_var,_armCurved1_var,_guide_curved1_var,_armStraight1_var,_guide_straight_1_var,_armStraight2_var,_guide_straight_2_var,_armSuper_var,_lamStart_var,_psdStart_var,_tofSource_var,_vsample1_var,_vsample3_var,_vsample2_var,_armTarget_var,_chopper2_var,_graphite_analyser19_var,_graphite_analyser29_var,_graphite_analyser39_var,_graphite_analyser3_var,_graphite_analyser4_var,_graphite_analyser5_var,_graphite_analyser6_var,_graphite_analyser7_var,_graphite_analyser8_var,_graphite_analyser0_var,_graphite_analyser10_var,_graphite_analyser11_var,_graphite_analyser12_var,_graphite_analyser13_var,_graphite_analyser14_var,_graphite_analyser15_var,_graphite_analyser16_var,_graphite_analyser17_var,_graphite_analyser18_var,_graphite_analyser1_var,_graphite_analyser20_var,_graphite_analyser21_var,_graphite_analyser22_var,_graphite_analyser23_var,_graphite_analyser24_var,_graphite_analyser25_var,_graphite_analyser26_var,_graphite_analyser27_var,_graphite_analyser28_var,_graphite_analyser2_var,_graphite_analyser30_var,_graphite_analyser31_var,_graphite_analyser32_var,_graphite_analyser33_var,_graphite_analyser34_var,_graphite_analyser35_var,_graphite_analyser36_var,_graphite_analyser37_var,_graphite_analyser38_var,_armDetector_var,_armCurved2_var,_isis_mod_var,_lamTarget_var,_psdTarget_var,_guide_super_var) mcenabletrace: 6006, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===