INFO: No output directory specified (--dir) INFO: Using directory: "RITA-II_20250514_090746" INFO: Regenerating c-file: RITA-II.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 ./RITA-II.c RITA-II.instr 2025-05-14 09:08:07.311 | INFO | mccode_antlr.instr.instance:set_parameter:123 - Multiple definitions of restore_neutron in component instance divmon_guide_end 2025-05-14 09:08:53.877 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen4(0):read_table-lib :Guide(0):read_table-lib :Guide(1):ref-lib :ref-lib(0):read_table-lib :Monochromator_curved(0):read_table-lib :Filter_gen(0):read_table-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib :Incoherent(0):read_table-lib :Incoherent(1):interoff-lib :PowderN(0):read_table-lib :PowderN(1):interoff-lib :Single_crystal(0):read_table-lib :Single_crystal(1):interoff-lib :Single_crystal(2):opencl-lib 2025-05-14 09:08:53.877 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2025-05-14 09:08:53.877 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib opencl-lib monitor_nd-lib 2025-05-14 09:08:53.877 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2025-05-14 09:08:53.877 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib opencl-lib ref-lib 2025-05-14 09:08:53.878 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2025-05-14 09:08:53.878 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2025-05-14 09:08:53.878 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib opencl-lib monitor_nd-lib 2025-05-14 09:08:53.878 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2025-05-14 09:08:58.328 | INFO | mccode_antlr.translators.c_listener:visitDeclarator:341 - Could not convert an integer from ('MCSX_REFL_SLIST_SIZE',) due to invalid literal for int() with base 10: 'MCSX_REFL_SLIST_SIZE' The instrument has 85 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT SPLITMREP at component monochromator_curved -> SPLIT SPLITREP at component a3 -> SPLIT SPLITAREP at component focus_ana ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component armSource -> GPU kernel from component source -> GPU kernel from component slitGuideBegin -> GPU kernel from component lmon_guide_start -> GPU kernel from component guideStraight -> GPU kernel from component guideCurved1 -> GPU kernel from component guideCurved2 -> GPU kernel from component guideCurved3 -> GPU kernel from component guideCurved4 -> GPU kernel from component guideCurved5 -> GPU kernel from component guideCurved6 -> GPU kernel from component guideCurved7 -> GPU kernel from component guideCurved8 -> GPU kernel from component guideCurved9 -> GPU kernel from component guideCurved10 -> GPU kernel from component guideCurved11 -> GPU kernel from component guideCurved12 -> GPU kernel from component guideCurved13 -> GPU kernel from component guideCurved14 -> GPU kernel from component guideCurved15 -> GPU kernel from component guideCurved16 -> GPU kernel from component guideCurved17 -> GPU kernel from component guideCurved18 -> GPU kernel from component guideCurved19 -> GPU kernel from component guideCurved20 -> GPU kernel from component guideCurved21 -> GPU kernel from component guideCurved22 -> GPU kernel from component guideCurved23 -> GPU kernel from component guideCurved24 -> GPU kernel from component guideCurved25 -> GPU kernel from component guideCurved26 -> GPU kernel from component guideCurved27 -> GPU kernel from component guideCurved28 -> GPU kernel from component guideCurved29 -> GPU kernel from component guideCurved30 -> GPU kernel from component guideCurved31 -> GPU kernel from component guideCurved32 -> GPU kernel from component guideCurved33 -> GPU kernel from component guideCurved34 -> GPU kernel from component guideCurved35 -> GPU kernel from component guideCurved36 -> GPU kernel from component guideCurved37 -> GPU kernel from component guideCurved38 -> GPU kernel from component guideCurved39 -> GPU kernel from component guideCurved40 -> GPU kernel from component bunker -> GPU kernel from component guide3 -> GPU kernel from component slitGuideEnd -> GPU kernel from component psd_guide_end -> GPU kernel from component emon_guide_end -> GPU kernel from component lmon_guide_end -> GPU kernel from component divmon_guide_end -> GPU kernel from component focus_mono -> SPLIT within buffer at component monochromator_curved -> GPU kernel from component a2 -> GPU kernel from component slitShutter -> GPU kernel from component MSCollimator -> GPU kernel from component infilter -> GPU kernel from component psd_virt -> GPU kernel from component lmon_virt -> GPU kernel from component aa2 -> GPU kernel from component OrderMon -> GPU kernel from component kMoni -> GPU kernel from component kMoni1st -> GPU kernel from component kMoni2nd -> GPU kernel from component kMoni3rd -> GPU kernel from component slitMonochromator -> GPU kernel from component Perspex -> GPU kernel from component psd_samplepos_1cm2 -> GPU kernel from component emon_samplepos_1cm2 -> GPU kernel from component divmon_samplepos_1cm2 -> GPU kernel from component psd_samplepos_large -> SPLIT within buffer at component a3 -> GPU kernel from component aa3 -> GPU kernel from component incohSample -> GPU kernel from component powderSample -> GPU kernel from component crystalSample -> GPU kernel from component phononSample -> GPU kernel from component psd_4pi -> GPU kernel from component a4 -> GPU kernel from component slitSample -> GPU kernel from component filter_coll -> GPU kernel from component filter -> GPU kernel from component ana_slit1 -> GPU kernel from component ana_slit2 -> GPU kernel from component emon_before_ana -> GPU kernel from component psd_before_ana -> GPU kernel from component divmon_before_ana -> SPLIT within buffer at component focus_ana -> GPU kernel from component an1l -> GPU kernel from component an1u -> GPU kernel from component an2l -> GPU kernel from component an2u -> GPU kernel from component an3l -> GPU kernel from component an3u -> GPU kernel from component an4l -> GPU kernel from component an4u -> GPU kernel from component an5l -> GPU kernel from component an5u -> GPU kernel from component an6l -> GPU kernel from component an6u -> GPU kernel from component an7l -> GPU kernel from component an7u -> GPU kernel from component an8l -> GPU kernel from component an8u -> GPU kernel from component an9l -> GPU kernel from component an9u -> GPU kernel from component a6 -> GPU kernel from component emon_before_coarse -> GPU kernel from component psd_before_coarse -> GPU kernel from component ArmR1 -> GPU kernel from component BladeR1 -> GPU kernel from component ArmR2 -> GPU kernel from component BladeR2 -> GPU kernel from component ArmR3 -> GPU kernel from component BladeR3 -> GPU kernel from component ArmR4 -> GPU kernel from component BladeR4 -> GPU kernel from component ArmR5 -> GPU kernel from component BladeR5 -> GPU kernel from component ArmL1 -> GPU kernel from component BladeL1 -> GPU kernel from component ArmL2 -> GPU kernel from component BladeL2 -> GPU kernel from component ArmL3 -> GPU kernel from component BladeL3 -> GPU kernel from component ArmL4 -> GPU kernel from component BladeL4 -> GPU kernel from component ArmL5 -> GPU kernel from component BladeL5 -> GPU kernel from component psd_detector -> GPU kernel from component emon_detector -> GPU kernel from component psd_window1 -> GPU kernel from component emon_window1 -> GPU kernel from component psd_window2 -> GPU kernel from component emon_window2 -> GPU kernel from component psd_window3 -> GPU kernel from component emon_window3 -> GPU kernel from component psd_window4 -> GPU kernel from component emon_window4 -> GPU kernel from component psd_window5 -> GPU kernel from component emon_window5 -> GPU kernel from component psd_window6 -> GPU kernel from component emon_window6 -> GPU kernel from component psd_window7 -> GPU kernel from component emon_window7 -> GPU kernel from component psd_window8 -> GPU kernel from component emon_window8 -> GPU kernel from component psd_window9 -> GPU kernel from component emon_window9 ----------------------------------------------------------- DEBUG: CMD: mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./RITA-II.out DEBUG: CMD: nvc -o ./RITA-II.out ./RITA-II.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 "./RITA-II.c", line 99: 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 " "./RITA-II.c", line 101: 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); ^ "./RITA-II.c", line 103: 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); ^ "./RITA-II.c", line 117: 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); ^ "./RITA-II.c", line 121: 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); ^ "./RITA-II.c", line 155: 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); ^ "./RITA-II.c", line 121: 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); ^ "./RITA-II.c", line 193: 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*); ^ "./RITA-II.c", line 224: 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); ^ "./RITA-II.c", line 237: 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); ^ "./RITA-II.c", line 254: 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){ ^ "./RITA-II.c", line 270: 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){ ^ "./RITA-II.c", line 348: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./RITA-II.c", line 350: 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); ^ "./RITA-II.c", line 700: 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 */ ^ "./RITA-II.c", line 921: 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); ^ "./RITA-II.c", line 938: 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); ^ "./RITA-II.c", line 940: 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]); ^ "./RITA-II.c", line 948: 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); ^ "./RITA-II.c", line 950: 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); ^ "./RITA-II.c", line 952: 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); ^ "./RITA-II.c", line 954: 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); ^ "./RITA-II.c", line 956: 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); ^ "./RITA-II.c", line 1052: 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); ^ "./RITA-II.c", line 1054: 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); ^ "./RITA-II.c", line 1056: 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); ^ "./RITA-II.c", line 1058: 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); ^ "./RITA-II.c", line 1060: 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); ^ "./RITA-II.c", line 1062: 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); ^ "./RITA-II.c", line 1064: 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); ^ "./RITA-II.c", line 1066: 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); ^ "./RITA-II.c", line 1068: 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); ^ "./RITA-II.c", line 4620: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./RITA-II.c", line 6321: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./RITA-II.c", line 7039: 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 */ ^ "./RITA-II.c", line 7041: 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 */ ^ "./RITA-II.c", line 7048: 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 */ ^ "./RITA-II.c", line 7068: 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); ^ "./RITA-II.c", line 7070: 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); ^ "./RITA-II.c", line 7072: 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, ^ "./RITA-II.c", line 7316: 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); ^ "./RITA-II.c", line 7442: 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, ^ "./RITA-II.c", line 7465: 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, ^ "./RITA-II.c", line 7486: 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, ^ "./RITA-II.c", line 7811: warning: variable "valid" was declared but never referenced [declared_but_not_referenced] char *valid; ^ "./RITA-II.c", line 7854: warning: Routine "GAUSS_monocurved" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double GAUSS_monocurved(double x, double mean, double rms){ ^ "./RITA-II.c", line 8417: warning: Routine "SX_list_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int SX_list_compare (void const *a, void const *b) ^ "./RITA-II.c", line 8940: warning: Routine "hkl_search" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_search(struct hkl_data *L, void *TT, int count, double V0, ^ "./RITA-II.c", line 8953: warning: variable "jglobal" was declared but never referenced [declared_but_not_referenced] int jglobal=-1; ^ "./RITA-II.c", line 8954: warning: variable "coherent_refl" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./RITA-II.c", line 8954: warning: variable "coherent_xsect" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./RITA-II.c", line 9055: warning: Routine "hkl_select" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_select(struct tau_data *T, int tau_count, double coh_refl, double *sum,_class_particle *_particle) { ^ "./RITA-II.c", line 9070: warning: Routine "randrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randrotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./RITA-II.c", line 9078: warning: Routine "randderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randderotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./RITA-II.c", line 9086: warning: Routine "PGrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void PGrotate(double *nx, double *ny, double *nz, double a, double csx, double csy, double csz) { ^ "./RITA-II.c", line 9094: warning: Routine "PGderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void PGderotate(double *nx, double *ny, double *nz, double a, double csx, double csy, double csz) { ^ "./RITA-II.c", line 9105: warning: Routine "vec_rotate_2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void vec_rotate_2d(double* x, double* y, double angle) { ^ "./RITA-II.c", line 9135: warning: Routine "nbose" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double nbose(double omega, double T) /* Other name ?? */ ^ "./RITA-II.c", line 9154: warning: Routine "fatalerror" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void fatalerror(char *s) ^ "./RITA-II.c", line 9162: warning: Routine "omega_q" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double omega_q(double* parms) ^ "./RITA-II.c", line 9166: warning: variable "q" was set but never used [set_but_not_used] double q, qx, qy, qz, Jq, res_phonon, res_neutron; ^ "./RITA-II.c", line 9265: warning: Routine "zridd_gpu" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double zridd_gpu(double x1, double x2, double *parms, double xacc) ^ "./RITA-II.c", line 9352: warning: missing return statement at end of non-void function "findroots" [implicit_return_from_non_void_function] } ^ "./RITA-II.c", line 9355: warning: Routine "findroots_gpu" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int findroots_gpu(double brack_low, double brack_mid, double brack_high, double *list, int* index, double *parms) ^ "./RITA-II.c", line 9375: warning: missing return statement at end of non-void function "findroots_gpu" [implicit_return_from_non_void_function] } ^ "./RITA-II.c", line 14505: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./RITA-II.c", line 14505: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./RITA-II.c", line 14532: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./RITA-II.c", line 14532: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./RITA-II.c", line 14616: 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) { ^ "./RITA-II.c", line 14621: 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) { ^ "./RITA-II.c", line 14630: 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) ^ "./RITA-II.c", line 14656: 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) ^ "./RITA-II.c", line 14659: 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; ^ "./RITA-II.c", line 14659: 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; ^ "./RITA-II.c", line 14659: 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; ^ "./RITA-II.c", line 14659: 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; ^ "./RITA-II.c", line 14659: 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; ^ "./RITA-II.c", line 14659: 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; ^ "./RITA-II.c", line 14719: 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) ^ "./RITA-II.c", line 14849: 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, ^ "./RITA-II.c", line 14893: 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, ^ "./RITA-II.c", line 15016: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./RITA-II.c", line 15130: 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) ^ "./RITA-II.c", line 15142: 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) ^ "./RITA-II.c", line 15177: 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) ^ "./RITA-II.c", line 15429: 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) { ^ "./RITA-II.c", line 15435: 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) ^ "./RITA-II.c", line 16711: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./RITA-II.c", line 28219: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./RITA-II.c", line 28219: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./RITA-II.c", line 28219: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./RITA-II.c", line 28220: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./RITA-II.c", line 29074: warning: subscript out of range [subscript_out_of_range] XwinMin[9] = 106; ^ "./RITA-II.c", line 29085: warning: subscript out of range [subscript_out_of_range] XwinMax[9] = 115; ^ "./RITA-II.c", line 29096: warning: subscript out of range [subscript_out_of_range] YwinMin[9] = 39; ^ "./RITA-II.c", line 29107: warning: subscript out of range [subscript_out_of_range] YwinMax[9] = 91; ^ "./RITA-II.c", line 28774: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] double tmp=0; ^ "./RITA-II.c", line 29678: 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] _class_Progress_bar *class_Progress_bar_trace(_class_Progress_bar *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 29768: warning: Routine "class_Source_gen4_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Source_gen4 *class_Source_gen4_trace(_class_Source_gen4 *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 30010: warning: Routine "class_Slit_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Slit *class_Slit_trace(_class_Slit *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 30054: 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) { ^ "./RITA-II.c", line 30127: 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) { ^ "./RITA-II.c", line 30280: 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) { ^ "./RITA-II.c", line 30351: warning: Routine "class_E_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_E_monitor *class_E_monitor_trace(_class_E_monitor *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 30438: warning: Routine "class_Divergence_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Divergence_monitor *class_Divergence_monitor_trace(_class_Divergence_monitor *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 30463: warning: variable "v" was declared but never referenced [declared_but_not_referenced] double v, vn; ^ "./RITA-II.c", line 30528: 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) { ^ "./RITA-II.c", line 30574: warning: Routine "class_Monochromator_curved_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Monochromator_curved *class_Monochromator_curved_trace(_class_Monochromator_curved *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 30936: warning: Routine "class_Collimator_linear_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Collimator_linear *class_Collimator_linear_trace(_class_Collimator_linear *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 31010: warning: Routine "class_Filter_gen_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Filter_gen *class_Filter_gen_trace(_class_Filter_gen *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 31093: 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] _class_Monitor_nD *class_Monitor_nD_trace(_class_Monitor_nD *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 31383: warning: Routine "class_PSD_monitor_psf_eff_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_PSD_monitor_psf_eff *class_PSD_monitor_psf_eff_trace(_class_PSD_monitor_psf_eff *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 31486: 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) { ^ "./RITA-II.c", line 31526: 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 */ ^ "./RITA-II.c", line 31526: 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 */ ^ "./RITA-II.c", line 31785: warning: Routine "class_PowderN_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_PowderN *class_PowderN_trace(_class_PowderN *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 31833: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./RITA-II.c", line 31834: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./RITA-II.c", line 31837: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./RITA-II.c", line 31840: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./RITA-II.c", line 31844: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./RITA-II.c", line 31845: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./RITA-II.c", line 31846: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./RITA-II.c", line 31847: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./RITA-II.c", line 31848: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./RITA-II.c", line 32244: warning: Routine "class_Single_crystal_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Single_crystal *class_Single_crystal_trace(_class_Single_crystal *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 32302: warning: variable "rho_x" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./RITA-II.c", line 32302: warning: variable "rho_y" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./RITA-II.c", line 32302: warning: variable "rho_z" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./RITA-II.c", line 32303: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./RITA-II.c", line 32304: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./RITA-II.c", line 32305: warning: variable "ox" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./RITA-II.c", line 32305: warning: variable "oy" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./RITA-II.c", line 32305: warning: variable "oz" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./RITA-II.c", line 32306: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./RITA-II.c", line 32306: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./RITA-II.c", line 32306: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./RITA-II.c", line 32307: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./RITA-II.c", line 32307: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./RITA-II.c", line 32307: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./RITA-II.c", line 32308: warning: variable "n11" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./RITA-II.c", line 32308: warning: variable "n12" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./RITA-II.c", line 32308: warning: variable "n22" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./RITA-II.c", line 32309: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./RITA-II.c", line 32310: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./RITA-II.c", line 32310: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./RITA-II.c", line 32310: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./RITA-II.c", line 32311: warning: variable "l11" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./RITA-II.c", line 32311: warning: variable "l12" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./RITA-II.c", line 32311: warning: variable "l22" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./RITA-II.c", line 32312: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./RITA-II.c", line 32313: warning: variable "Bt_D_O_x" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./RITA-II.c", line 32313: warning: variable "Bt_D_O_y" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./RITA-II.c", line 32314: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./RITA-II.c", line 32314: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./RITA-II.c", line 32315: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./RITA-II.c", line 32322: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./RITA-II.c", line 32329: warning: variable "theta" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./RITA-II.c", line 32329: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./RITA-II.c", line 32338: warning: variable "type" was set but never used [set_but_not_used] char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./RITA-II.c", line 32806: warning: Routine "class_Phonon_simple_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Phonon_simple *class_Phonon_simple_trace(_class_Phonon_simple *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 32984: warning: Routine "class_PSD_monitor_4PI_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_PSD_monitor_4PI *class_PSD_monitor_4PI_trace(_class_PSD_monitor_4PI *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 33062: warning: Routine "class_Exact_radial_coll_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Exact_radial_coll *class_Exact_radial_coll_trace(_class_Exact_radial_coll *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 33180: warning: Routine "class_Monochromator_flat_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Monochromator_flat *class_Monochromator_flat_trace(_class_Monochromator_flat *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 33463: warning: Routine "class_Absorber_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Absorber *class_Absorber_trace(_class_Absorber *_comp, _class_particle *_particle) { ^ "./RITA-II.c", line 33545: 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 RITA_II:TRACE */ ^ "./RITA-II.c", line 36609: warning: subscript out of range [subscript_out_of_range] if (((BinX>=XwinMin[9] && BinX<=XwinMax[9] && BinY>=YwinMin[9] && BinY<=YwinMax[9] && !_instrument_var._parameters.VIRTUALOUT))) // conditional WHEN execution ^ "./RITA-II.c", line 36609: warning: subscript out of range [subscript_out_of_range] if (((BinX>=XwinMin[9] && BinX<=XwinMax[9] && BinY>=YwinMin[9] && BinY<=YwinMax[9] && !_instrument_var._parameters.VIRTUALOUT))) // conditional WHEN execution ^ "./RITA-II.c", line 36609: warning: subscript out of range [subscript_out_of_range] if (((BinX>=XwinMin[9] && BinX<=XwinMax[9] && BinY>=YwinMin[9] && BinY<=YwinMax[9] && !_instrument_var._parameters.VIRTUALOUT))) // conditional WHEN execution ^ "./RITA-II.c", line 36609: warning: subscript out of range [subscript_out_of_range] if (((BinX>=XwinMin[9] && BinX<=XwinMax[9] && BinY>=YwinMin[9] && BinY<=YwinMax[9] && !_instrument_var._parameters.VIRTUALOUT))) // conditional WHEN execution ^ "./RITA-II.c", line 36631: warning: subscript out of range [subscript_out_of_range] if (((BinX>=XwinMin[9] && BinX<=XwinMax[9] && BinY>=YwinMin[9] && BinY<=YwinMax[9] && !_instrument_var._parameters.VIRTUALOUT))) // conditional WHEN execution ^ "./RITA-II.c", line 36631: warning: subscript out of range [subscript_out_of_range] if (((BinX>=XwinMin[9] && BinX<=XwinMax[9] && BinY>=YwinMin[9] && BinY<=YwinMax[9] && !_instrument_var._parameters.VIRTUALOUT))) // conditional WHEN execution ^ "./RITA-II.c", line 36631: warning: subscript out of range [subscript_out_of_range] if (((BinX>=XwinMin[9] && BinX<=XwinMax[9] && BinY>=YwinMin[9] && BinY<=YwinMax[9] && !_instrument_var._parameters.VIRTUALOUT))) // conditional WHEN execution ^ "./RITA-II.c", line 36631: warning: subscript out of range [subscript_out_of_range] if (((BinX>=XwinMin[9] && BinX<=XwinMax[9] && BinY>=YwinMin[9] && BinY<=YwinMax[9] && !_instrument_var._parameters.VIRTUALOUT))) // conditional WHEN execution ^ "./RITA-II.c", line 42768: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./RITA-II.c", line 42769: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./RITA-II.c", line 1557: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./RITA-II.c", line 2977: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 110, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 124, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 162, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 195, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 226, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 238, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 254, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 270, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1605, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1609, Generating acc routine seq Generating NVIDIA GPU code str_len: 1618, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4241, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4672, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4683, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4692, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4704, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4716, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4726, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4736, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4744, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4754, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4776, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4783, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4829, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4864, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4875, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4892, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4903, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4919, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4948, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4959, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4963, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5140, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5171, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5188, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5287, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5371, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5437, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5514, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5786, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5798, Generating acc routine seq Generating NVIDIA GPU code _hash: 5830, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5871, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5882, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5887, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5895, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5903, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5910, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6588, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6625, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6685, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6702, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6817, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6872, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 7854, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 8295, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 8418, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 8943, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 9055, Generating acc routine seq Generating NVIDIA GPU code randrotate: 9070, Generating acc routine seq Generating NVIDIA GPU code randderotate: 9078, Generating acc routine seq Generating NVIDIA GPU code PGrotate: 9086, Generating acc routine seq Generating NVIDIA GPU code PGderotate: 9094, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 9105, Generating acc routine seq Generating NVIDIA GPU code nbose: 9136, Generating acc routine seq Generating NVIDIA GPU code fatalerror: 9155, Generating acc routine seq Generating NVIDIA GPU code omega_q: 9163, Generating acc routine seq Generating NVIDIA GPU code zridd_gpu: 9266, Generating acc routine seq Generating NVIDIA GPU code findroots_gpu: 9356, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 11523, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 11591, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 11670, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 12138, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 12154, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 12172, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 12239, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 12298, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 13495, Generating acc routine seq Generating NVIDIA GPU code off_F: 14616, Generating acc routine seq Generating NVIDIA GPU code off_sign: 14621, Generating acc routine seq Generating NVIDIA GPU code off_normal: 14631, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 14657, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 14720, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 14851, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 14896, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 15013, Generating acc routine seq Generating NVIDIA GPU code off_compare: 15131, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 15143, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 15178, Generating acc routine seq Generating NVIDIA GPU code Min_int: 15429, Generating acc routine seq Generating NVIDIA GPU code merge: 15436, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 15540, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 15555, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 15609, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 15726, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 15748, Generating acc routine seq Generating NVIDIA GPU code init: 29637, Generating update device(_ana_slit2_var,_source_var,_slitShutter_var,_psd_window9_var,_lmon_guide_end_var,_guideCurved9_var,_guideCurved19_var,_guideCurved29_var,_guideCurved39_var,_guideCurved40_var,_guideCurved4_var,_guideCurved5_var,_guideCurved6_var,_guideCurved7_var,_guideCurved8_var,_guide3_var,_guideCurved10_var,_guideCurved11_var,_guideCurved12_var,_guideCurved13_var,_guideCurved14_var,_guideCurved15_var,_guideCurved16_var,_guideCurved17_var,_guideCurved18_var,_guideCurved1_var,_guideCurved20_var,_guideCurved21_var,_guideCurved22_var,_guideCurved23_var,_guideCurved24_var,_guideCurved25_var,_guideCurved26_var,_guideCurved27_var,_guideCurved28_var,_guideCurved2_var,_guideCurved30_var,_guideCurved31_var,_guideCurved32_var,_guideCurved33_var,_guideCurved34_var,_guideCurved35_var,_guideCurved36_var,_guideCurved37_var,_guideCurved38_var,_guideCurved3_var,_armSource_var,_focus_mono_var,_slitGuideBegin_var,_psd_detector_var,_emon_detector_var,_kMoni_var,_divmon_before_ana_var,_focus_ana_var,_lmon_virt_var,_Perspex_var,_slitSample_var,_BladeR5_var,_incohSample_var,_psd_samplepos_large_var,_lmon_guide_start_var,_a6_var,_MSCollimator_var,_kMoni3rd_var,_instrument_var,_kMoni1st_var,_kMoni2nd_var,_slitGuideEnd_var,_OrderMon_var,_psd_guide_end_var,_emon_guide_end_var,_divmon_guide_end_var,_psd_samplepos_1cm2_var,_a2_var,_aa2_var,_guideStraight_var,_phononSample_var,_bunker_var,_monochromator_curved_var,_powderSample_var,_a3_var,_slitMonochromator_var,_emon_window9_var,_filter_coll_var,_an9u_var,_ana_slit1_var,_divmon_samplepos_1cm2_var,_psd_4pi_var,_crystalSample_var,_filter_var,_aa3_var,_an1l_var,_an1u_var,_an2l_var,_an2u_var,_an3l_var,_an3u_var,_an4l_var,_an4u_var,_an5l_var,_an5u_var,_an6l_var,_an6u_var,_an7l_var,_an7u_var,_an8l_var,_an8u_var,_an9l_var,_a4_var,_emon_before_ana_var,_psd_before_ana_var,_ArmL5_var,_BladeL5_var,_ArmR1_var,_BladeR1_var,_ArmR2_var,_BladeR2_var,_ArmR3_var,_BladeR3_var,_ArmR4_var,_BladeR4_var,_ArmR5_var,_ArmL1_var,_BladeL1_var,_ArmL2_var,_BladeL2_var,_ArmL3_var,_BladeL3_var,_ArmL4_var,_BladeL4_var,_psd_before_coarse_var,_emon_before_coarse_var,_psd_virt_var,_emon_samplepos_1cm2_var,_psd_window1_var,_emon_window1_var,_psd_window2_var,_emon_window2_var,_psd_window3_var,_emon_window3_var,_psd_window4_var,_emon_window4_var,_psd_window5_var,_emon_window5_var,_psd_window6_var,_emon_window6_var,_psd_window7_var,_emon_window7_var,_psd_window8_var,_emon_window8_var,_infilter_var) class_Progress_bar_trace: 29678, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen4_trace: 29768, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 30010, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 30054, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 30127, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 30280, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 30351, Generating acc routine seq Generating NVIDIA GPU code class_Divergence_monitor_trace: 30438, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 30528, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 30574, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_linear_trace: 30936, Generating acc routine seq Generating NVIDIA GPU code class_Filter_gen_trace: 31010, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 31093, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_psf_eff_trace: 31383, Generating acc routine seq Generating NVIDIA GPU code class_Incoherent_trace: 31486, Generating acc routine seq Generating NVIDIA GPU code 31683, Reference argument passing prevents parallelization: solid_angle 31686, Reference argument passing prevents parallelization: solid_angle class_PowderN_trace: 31785, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 32244, Generating acc routine seq Generating NVIDIA GPU code class_Phonon_simple_trace: 32806, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 32984, Generating acc routine seq Generating NVIDIA GPU code class_Exact_radial_coll_trace: 33062, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_flat_trace: 33180, Generating acc routine seq Generating NVIDIA GPU code class_Absorber_trace: 33463, Generating acc routine seq Generating NVIDIA GPU code raytrace: 33545, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 36691, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 36705, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 36691, Local memory used for .inl_particle_58492,particleN,.inl_.inl_mcneutron_0_58507,.inl_.X2935_58509,.inl_.inl_.X3145_15_58508 36705, Generating implicit firstprivate(seed,_particle) finally: 40518, Generating update self(_ana_slit2_var,_source_var,_slitShutter_var,_psd_window9_var,_lmon_guide_end_var,_guideCurved9_var,_guideCurved19_var,_guideCurved29_var,_guideCurved39_var,_guideCurved40_var,_guideCurved4_var,_guideCurved5_var,_guideCurved6_var,_guideCurved7_var,_guideCurved8_var,_guide3_var,_guideCurved10_var,_guideCurved11_var,_guideCurved12_var,_guideCurved13_var,_guideCurved14_var,_guideCurved15_var,_guideCurved16_var,_guideCurved17_var,_guideCurved18_var,_guideCurved1_var,_guideCurved20_var,_guideCurved21_var,_guideCurved22_var,_guideCurved23_var,_guideCurved24_var,_guideCurved25_var,_guideCurved26_var,_guideCurved27_var,_guideCurved28_var,_guideCurved2_var,_guideCurved30_var,_guideCurved31_var,_guideCurved32_var,_guideCurved33_var,_guideCurved34_var,_guideCurved35_var,_guideCurved36_var,_guideCurved37_var,_guideCurved38_var,_guideCurved3_var,_armSource_var,_focus_mono_var,_slitGuideBegin_var,_psd_detector_var,_emon_detector_var,_kMoni_var,_divmon_before_ana_var,_focus_ana_var,_lmon_virt_var,_Perspex_var,_slitSample_var,_BladeR5_var,_incohSample_var,_psd_samplepos_large_var,_lmon_guide_start_var,_a6_var,_MSCollimator_var,_kMoni3rd_var,_instrument_var,_kMoni1st_var,_kMoni2nd_var,_slitGuideEnd_var,_OrderMon_var,_psd_guide_end_var,_emon_guide_end_var,_divmon_guide_end_var,_psd_samplepos_1cm2_var,_a2_var,_aa2_var,_guideStraight_var,_phononSample_var,_bunker_var,_monochromator_curved_var,_powderSample_var,_a3_var,_slitMonochromator_var,_emon_window9_var,_filter_coll_var,_an9u_var,_ana_slit1_var,_divmon_samplepos_1cm2_var,_psd_4pi_var,_crystalSample_var,_filter_var,_aa3_var,_an1l_var,_an1u_var,_an2l_var,_an2u_var,_an3l_var,_an3u_var,_an4l_var,_an4u_var,_an5l_var,_an5u_var,_an6l_var,_an6u_var,_an7l_var,_an7u_var,_an8l_var,_an8u_var,_an9l_var,_a4_var,_emon_before_ana_var,_psd_before_ana_var,_ArmL5_var,_BladeL5_var,_ArmR1_var,_BladeR1_var,_ArmR2_var,_BladeR2_var,_ArmR3_var,_BladeR3_var,_ArmR4_var,_BladeR4_var,_ArmR5_var,_ArmL1_var,_BladeL1_var,_ArmL2_var,_BladeL2_var,_ArmL3_var,_BladeL3_var,_ArmL4_var,_BladeL4_var,_psd_before_coarse_var,_emon_before_coarse_var,_psd_virt_var,_emon_samplepos_1cm2_var,_psd_window1_var,_emon_window1_var,_psd_window2_var,_emon_window2_var,_psd_window3_var,_emon_window3_var,_psd_window4_var,_emon_window4_var,_psd_window5_var,_emon_window5_var,_psd_window6_var,_emon_window6_var,_psd_window7_var,_emon_window7_var,_psd_window8_var,_emon_window8_var,_infilter_var) mcenabletrace: 6030, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcTvSXhhUMIdi8l.o: in function `cif2hkl': /u/data/pkwi/TESTS/2025-05-14/ANTLR_openacc_1e7_Linux_1e7/RITA-II/./RITA-II.c:8017: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===