INFO: No output directory specified (--dir) INFO: Using directory: "RITA-II_20251212_112011" 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-12-12 11:20:36.157 | INFO | mccode_antlr.instr.instance:set_parameter:135 - Multiple definitions of restore_neutron in component instance divmon_guide_end 2025-12-12 11:21:31.067 | 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-12-12 11:21:31.067 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2025-12-12 11:21:31.067 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib opencl-lib monitor_nd-lib 2025-12-12 11:21:31.067 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2025-12-12 11:21:31.068 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2025-12-12 11:21:31.068 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2025-12-12 11:21:31.068 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib opencl-lib ref-lib 2025-12-12 11:21:31.068 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib opencl-lib monitor_nd-lib 2025-12-12 11:21:31.068 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2025-12-12 11:21:35.453 | 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 -DUSE_MPI -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -L,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/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 343: 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 345: 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 696: 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 917: 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 934: 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 936: 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 944: 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 946: 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 948: 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 950: 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 952: 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 1048: 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 1050: 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 1052: 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 1054: 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 1056: 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 1058: 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 1060: 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 1062: 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 1064: 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 4675: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./RITA-II.c", line 6376: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./RITA-II.c", line 7097: 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 7099: 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 7106: 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 7126: 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 7128: 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 7130: 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 7374: 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 7500: 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 7523: 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 7544: 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 7869: warning: variable "valid" was declared but never referenced [declared_but_not_referenced] char *valid; ^ "./RITA-II.c", line 7912: 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 8491: 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 9047: 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 9060: warning: variable "jglobal" was declared but never referenced [declared_but_not_referenced] int jglobal=-1; ^ "./RITA-II.c", line 9061: warning: variable "coherent_refl" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./RITA-II.c", line 9061: warning: variable "coherent_xsect" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./RITA-II.c", line 9162: 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 9177: 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 9185: 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 9193: 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 9201: 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 9212: 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 9262: 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 9281: 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 9289: 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(struct neutron_params *neutron, struct phonon_params *phonon) ^ "./RITA-II.c", line 9293: 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 9394: 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, struct neutron_params *neutron, struct phonon_params* phonon, double xacc) ^ "./RITA-II.c", line 9491: warning: Routine "findroots_gpu" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void findroots_gpu(double brack_low, double brack_mid, double brack_high, ^ "./RITA-II.c", line 14659: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./RITA-II.c", line 14659: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./RITA-II.c", line 14686: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./RITA-II.c", line 14686: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./RITA-II.c", line 14774: 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 14779: 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 14788: 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 14814: 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 14817: 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 14817: 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 14817: 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 14817: 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 14817: 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 14817: 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 14877: 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 15007: 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 15051: 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 15172: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./RITA-II.c", line 15284: 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 15296: 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 15331: 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 15587: 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 15593: 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 16873: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./RITA-II.c", line 28371: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./RITA-II.c", line 28371: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./RITA-II.c", line 28371: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./RITA-II.c", line 28372: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./RITA-II.c", line 28947: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] double tmp=0; ^ "./RITA-II.c", line 29839: warning: incompatible redefinition of macro "exit" (declared at line 675) [bad_macro_redef] #define exit(...) noprintf() ^ "./RITA-II.c", line 29851: 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 29941: 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 30183: 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 30227: 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 30300: 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 30453: 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 30524: 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 30611: 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 30636: warning: variable "v" was declared but never referenced [declared_but_not_referenced] double v, vn; ^ "./RITA-II.c", line 30701: 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 30747: 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 31109: 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 31183: 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 31266: 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 31556: 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 31659: 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 31696: 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 31696: 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 31977: 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 32026: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./RITA-II.c", line 32027: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./RITA-II.c", line 32030: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./RITA-II.c", line 32033: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./RITA-II.c", line 32037: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./RITA-II.c", line 32038: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./RITA-II.c", line 32039: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./RITA-II.c", line 32040: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./RITA-II.c", line 32041: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./RITA-II.c", line 32442: 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 32500: 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 32500: 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 32500: 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 32501: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./RITA-II.c", line 32502: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./RITA-II.c", line 32503: 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 32503: 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 32503: 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 32504: 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 32504: 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 32504: 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 32505: 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 32505: 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 32505: 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 32506: 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 32506: 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 32506: 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 32507: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./RITA-II.c", line 32508: 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 32508: 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 32508: 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 32509: 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 32509: 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 32509: 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 32510: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./RITA-II.c", line 32511: 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 32511: 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 32512: 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 32512: 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 32513: 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 32520: 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 32527: 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 32527: 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 32536: 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 33006: 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 33202: 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 33280: 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 33398: 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 33681: 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 33763: 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 43018: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./RITA-II.c", line 43019: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./RITA-II.c", line 1552: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./RITA-II.c", line 3021: 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: 1600, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1604, Generating acc routine seq Generating NVIDIA GPU code str_len: 1613, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4293, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4727, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4738, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4747, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4759, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4771, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4781, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4791, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4799, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4809, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4831, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4838, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4884, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4919, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4930, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4947, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4958, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4974, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 5003, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 5014, Generating acc routine seq Generating NVIDIA GPU code norm_func: 5018, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5195, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5226, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5243, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5342, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5426, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5492, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5569, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5841, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5853, Generating acc routine seq Generating NVIDIA GPU code _hash: 5885, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5926, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5937, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5942, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5950, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5958, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5965, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6643, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6683, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6743, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6760, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6875, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6930, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 7912, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 8369, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 8492, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 9050, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 9162, Generating acc routine seq Generating NVIDIA GPU code randrotate: 9177, Generating acc routine seq Generating NVIDIA GPU code randderotate: 9185, Generating acc routine seq Generating NVIDIA GPU code PGrotate: 9193, Generating acc routine seq Generating NVIDIA GPU code PGderotate: 9201, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 9212, Generating acc routine seq Generating NVIDIA GPU code nbose: 9263, Generating acc routine seq Generating NVIDIA GPU code fatalerror: 9282, Generating acc routine seq Generating NVIDIA GPU code omega_q: 9290, Generating acc routine seq Generating NVIDIA GPU code zridd_gpu: 9395, Generating acc routine seq Generating NVIDIA GPU code findroots_gpu: 9492, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 11677, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 11745, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 11824, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 12292, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 12308, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 12326, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 12393, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 12452, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 13649, Generating acc routine seq Generating NVIDIA GPU code off_F: 14774, Generating acc routine seq Generating NVIDIA GPU code off_sign: 14779, Generating acc routine seq Generating NVIDIA GPU code off_normal: 14789, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 14815, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 14878, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 15009, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 15054, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 15169, Generating acc routine seq Generating NVIDIA GPU code off_compare: 15285, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 15297, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 15332, Generating acc routine seq Generating NVIDIA GPU code Min_int: 15587, Generating acc routine seq Generating NVIDIA GPU code merge: 15594, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R p_to_quadratic: 15702, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 15717, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 15771, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 15888, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 15910, Generating acc routine seq Generating NVIDIA GPU code init: 29810, 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: 29851, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen4_trace: 29941, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 30183, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 30227, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 30300, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 30453, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 30524, Generating acc routine seq Generating NVIDIA GPU code class_Divergence_monitor_trace: 30611, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 30701, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 30747, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_linear_trace: 31109, Generating acc routine seq Generating NVIDIA GPU code class_Filter_gen_trace: 31183, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 31266, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_psf_eff_trace: 31556, Generating acc routine seq Generating NVIDIA GPU code class_Incoherent_trace: 31659, Generating acc routine seq Generating NVIDIA GPU code 31854, Reference argument passing prevents parallelization: solid_angle 31857, Reference argument passing prevents parallelization: solid_angle class_PowderN_trace: 31977, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 32442, Generating acc routine seq Generating NVIDIA GPU code class_Phonon_simple_trace: 33006, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for vf_list class_PSD_monitor_4PI_trace: 33202, Generating acc routine seq Generating NVIDIA GPU code class_Exact_radial_coll_trace: 33280, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_flat_trace: 33398, Generating acc routine seq Generating NVIDIA GPU code class_Absorber_trace: 33681, Generating acc routine seq Generating NVIDIA GPU code raytrace: 33763, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 36909, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 36923, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 36909, Local memory used for particleN 36923, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount) finally: 40738, 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: 6085, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcf3qWmpkStYQJC.o: in function `cif2hkl': /u/data/pkwi/TESTS/2025-12-12/ANTLR_openacc_mpi_x_7_1e7_Linux_1e7/RITA-II/./RITA-II.c:8091: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===