INFO: No output directory specified (--dir) INFO: Using directory: "templateLaue_20261121_000827" INFO: Regenerating c-file: templateLaue.c DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas -t -o ./templateLaue.c templateLaue.instr --verbose mcstas version 3.99.99 Analyzing file templateLaue.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]: Origin = Progress_bar(). Embedding component Source_simple from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/sources/Source_simple.comp Component[2]: source = Source_simple(). Embedding component Slit from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Slit.comp Component[3]: slit = Slit(). Embedding library read_table-lib.h Embedding library read_table-lib.c Embedding library interoff-lib.h Embedding library interoff-lib.c Embedding library mccode-ncrystal-lib.h Embedding library mccode-ncrystal-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[4]: sample = Single_crystal(). 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[5]: det = PSD_monitor_4PI(). Combine metadata blocks into table Processed 0 metadata blocks Creating instrument 'templateLaue' (with 5 component instances) Starting to create C code ./templateLaue.c Embedding file mccode-r.h (user path) Embedding file mcstas-r.h (user path) Compile './templateLaue.c -DUSE_NEXUS -lhdf5' to enable NeXus support Embedding file mccode-r.c (user path) Embedding file mcstas-r.c (user path) Writing instrument 'templateLaue' and components DECLARE Writing instrument 'templateLaue' and components INITIALISE Writing components TRACE Writing instrument 'templateLaue' and components SAVE Writing instrument 'templateLaue' and components FINALLY Writing instrument 'templateLaue' and components DISPLAY Embedding file metadata-r.c (user path) Embedding file mccode_main.c (user path) Warning: The build of the instrument 'templateLaue' has 20 warnings/errors. Generated C code ./templateLaue.c from templateLaue.instr CFLAGS= @NCRYSTALFLAGS@ ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas finished INFO: Recompiling: ./templateLaue.out --> launching cmd: ncrystal-config --show buildflags DEBUG: CMD: nvc -o ./templateLaue.out ./templateLaue.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 "./templateLaue.c", line 103: 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 " "./templateLaue.c", line 105: 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, ^ "./templateLaue.c", line 108: 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, ^ "./templateLaue.c", line 125: 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); ^ "./templateLaue.c", line 129: 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); ^ "./templateLaue.c", line 157: 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); ^ "./templateLaue.c", line 129: 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); ^ "./templateLaue.c", line 186: 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*); ^ "./templateLaue.c", line 208: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./templateLaue.c", line 219: 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); ^ "./templateLaue.c", line 230: 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){ ^ "./templateLaue.c", line 240: 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){ ^ "./templateLaue.c", line 319: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./templateLaue.c", line 327: 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); ^ "./templateLaue.c", line 689: 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 */ ^ "./templateLaue.c", line 921: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./templateLaue.c", line 938: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./templateLaue.c", line 940: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./templateLaue.c", line 948: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./templateLaue.c", line 950: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./templateLaue.c", line 952: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./templateLaue.c", line 954: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./templateLaue.c", line 956: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./templateLaue.c", line 959: 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); ^ "./templateLaue.c", line 1039: 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); ^ "./templateLaue.c", line 1041: 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); ^ "./templateLaue.c", line 1043: 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); ^ "./templateLaue.c", line 1045: 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); ^ "./templateLaue.c", line 1047: 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); ^ "./templateLaue.c", line 1049: 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); ^ "./templateLaue.c", line 1051: 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); ^ "./templateLaue.c", line 1053: 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); ^ "./templateLaue.c", line 1055: 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); ^ "./templateLaue.c", line 5702: warning: variable "exists" was set but never used [set_but_not_used] int exists=0; ^ "./templateLaue.c", line 8783: 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 */ ^ "./templateLaue.c", line 8785: 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 */ ^ "./templateLaue.c", line 8792: 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 */ ^ "./templateLaue.c", line 8812: 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); ^ "./templateLaue.c", line 8814: 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); ^ "./templateLaue.c", line 8816: 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, ^ "./templateLaue.c", line 9647: warning: Routine "Table_Decreasing" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] static int Table_Decreasing(t_Table *Table) ^ "./templateLaue.c", line 9733: warning: Routine "Table_In_Bracket" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] static int Table_In_Bracket(double direction, double X, double X1, double X2) ^ "./templateLaue.c", line 9739: warning: Routine "Table_Value_Index" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] static long Table_Value_Index(t_Table Table, double X, double *X1, double *X2) ^ "./templateLaue.c", line 10595: 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, ^ "./templateLaue.c", line 10605: 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, ^ "./templateLaue.c", line 10629: 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, ^ "./templateLaue.c", line 10638: 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, ^ "./templateLaue.c", line 10659: 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, ^ "./templateLaue.c", line 10667: 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, ^ "./templateLaue.c", line 10679: 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); ^ "./templateLaue.c", line 10698: 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, ^ "./templateLaue.c", line 10709: 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); ^ "./templateLaue.c", line 10766: 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) { ^ "./templateLaue.c", line 10771: 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) { ^ "./templateLaue.c", line 10779: 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) { ^ "./templateLaue.c", line 10787: 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) ^ "./templateLaue.c", line 10815: 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) ^ "./templateLaue.c", line 10867: 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) ^ "./templateLaue.c", line 10912: 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) ^ "./templateLaue.c", line 10932: 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) ^ "./templateLaue.c", line 11119: 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) ^ "./templateLaue.c", line 11165: 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) ^ "./templateLaue.c", line 11190: 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, ^ "./templateLaue.c", line 11743: 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, ^ "./templateLaue.c", line 11760: 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) ^ "./templateLaue.c", line 11784: 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, ^ "./templateLaue.c", line 11905: 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, ^ "./templateLaue.c", line 11930: 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, ^ "./templateLaue.c", line 11942: 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, ^ "./templateLaue.c", line 11968: 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, ^ "./templateLaue.c", line 11986: 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, ^ "./templateLaue.c", line 12000: 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) ^ "./templateLaue.c", line 12211: 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) { ^ "./templateLaue.c", line 13365: warning: Routine "hkl_search_select" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] hkl_search_select (struct hkl_data* L, struct tau_data* T, int count, double V0, double kix, double kiy, double kiz, double tau_max, double* coh_refl, double* coh_xsect, ^ "./templateLaue.c", line 13376: warning: variable "jglobal" was declared but never referenced [declared_but_not_referenced] int jglobal = -1; ^ "./templateLaue.c", line 13377: warning: variable "coherent_refl" was set but never used [set_but_not_used] double coherent_refl, coherent_xsect; ^ "./templateLaue.c", line 13377: warning: variable "coherent_xsect" was set but never used [set_but_not_used] double coherent_refl, coherent_xsect; ^ "./templateLaue.c", line 13503: 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) { ^ "./templateLaue.c", line 13512: 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) { ^ "./templateLaue.c", line 13521: 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) { ^ "./templateLaue.c", line 13532: 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) { ^ "./templateLaue.c", line 13544: 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) { ^ "./templateLaue.c", line 13875: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./templateLaue.c", line 13863: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./templateLaue.c", line 13938: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./templateLaue.c", line 13920: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./templateLaue.c", line 13993: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./templateLaue.c", line 14058: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./templateLaue.c", line 14191: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./templateLaue.c", line 14489: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./templateLaue.c", line 14489: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./templateLaue.c", line 14489: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./templateLaue.c", line 14490: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i = 0; ^ "./templateLaue.c", line 14788: warning: incompatible redefinition of macro "exit" (declared at line 666) [bad_macro_redef] #define exit(...) noprintf() ^ "./templateLaue.c", line 14800: 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 ^ "./templateLaue.c", line 14879: warning: Routine "class_Source_simple_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Source_simple_trace(_class_Source_simple *_comp ^ "./templateLaue.c", line 14982: 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 ^ "./templateLaue.c", line 15026: 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 ^ "./templateLaue.c", line 15085: warning: variable "rho_x" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./templateLaue.c", line 15085: warning: variable "rho_y" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./templateLaue.c", line 15085: warning: variable "rho_z" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./templateLaue.c", line 15086: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./templateLaue.c", line 15087: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./templateLaue.c", line 15088: warning: variable "ox" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./templateLaue.c", line 15088: warning: variable "oy" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./templateLaue.c", line 15088: warning: variable "oz" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./templateLaue.c", line 15089: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./templateLaue.c", line 15089: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./templateLaue.c", line 15089: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./templateLaue.c", line 15090: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./templateLaue.c", line 15090: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./templateLaue.c", line 15090: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./templateLaue.c", line 15091: warning: variable "n11" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./templateLaue.c", line 15091: warning: variable "n12" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./templateLaue.c", line 15091: warning: variable "n22" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./templateLaue.c", line 15092: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./templateLaue.c", line 15093: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./templateLaue.c", line 15093: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./templateLaue.c", line 15093: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./templateLaue.c", line 15094: warning: variable "l11" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./templateLaue.c", line 15094: warning: variable "l12" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./templateLaue.c", line 15094: warning: variable "l22" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./templateLaue.c", line 15095: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./templateLaue.c", line 15096: 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 */ ^ "./templateLaue.c", line 15096: 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 */ ^ "./templateLaue.c", line 15097: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./templateLaue.c", line 15097: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./templateLaue.c", line 15098: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./templateLaue.c", line 15105: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./templateLaue.c", line 15112: warning: variable "theta" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./templateLaue.c", line 15112: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./templateLaue.c", line 15121: 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 */ ^ "./templateLaue.c", line 15573: 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 ^ "./templateLaue.c", line 15674: 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 templateLaue:TRACE */ ^ "./templateLaue.c", line 16972: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./templateLaue.c", line 16973: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./templateLaue.c", line 1639: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ mcgenstate: 118, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 132, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 164, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 188, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 210, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 221, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 230, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 240, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1708, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1712, Generating acc routine seq Generating NVIDIA GPU code str_len: 1721, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 5778, Generating acc routine seq Generating NVIDIA GPU code coords_set: 6265, Generating acc routine seq Generating NVIDIA GPU code coords_get: 6276, Generating acc routine seq Generating NVIDIA GPU code coords_add: 6285, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 6297, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 6309, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 6319, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 6329, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 6337, Generating acc routine seq Generating NVIDIA GPU code coords_len: 6347, Generating acc routine seq Generating NVIDIA GPU code coords_print: 6369, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 6376, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 6422, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 6457, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 6468, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 6485, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 6496, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 6512, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 6541, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 6552, Generating acc routine seq Generating NVIDIA GPU code norm_func: 6556, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 6726, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 6757, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 6774, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 6873, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 6957, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 7023, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 7100, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 7372, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 7384, Generating acc routine seq Generating NVIDIA GPU code _hash: 7416, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 7457, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 7468, Generating acc routine seq Generating NVIDIA GPU code _rand01: 7473, Generating acc routine seq Generating NVIDIA GPU code _rand01_opague: 7480, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 7491, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 7499, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 7506, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 8230, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 8270, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 8344, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 8361, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 8476, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 8531, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 9655, Generating acc routine seq Generating NVIDIA GPU code Table_Value_Index: 9740, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 9801, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 9855, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10342, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10358, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10376, Generating acc routine seq Generating NVIDIA GPU code off_F: 10766, Generating acc routine seq Generating NVIDIA GPU code off_sign: 10771, Generating acc routine seq Generating NVIDIA GPU code off_coord: 10779, Generating acc routine seq Generating NVIDIA GPU code off_normal: 10788, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 10816, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 10868, Generating acc routine seq Generating NVIDIA GPU code off_insert4: 10913, Generating acc routine seq Generating NVIDIA GPU code off_store_intersection: 10933, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11120, Generating acc routine seq Generating NVIDIA GPU code off_straddle: 11142, Generating acc routine seq Generating NVIDIA GPU code off_line_hits_box: 11166, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11193, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11237, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11745, Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 11761, Generating acc routine seq Generating NVIDIA GPU code off_intersect_all_idx: 11791, Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 11911, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 11936, Generating acc routine seq Generating NVIDIA GPU code off_intersect_idx: 11949, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect_idx: 11974, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 11991, Generating acc routine seq Generating NVIDIA GPU code off_face_prop: 12001, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 12211, Generating acc routine seq Generating NVIDIA GPU code mccode_eval_ncrystal_xstable: 12699, Generating acc routine seq Generating NVIDIA GPU code hkl_search_select: 13366, Generating acc routine seq Generating NVIDIA GPU code randrotate: 13503, Generating acc routine seq Generating NVIDIA GPU code randderotate: 13512, Generating acc routine seq Generating NVIDIA GPU code PGrotate: 13521, Generating acc routine seq Generating NVIDIA GPU code PGderotate: 13532, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 13544, Generating acc routine seq Generating NVIDIA GPU code init: 14758, Generating update device(_source_var,_slit_var,_sample_var,_instrument_var,_Origin_var,_det_var) class_Progress_bar_trace: 14801, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 14880, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 14983, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 15027, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 15574, Generating acc routine seq Generating NVIDIA GPU code raytrace: 15674, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 15842, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 15859, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 15842, Local memory used for particleN 15859, Generating implicit private(_particle,cloop,loops,seed,mpi_node_rank) finally: 16413, Generating update self(_slit_var,_source_var,_sample_var,_instrument_var,_Origin_var,_det_var) mcenabletrace: 7634, Generating update device(mcdotrace) /usr/bin//ld: /tmp/nvcjHIjBRWFf_Uv.o: in function `cif2hkl': /u/data/pkwi/TESTS/2026-11-21/mcstas-3.99.99_openacc_mpi_x_8_1e7_Linux_20261121_0001_24/templateLaue/./templateLaue.c:12288: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===