INFO: No output directory specified (--dir) INFO: Using directory: "RITA-II_20261030_000755" INFO: Regenerating c-file: RITA-II.c DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas -t -o ./RITA-II.c RITA-II.instr --verbose mcstas version 3.99.99 Analyzing file RITA-II.instr Embedding component Progress_bar from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/misc/Progress_bar.comp Component[1]: armSource = Progress_bar(). Info: 'Source_gen4' is a contributed component. Embedding library read_table-lib.h Embedding library read_table-lib.c Embedding component Source_gen4 from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/contrib/Source_gen4.comp Component[2]: source = Source_gen4(). Embedding component Slit from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Slit.comp Component[3]: slitGuideBegin = Slit(). Embedding component L_monitor from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/L_monitor.comp Component[4]: lmon_guide_start = L_monitor(). Embedding library ref-lib.h Embedding library ref-lib.c Embedding component Guide from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Guide.comp Component[5]: guideStraight = Guide(). Component[6]: guideCurved1 = Guide(). Component[7]: guideCurved2 = Guide(). Component[8]: guideCurved3 = Guide(). Component[9]: guideCurved4 = Guide(). Component[10]: guideCurved5 = Guide(). Component[11]: guideCurved6 = Guide(). Component[12]: guideCurved7 = Guide(). Component[13]: guideCurved8 = Guide(). Component[14]: guideCurved9 = Guide(). Component[15]: guideCurved10 = Guide(). Component[16]: guideCurved11 = Guide(). Component[17]: guideCurved12 = Guide(). Component[18]: guideCurved13 = Guide(). Component[19]: guideCurved14 = Guide(). Component[20]: guideCurved15 = Guide(). Component[21]: guideCurved16 = Guide(). Component[22]: guideCurved17 = Guide(). Component[23]: guideCurved18 = Guide(). Component[24]: guideCurved19 = Guide(). Component[25]: guideCurved20 = Guide(). Component[26]: guideCurved21 = Guide(). Component[27]: guideCurved22 = Guide(). Component[28]: guideCurved23 = Guide(). Component[29]: guideCurved24 = Guide(). Component[30]: guideCurved25 = Guide(). Component[31]: guideCurved26 = Guide(). Component[32]: guideCurved27 = Guide(). Component[33]: guideCurved28 = Guide(). Component[34]: guideCurved29 = Guide(). Component[35]: guideCurved30 = Guide(). Component[36]: guideCurved31 = Guide(). Component[37]: guideCurved32 = Guide(). Component[38]: guideCurved33 = Guide(). Component[39]: guideCurved34 = Guide(). Component[40]: guideCurved35 = Guide(). Component[41]: guideCurved36 = Guide(). Component[42]: guideCurved37 = Guide(). Component[43]: guideCurved38 = Guide(). Component[44]: guideCurved39 = Guide(). Component[45]: guideCurved40 = Guide(). Component[46]: bunker = Guide(). Component[47]: guide3 = Guide(). Component[48]: slitGuideEnd = Slit(). Embedding component PSD_monitor from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/PSD_monitor.comp Component[49]: psd_guide_end = PSD_monitor(). Embedding component E_monitor from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/E_monitor.comp Component[50]: emon_guide_end = E_monitor(). Component[51]: lmon_guide_end = L_monitor(). Embedding component Divergence_monitor from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/Divergence_monitor.comp Component[52]: divmon_guide_end = Divergence_monitor(). Embedding component Arm from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Arm.comp Component[53]: focus_mono = Arm(). Embedding component Monochromator_curved from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Monochromator_curved.comp Component[54]: monochromator_curved = Monochromator_curved(). Component[55]: a2 = Arm(). Component[56]: slitShutter = Slit(). Embedding component Collimator_linear from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Collimator_linear.comp Component[57]: MSCollimator = Collimator_linear(). Embedding component Filter_gen from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Filter_gen.comp Component[58]: infilter = Filter_gen(). Component[59]: psd_virt = PSD_monitor(). Component[60]: lmon_virt = L_monitor(). Component[61]: aa2 = Arm(). Embedding library monitor_nd-lib.h Embedding library monitor_nd-lib.c Embedding library interoff-lib.h Embedding library interoff-lib.c Embedding component Monitor_nD from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/Monitor_nD.comp Component[62]: OrderMon = Monitor_nD(). Embedding component PSD_monitor_psf_eff from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/PSD_monitor_psf_eff.comp Component[63]: kMoni = PSD_monitor_psf_eff(). Component[64]: kMoni1st = PSD_monitor_psf_eff(). Component[65]: kMoni2nd = PSD_monitor_psf_eff(). Component[66]: kMoni3rd = PSD_monitor_psf_eff(). Component[67]: slitMonochromator = Slit(). Embedding component Incoherent from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/samples/Incoherent.comp Component[68]: Perspex = Incoherent(). Component[69]: psd_samplepos_1cm2 = PSD_monitor(). Component[70]: emon_samplepos_1cm2 = E_monitor(). Component[71]: divmon_samplepos_1cm2 = Divergence_monitor(). Component[72]: psd_samplepos_large = PSD_monitor(). Component[73]: a3 = Arm(). Component[74]: aa3 = Arm(). Component[75]: incohSample = Incoherent(). Embedding library mccode-ncrystal-lib.h Embedding library mccode-ncrystal-lib.c Embedding component PowderN from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/samples/PowderN.comp Component[76]: powderSample = PowderN(). Embedding library opencl-lib.h Embedding library opencl-lib.c Embedding component Single_crystal from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/samples/Single_crystal.comp Component[77]: crystalSample = Single_crystal(). Embedding component Phonon_simple from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/samples/Phonon_simple.comp Component[78]: phononSample = Phonon_simple(). Embedding component PSD_monitor_4PI from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/PSD_monitor_4PI.comp Component[79]: psd_4pi = PSD_monitor_4PI(). Component[80]: a4 = Arm(). Component[81]: slitSample = Slit(). Info: 'Exact_radial_coll' is a contributed component. Embedding component Exact_radial_coll from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/contrib/Exact_radial_coll.comp Component[82]: filter_coll = Exact_radial_coll(). Component[83]: filter = Filter_gen(). Component[84]: ana_slit1 = Slit(). Component[85]: ana_slit2 = Slit(). Component[86]: emon_before_ana = E_monitor(). Component[87]: psd_before_ana = PSD_monitor(). Component[88]: divmon_before_ana = Divergence_monitor(). Component[89]: focus_ana = Arm(). Embedding component Monochromator_flat from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Monochromator_flat.comp Component[90]: an1l = Monochromator_flat(). Component[91]: an1u = Monochromator_flat(). Component[92]: an2l = Monochromator_flat(). Component[93]: an2u = Monochromator_flat(). Component[94]: an3l = Monochromator_flat(). Component[95]: an3u = Monochromator_flat(). Component[96]: an4l = Monochromator_flat(). Component[97]: an4u = Monochromator_flat(). Component[98]: an5l = Monochromator_flat(). Component[99]: an5u = Monochromator_flat(). Component[100]: an6l = Monochromator_flat(). Component[101]: an6u = Monochromator_flat(). Component[102]: an7l = Monochromator_flat(). Component[103]: an7u = Monochromator_flat(). Component[104]: an8l = Monochromator_flat(). Component[105]: an8u = Monochromator_flat(). Component[106]: an9l = Monochromator_flat(). Component[107]: an9u = Monochromator_flat(). Component[108]: a6 = Arm(). Component[109]: emon_before_coarse = E_monitor(). Component[110]: psd_before_coarse = PSD_monitor(). Component[111]: ArmR1 = Arm(). Embedding component Absorber from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Absorber.comp Component[112]: BladeR1 = Absorber(). Component[113]: ArmR2 = Arm(). Component[114]: BladeR2 = Absorber(). Component[115]: ArmR3 = Arm(). Component[116]: BladeR3 = Absorber(). Component[117]: ArmR4 = Arm(). Component[118]: BladeR4 = Absorber(). Component[119]: ArmR5 = Arm(). Component[120]: BladeR5 = Absorber(). Component[121]: ArmL1 = Arm(). Component[122]: BladeL1 = Absorber(). Component[123]: ArmL2 = Arm(). Component[124]: BladeL2 = Absorber(). Component[125]: ArmL3 = Arm(). Component[126]: BladeL3 = Absorber(). Component[127]: ArmL4 = Arm(). Component[128]: BladeL4 = Absorber(). Component[129]: ArmL5 = Arm(). Component[130]: BladeL5 = Absorber(). Component[131]: psd_detector = PSD_monitor_psf_eff(). Component[132]: emon_detector = E_monitor(). Component[133]: psd_window1 = PSD_monitor_psf_eff(). Component[134]: emon_window1 = E_monitor(). Component[135]: psd_window2 = PSD_monitor_psf_eff(). Component[136]: emon_window2 = E_monitor(). Component[137]: psd_window3 = PSD_monitor_psf_eff(). Component[138]: emon_window3 = E_monitor(). Component[139]: psd_window4 = PSD_monitor_psf_eff(). Component[140]: emon_window4 = E_monitor(). Component[141]: psd_window5 = PSD_monitor_psf_eff(). Component[142]: emon_window5 = E_monitor(). Component[143]: psd_window6 = PSD_monitor_psf_eff(). Component[144]: emon_window6 = E_monitor(). Component[145]: psd_window7 = PSD_monitor_psf_eff(). Component[146]: emon_window7 = E_monitor(). Component[147]: psd_window8 = PSD_monitor_psf_eff(). Component[148]: emon_window8 = E_monitor(). Component[149]: psd_window9 = PSD_monitor_psf_eff(). Component[150]: emon_window9 = E_monitor(). Combine metadata blocks into table Processed 0 metadata blocks Creating instrument 'RITA_II' (with 150 component instances) Starting to create C code ./RITA-II.c Embedding file mccode-r.h (user path) Embedding file mcstas-r.h (user path) Compile './RITA-II.c -DUSE_NEXUS -lhdf5' to enable NeXus support Embedding file mccode-r.c (user path) Embedding file mcstas-r.c (user path) Writing instrument 'RITA_II' and components DECLARE Writing instrument 'RITA_II' and components INITIALISE Writing components TRACE Writing instrument 'RITA_II' and components SAVE Writing instrument 'RITA_II' and components FINALLY Writing instrument 'RITA_II' and components DISPLAY Embedding file metadata-r.c (user path) Embedding file mccode_main.c (user path) Warning: The build of the instrument 'RITA_II' has 525 warnings/errors. Generated C code ./RITA-II.c from RITA-II.instr CFLAGS= @NCRYSTALFLAGS@ --> Added COMPONENT monochromator_curved USERVAR ncol_54 with type int --> Added COMPONENT monochromator_curved USERVAR nrow_54 with type int ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component monochromator_curved -> SPLIT N at component a3 -> SPLIT N at component focus_ana ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component monochromator_curved -> SPLIT within buffer at component a3 -> SPLIT within buffer at component focus_ana ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas finished INFO: Recompiling: ./RITA-II.out --> launching cmd: ncrystal-config --show buildflags DEBUG: CMD: nvc -o ./RITA-II.out ./RITA-II.c -lm -I/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -DUSE_MPI -lmpi -fast -Minfo=accel -acc=gpu -gpu=cc61,mem:managed -DOPENACC -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -Wl,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib/libNCrystal.so -I/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include "./RITA-II.c", line 97: 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 99: 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, ^ "./RITA-II.c", line 102: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgetstate(_class_particle mcneutron, double *x, double *y, double *z, ^ "./RITA-II.c", line 116: 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 120: 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 154: 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 120: 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 189: 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 217: 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 228: 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 239: 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 255: 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 328: 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 330: 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 688: 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 916: 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 933: 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 935: 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 943: 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 945: 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 947: 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 949: 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 951: 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 954: warning: Routine "_rand01_opague" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01_opague(void* state); ^ "./RITA-II.c", line 1034: 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 1036: 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 1038: 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 1040: 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 1042: 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 1044: 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 1046: 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 1048: 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 1050: 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 5592: warning: variable "exists" was set but never used [set_but_not_used] int exists=0; ^ "./RITA-II.c", line 8813: 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 8815: 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 8822: 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 8842: 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 8844: 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 8846: 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 10371: warning: variable "valid" was declared but never referenced [declared_but_not_referenced] char* valid; ^ "./RITA-II.c", line 10701: warning: Routine "GAUSS_monocurved" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] GAUSS_monocurved (double x, double mean, double rms) { ^ "./RITA-II.c", line 10968: 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 13105: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./RITA-II.c", line 13105: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./RITA-II.c", line 13385: 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 13395: warning: Routine "off_intersect_all_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all_idx(double* t0, double* t3, ^ "./RITA-II.c", line 13419: 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 13428: warning: Routine "off_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_idx(double* t0, double* t3, ^ "./RITA-II.c", line 13449: 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 13457: warning: Routine "off_x_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect_idx(double *l0,double *l3, ^ "./RITA-II.c", line 13469: warning: Routine "off_face_prop" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_face_prop(off_struct *data, unsigned long face, int k, double def); ^ "./RITA-II.c", line 13488: warning: Routine "p_to_quadratic" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void p_to_quadratic(Coords norm, MCNUM d, Coords acc, Coords pos, Coords vel, ^ "./RITA-II.c", line 13499: warning: Routine "quadraticSolve" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int quadraticSolve(double* eq, double* x1, double* x2); ^ "./RITA-II.c", line 13556: 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 13561: 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 13569: warning: Routine "off_coord" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_coord(Coords c, int k) { ^ "./RITA-II.c", line 13577: warning: Routine "off_normal" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_normal(Coords* n, polygon p) ^ "./RITA-II.c", line 13605: 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 13657: 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 13702: warning: Routine "off_insert4" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_insert4(intersection *t, int *t_size, intersection x) ^ "./RITA-II.c", line 13722: warning: Routine "off_store_intersection" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_store_intersection(intersection *t, int *t_size, intersection x) ^ "./RITA-II.c", line 13909: warning: Routine "off_init_planes" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_init_planes(Coords a, Coords b, Coords *n1, MCNUM* D1, Coords *n2, MCNUM* D2) ^ "./RITA-II.c", line 13955: warning: Routine "off_line_hits_box" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_line_hits_box(Coords a, Coords dir, Coords lo, Coords hi) ^ "./RITA-II.c", line 13980: 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 14523: warning: Routine "p_to_quadratic" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void p_to_quadratic(Coords norm, MCNUM d, Coords acc, Coords pos, Coords vel, ^ "./RITA-II.c", line 14540: warning: Routine "quadraticSolve" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int quadraticSolve(double* eq, double* x1, double* x2) ^ "./RITA-II.c", line 14564: warning: Routine "off_intersect_all_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all_idx(double* t0, double* t3, ^ "./RITA-II.c", line 14685: 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 14710: 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 14722: warning: Routine "off_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_idx(double* t0, double* t3, ^ "./RITA-II.c", line 14748: warning: Routine "off_x_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect_idx(double *l0,double *l3, ^ "./RITA-II.c", line 14766: 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 14780: warning: Routine "off_face_prop" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_face_prop(off_struct *data, unsigned long face, int k, double def) ^ "./RITA-II.c", line 16512: warning: Routine "SX_list_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] SX_list_compare (void const* a, void const* b) { ^ "./RITA-II.c", line 17262: warning: Routine "hkl_search" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] hkl_search (struct hkl_data* L, void* TT, int count, double V0, double kix, double kiy, double kiz, double tau_max, double* coh_refl, double* coh_xsect) { ^ "./RITA-II.c", line 17272: warning: variable "jglobal" was declared but never referenced [declared_but_not_referenced] int jglobal = -1; ^ "./RITA-II.c", line 17273: warning: variable "coherent_refl" was set but never used [set_but_not_used] double coherent_refl, coherent_xsect; ^ "./RITA-II.c", line 17273: warning: variable "coherent_xsect" was set but never used [set_but_not_used] double coherent_refl, coherent_xsect; ^ "./RITA-II.c", line 17372: warning: Routine "hkl_select" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] hkl_select (struct tau_data* T, int tau_count, double coh_refl, double* sum, _class_particle* _particle) { ^ "./RITA-II.c", line 17388: warning: Routine "randrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] randrotate (double* nx, double* ny, double* nz, double a, double b, double c) { ^ "./RITA-II.c", line 17397: warning: Routine "randderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] randderotate (double* nx, double* ny, double* nz, double a, double b, double c) { ^ "./RITA-II.c", line 17406: warning: Routine "PGrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] PGrotate (double* nx, double* ny, double* nz, double a, double csx, double csy, double csz) { ^ "./RITA-II.c", line 17417: warning: Routine "PGderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] PGderotate (double* nx, double* ny, double* nz, double a, double csx, double csy, double csz) { ^ "./RITA-II.c", line 17429: warning: Routine "vec_rotate_2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] vec_rotate_2d (double* x, double* y, double angle) { ^ "./RITA-II.c", line 17478: warning: Routine "nbose" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] nbose (double omega, double T) /* Other name ?? */ ^ "./RITA-II.c", line 17498: warning: Routine "fatalerror" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] fatalerror (char* s) { ^ "./RITA-II.c", line 17506: warning: Routine "omega_q" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] omega_q (struct neutron_params* neutron, struct phonon_params* phonon) { ^ "./RITA-II.c", line 17509: 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 17599: warning: Routine "zridd_gpu" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] zridd_gpu (double x1, double x2, struct neutron_params* neutron, struct phonon_params* phonon, double xacc) { ^ "./RITA-II.c", line 17682: warning: Routine "findroots_gpu" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] findroots_gpu (double brack_low, double brack_mid, double brack_high, double* list, int* index, struct neutron_params* neutron, struct phonon_params* phonon) { ^ "./RITA-II.c", line 19519: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./RITA-II.c", line 19507: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./RITA-II.c", line 19564: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./RITA-II.c", line 19679: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./RITA-II.c", line 19744: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./RITA-II.c", line 19822: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./RITA-II.c", line 19895: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./RITA-II.c", line 19968: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./RITA-II.c", line 20041: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./RITA-II.c", line 20114: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./RITA-II.c", line 20187: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./RITA-II.c", line 20260: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./RITA-II.c", line 20333: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./RITA-II.c", line 20406: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./RITA-II.c", line 20479: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./RITA-II.c", line 20552: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./RITA-II.c", line 20625: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./RITA-II.c", line 20698: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./RITA-II.c", line 20771: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./RITA-II.c", line 20844: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./RITA-II.c", line 20917: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./RITA-II.c", line 20990: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./RITA-II.c", line 21063: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./RITA-II.c", line 21136: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./RITA-II.c", line 21209: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./RITA-II.c", line 21282: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./RITA-II.c", line 21355: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./RITA-II.c", line 21428: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./RITA-II.c", line 21501: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./RITA-II.c", line 21574: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./RITA-II.c", line 21647: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./RITA-II.c", line 21720: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./RITA-II.c", line 21793: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./RITA-II.c", line 21866: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 33; ^ "./RITA-II.c", line 21939: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 34; ^ "./RITA-II.c", line 22012: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 35; ^ "./RITA-II.c", line 22085: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 36; ^ "./RITA-II.c", line 22158: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 37; ^ "./RITA-II.c", line 22231: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 38; ^ "./RITA-II.c", line 22304: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 39; ^ "./RITA-II.c", line 22377: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 40; ^ "./RITA-II.c", line 22450: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 41; ^ "./RITA-II.c", line 22523: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 42; ^ "./RITA-II.c", line 22596: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 43; ^ "./RITA-II.c", line 22669: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 44; ^ "./RITA-II.c", line 22742: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 45; ^ "./RITA-II.c", line 22815: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 46; ^ "./RITA-II.c", line 22888: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 47; ^ "./RITA-II.c", line 22961: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 48; ^ "./RITA-II.c", line 23026: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 49; ^ "./RITA-II.c", line 23102: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 50; ^ "./RITA-II.c", line 23180: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 51; ^ "./RITA-II.c", line 23258: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 52; ^ "./RITA-II.c", line 23344: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 53; ^ "./RITA-II.c", line 23393: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 54; ^ "./RITA-II.c", line 23490: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 55; ^ "./RITA-II.c", line 23539: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 56; ^ "./RITA-II.c", line 23604: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 57; ^ "./RITA-II.c", line 23675: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 58; ^ "./RITA-II.c", line 23754: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 59; ^ "./RITA-II.c", line 23830: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 60; ^ "./RITA-II.c", line 23908: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 61; ^ "./RITA-II.c", line 23957: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 62; ^ "./RITA-II.c", line 24155: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 63; ^ "./RITA-II.c", line 24237: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 64; ^ "./RITA-II.c", line 24319: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 65; ^ "./RITA-II.c", line 24401: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 66; ^ "./RITA-II.c", line 24483: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 67; ^ "./RITA-II.c", line 24548: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 68; ^ "./RITA-II.c", line 24651: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 69; ^ "./RITA-II.c", line 24727: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 70; ^ "./RITA-II.c", line 24805: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 71; ^ "./RITA-II.c", line 24891: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 72; ^ "./RITA-II.c", line 24967: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 73; ^ "./RITA-II.c", line 25016: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 74; ^ "./RITA-II.c", line 25065: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 75; ^ "./RITA-II.c", line 25168: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 76; ^ "./RITA-II.c", line 25289: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 77; ^ "./RITA-II.c", line 25422: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 78; ^ "./RITA-II.c", line 25517: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 79; ^ "./RITA-II.c", line 25583: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 80; ^ "./RITA-II.c", line 25632: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 81; ^ "./RITA-II.c", line 25697: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 82; ^ "./RITA-II.c", line 25766: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 83; ^ "./RITA-II.c", line 25845: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 84; ^ "./RITA-II.c", line 25910: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 85; ^ "./RITA-II.c", line 25975: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 86; ^ "./RITA-II.c", line 26053: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 87; ^ "./RITA-II.c", line 26129: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 88; ^ "./RITA-II.c", line 26215: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 89; ^ "./RITA-II.c", line 26264: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 90; ^ "./RITA-II.c", line 26337: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 91; ^ "./RITA-II.c", line 26410: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 92; ^ "./RITA-II.c", line 26483: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 93; ^ "./RITA-II.c", line 26556: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 94; ^ "./RITA-II.c", line 26629: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 95; ^ "./RITA-II.c", line 26702: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 96; ^ "./RITA-II.c", line 26775: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 97; ^ "./RITA-II.c", line 26848: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 98; ^ "./RITA-II.c", line 26921: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 99; ^ "./RITA-II.c", line 26994: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 100; ^ "./RITA-II.c", line 27067: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 101; ^ "./RITA-II.c", line 27140: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 102; ^ "./RITA-II.c", line 27213: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 103; ^ "./RITA-II.c", line 27286: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 104; ^ "./RITA-II.c", line 27359: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 105; ^ "./RITA-II.c", line 27432: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 106; ^ "./RITA-II.c", line 27505: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 107; ^ "./RITA-II.c", line 27578: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 108; ^ "./RITA-II.c", line 27627: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 109; ^ "./RITA-II.c", line 27705: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 110; ^ "./RITA-II.c", line 27781: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 111; ^ "./RITA-II.c", line 27830: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 112; ^ "./RITA-II.c", line 27893: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 113; ^ "./RITA-II.c", line 27942: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 114; ^ "./RITA-II.c", line 28005: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 115; ^ "./RITA-II.c", line 28054: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 116; ^ "./RITA-II.c", line 28117: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 117; ^ "./RITA-II.c", line 28166: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 118; ^ "./RITA-II.c", line 28229: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 119; ^ "./RITA-II.c", line 28278: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 120; ^ "./RITA-II.c", line 28341: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 121; ^ "./RITA-II.c", line 28390: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 122; ^ "./RITA-II.c", line 28453: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 123; ^ "./RITA-II.c", line 28502: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 124; ^ "./RITA-II.c", line 28565: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 125; ^ "./RITA-II.c", line 28614: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 126; ^ "./RITA-II.c", line 28677: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 127; ^ "./RITA-II.c", line 28726: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 128; ^ "./RITA-II.c", line 28789: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 129; ^ "./RITA-II.c", line 28838: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 130; ^ "./RITA-II.c", line 28901: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 131; ^ "./RITA-II.c", line 28983: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 132; ^ "./RITA-II.c", line 29061: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 133; ^ "./RITA-II.c", line 29143: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 134; ^ "./RITA-II.c", line 29221: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 135; ^ "./RITA-II.c", line 29303: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 136; ^ "./RITA-II.c", line 29381: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 137; ^ "./RITA-II.c", line 29463: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 138; ^ "./RITA-II.c", line 29541: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 139; ^ "./RITA-II.c", line 29623: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 140; ^ "./RITA-II.c", line 29701: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 141; ^ "./RITA-II.c", line 29783: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 142; ^ "./RITA-II.c", line 29861: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 143; ^ "./RITA-II.c", line 29943: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 144; ^ "./RITA-II.c", line 30021: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 145; ^ "./RITA-II.c", line 30103: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 146; ^ "./RITA-II.c", line 30181: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 147; ^ "./RITA-II.c", line 30263: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 148; ^ "./RITA-II.c", line 30341: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 149; ^ "./RITA-II.c", line 30423: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 150; ^ "./RITA-II.c", line 32454: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./RITA-II.c", line 32454: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./RITA-II.c", line 32454: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./RITA-II.c", line 32455: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i = 0; ^ "./RITA-II.c", line 33054: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] double tmp=0; ^ "./RITA-II.c", line 34098: warning: incompatible redefinition of macro "exit" (declared at line 665) [bad_macro_redef] #define exit(...) noprintf() ^ "./RITA-II.c", line 34110: warning: Routine "class_Progress_bar_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Progress_bar_trace(_class_Progress_bar *_comp ^ "./RITA-II.c", line 34189: 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] void class_Source_gen4_trace(_class_Source_gen4 *_comp ^ "./RITA-II.c", line 34417: warning: Routine "class_Slit_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Slit_trace(_class_Slit *_comp ^ "./RITA-II.c", line 34461: 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] void class_L_monitor_trace(_class_L_monitor *_comp ^ "./RITA-II.c", line 34535: warning: Routine "class_Guide_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Guide_trace(_class_Guide *_comp ^ "./RITA-II.c", line 34687: 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] void class_PSD_monitor_trace(_class_PSD_monitor *_comp ^ "./RITA-II.c", line 34761: 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] void class_E_monitor_trace(_class_E_monitor *_comp ^ "./RITA-II.c", line 34849: 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] void class_Divergence_monitor_trace(_class_Divergence_monitor *_comp ^ "./RITA-II.c", line 34875: warning: variable "v" was declared but never referenced [declared_but_not_referenced] double v, vn; ^ "./RITA-II.c", line 34939: warning: Routine "class_Arm_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Arm_trace(_class_Arm *_comp ^ "./RITA-II.c", line 34985: 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] void class_Monochromator_curved_trace(_class_Monochromator_curved *_comp ^ "./RITA-II.c", line 35339: 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] void class_Collimator_linear_trace(_class_Collimator_linear *_comp ^ "./RITA-II.c", line 35412: 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] void class_Filter_gen_trace(_class_Filter_gen *_comp ^ "./RITA-II.c", line 35498: warning: Routine "class_Monitor_nD_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Monitor_nD_trace(_class_Monitor_nD *_comp ^ "./RITA-II.c", line 35782: 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] void class_PSD_monitor_psf_eff_trace(_class_PSD_monitor_psf_eff *_comp ^ "./RITA-II.c", line 35891: warning: Routine "class_Incoherent_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Incoherent_trace(_class_Incoherent *_comp ^ "./RITA-II.c", line 35929: 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 35929: 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 36250: warning: Routine "class_PowderN_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PowderN_trace(_class_PowderN *_comp ^ "./RITA-II.c", line 36299: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./RITA-II.c", line 36300: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./RITA-II.c", line 36303: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./RITA-II.c", line 36306: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./RITA-II.c", line 36310: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./RITA-II.c", line 36311: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./RITA-II.c", line 36312: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./RITA-II.c", line 36313: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./RITA-II.c", line 36314: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./RITA-II.c", line 36721: 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] void class_Single_crystal_trace(_class_Single_crystal *_comp ^ "./RITA-II.c", line 36780: 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 36780: 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 36780: 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 36781: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./RITA-II.c", line 36782: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./RITA-II.c", line 36783: 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 36783: 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 36783: 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 36784: 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 36784: 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 36784: 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 36785: 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 36785: 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 36785: 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 36786: 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 36786: 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 36786: 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 36787: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./RITA-II.c", line 36788: 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 36788: 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 36788: 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 36789: 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 36789: 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 36789: 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 36790: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./RITA-II.c", line 36791: 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 36791: 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 36792: 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 36792: 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 36793: 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 36800: 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 36807: 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 36807: 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 36816: 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 37281: 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] void class_Phonon_simple_trace(_class_Phonon_simple *_comp ^ "./RITA-II.c", line 37472: 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] void class_PSD_monitor_4PI_trace(_class_PSD_monitor_4PI *_comp ^ "./RITA-II.c", line 37549: 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] void class_Exact_radial_coll_trace(_class_Exact_radial_coll *_comp ^ "./RITA-II.c", line 37674: 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] void class_Monochromator_flat_trace(_class_Monochromator_flat *_comp ^ "./RITA-II.c", line 37921: warning: Routine "class_Absorber_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Absorber_trace(_class_Absorber *_comp ^ "./RITA-II.c", line 38007: 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 47797: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./RITA-II.c", line 47798: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./RITA-II.c", line 1628: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ mcgenstate: 109, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 123, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 161, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 191, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 219, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 230, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 239, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 255, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1688, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1692, Generating acc routine seq Generating NVIDIA GPU code str_len: 1701, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 5668, Generating acc routine seq Generating NVIDIA GPU code coords_set: 6155, Generating acc routine seq Generating NVIDIA GPU code coords_get: 6166, Generating acc routine seq Generating NVIDIA GPU code coords_add: 6175, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 6187, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 6199, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 6209, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 6219, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 6227, Generating acc routine seq Generating NVIDIA GPU code coords_len: 6237, Generating acc routine seq Generating NVIDIA GPU code coords_print: 6259, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 6266, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 6312, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 6347, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 6358, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 6375, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 6386, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 6402, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 6431, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 6442, Generating acc routine seq Generating NVIDIA GPU code norm_func: 6446, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 6616, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 6647, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 6664, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 6763, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 6847, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 6913, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 6990, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 7262, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 7274, Generating acc routine seq Generating NVIDIA GPU code _hash: 7306, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 7347, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 7358, Generating acc routine seq Generating NVIDIA GPU code _rand01: 7363, Generating acc routine seq Generating NVIDIA GPU code _rand01_opague: 7370, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 7381, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 7389, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 7396, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 8113, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 8153, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 8227, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 8244, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 8359, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 8414, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 9676, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 9744, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 9823, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10314, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10330, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10348, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 10509, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 10568, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 10701, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 12046, Generating acc routine seq Generating NVIDIA GPU code off_F: 13556, Generating acc routine seq Generating NVIDIA GPU code off_sign: 13561, Generating acc routine seq Generating NVIDIA GPU code off_coord: 13569, Generating acc routine seq Generating NVIDIA GPU code off_normal: 13578, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 13606, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 13658, Generating acc routine seq Generating NVIDIA GPU code off_insert4: 13703, Generating acc routine seq Generating NVIDIA GPU code off_store_intersection: 13723, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 13910, Generating acc routine seq Generating NVIDIA GPU code off_straddle: 13932, Generating acc routine seq Generating NVIDIA GPU code off_line_hits_box: 13956, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 13983, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 14027, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 14525, Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 14541, Generating acc routine seq Generating NVIDIA GPU code off_intersect_all_idx: 14571, Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 14691, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 14716, Generating acc routine seq Generating NVIDIA GPU code off_intersect_idx: 14729, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect_idx: 14754, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 14771, Generating acc routine seq Generating NVIDIA GPU code off_face_prop: 14781, Generating acc routine seq Generating NVIDIA GPU code mccode_eval_ncrystal_xstable: 15457, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 15885, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 16512, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 17262, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 17372, Generating acc routine seq Generating NVIDIA GPU code randrotate: 17388, Generating acc routine seq Generating NVIDIA GPU code randderotate: 17397, Generating acc routine seq Generating NVIDIA GPU code PGrotate: 17406, Generating acc routine seq Generating NVIDIA GPU code PGderotate: 17417, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 17429, Generating acc routine seq Generating NVIDIA GPU code nbose: 17479, Generating acc routine seq Generating NVIDIA GPU code fatalerror: 17498, Generating acc routine seq Generating NVIDIA GPU code omega_q: 17506, Generating acc routine seq Generating NVIDIA GPU code zridd_gpu: 17599, Generating acc routine seq Generating NVIDIA GPU code findroots_gpu: 17682, Generating acc routine seq Generating NVIDIA GPU code init: 34068, 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: 34111, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen4_trace: 34190, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 34418, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 34462, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 34536, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 34688, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 34762, Generating acc routine seq Generating NVIDIA GPU code class_Divergence_monitor_trace: 34850, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 34940, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 34986, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_linear_trace: 35340, Generating acc routine seq Generating NVIDIA GPU code class_Filter_gen_trace: 35413, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 35499, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_psf_eff_trace: 35783, Generating acc routine seq Generating NVIDIA GPU code class_Incoherent_trace: 35892, Generating acc routine seq Generating NVIDIA GPU code 36097, Reference argument passing prevents parallelization: solid_angle 36099, Reference argument passing prevents parallelization: solid_angle class_PowderN_trace: 36251, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 36722, Generating acc routine seq Generating NVIDIA GPU code class_Phonon_simple_trace: 37282, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for vf_list class_PSD_monitor_4PI_trace: 37473, Generating acc routine seq Generating NVIDIA GPU code class_Exact_radial_coll_trace: 37550, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_flat_trace: 37675, Generating acc routine seq Generating NVIDIA GPU code class_Absorber_trace: 37922, Generating acc routine seq Generating NVIDIA GPU code raytrace: 38007, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 41176, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 41190, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 41176, Local memory used for particleN 41190, Generating implicit private(_particle,cloop,loops,seed,mpi_node_rank) finally: 45278, Generating update self(_ana_slit2_var,_slitShutter_var,_source_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: 7517, Generating update device(mcdotrace) /usr/bin//ld: /tmp/nvcPmJgg7jmVDX1T.o: in function `cif2hkl': /u/data/pkwi/TESTS/2026-10-30/mcstas-3.99.99_openacc_mpi_x_8_1e7_Linux_20261030_0001_09/RITA-II/./RITA-II.c:15049: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===