INFO: No output directory specified (--dir) INFO: Using directory: "ISIS_CRISP_20250514_081954" INFO: Regenerating c-file: ISIS_CRISP.c WARNING: Full-path code-generator "/u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS" not found!! WARNING: Attempting replacement by "mcstas-antlr -I$MCSTAS" DEBUG: CMD: mcstas-antlr -I$MCSTAS -t -o ./ISIS_CRISP.c ISIS_CRISP.instr 2025-05-14 08:20:13.975 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Guide_tapering(0):ref-lib :ref-lib(0):read_table-lib 2025-05-14 08:20:13.975 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib The instrument has 5 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component a1 -> GPU kernel from component isis_source -> GPU kernel from component defslit1 -> GPU kernel from component defslit2 -> GPU kernel from component coarseslit1 -> GPU kernel from component coarseslit2 -> GPU kernel from component lmon1 -> GPU kernel from component PSDmon1 -> GPU kernel from component slit1 -> GPU kernel from component PSDmons1 -> GPU kernel from component eguide1 -> GPU kernel from component slit2 -> GPU kernel from component lmon2 Component samp1 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component eguide2 -> GPU kernel from component lmon3 -> GPU kernel from component PSDdet1 ----------------------------------------------------------- CFLAGS= -DFUNNEL -lgsl -lgslcblas DEBUG: CMD: mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./ISIS_CRISP.out --> pointing path miniconda3/lib to /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib --> pointing path miniconda3/lib to /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib --> pointing path miniconda3/include to /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include DEBUG: CMD: nvc -o ./ISIS_CRISP.out ./ISIS_CRISP.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -DFUNNEL -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -lgsl -lgslcblas -I/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include "./ISIS_CRISP.c", line 93: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./ISIS_CRISP.c", line 95: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcsetstate(double x, double y, double z, double vx, double vy, double vz, double t, double sx, double sy, double sz, double p, int mcgravitation, void * mcMagnet, int allow_backprop); ^ "./ISIS_CRISP.c", line 97: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgetstate(_class_particle mcparticle, double * x, double * y, double * z, double * vx, double * vy, double * vz, double * t, double * sx, double * sy, double * sz, double * p); ^ "./ISIS_CRISP.c", line 111: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./ISIS_CRISP.c", line 115: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./ISIS_CRISP.c", line 143: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./ISIS_CRISP.c", line 115: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./ISIS_CRISP.c", line 175: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void(_class_particle *, char *, void*); ^ "./ISIS_CRISP.c", line 200: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./ISIS_CRISP.c", line 213: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./ISIS_CRISP.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){ ^ "./ISIS_CRISP.c", line 241: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./ISIS_CRISP.c", line 313: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./ISIS_CRISP.c", line 315: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./ISIS_CRISP.c", line 665: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./ISIS_CRISP.c", line 886: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./ISIS_CRISP.c", line 903: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./ISIS_CRISP.c", line 905: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./ISIS_CRISP.c", line 913: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./ISIS_CRISP.c", line 915: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./ISIS_CRISP.c", line 917: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./ISIS_CRISP.c", line 919: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./ISIS_CRISP.c", line 921: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./ISIS_CRISP.c", line 1017: warning: Routine "coords_set" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_set(MCNUM x, MCNUM y, MCNUM z); ^ "./ISIS_CRISP.c", line 1019: warning: Routine "coords_get" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_get(Coords a, MCNUM *x, MCNUM *y, MCNUM *z); ^ "./ISIS_CRISP.c", line 1021: warning: Routine "coords_add" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_add(Coords a, Coords b); ^ "./ISIS_CRISP.c", line 1023: warning: Routine "coords_sub" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_sub(Coords a, Coords b); ^ "./ISIS_CRISP.c", line 1025: warning: Routine "coords_neg" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_neg(Coords a); ^ "./ISIS_CRISP.c", line 1027: warning: Routine "coords_scale" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_scale(Coords b, double scale); ^ "./ISIS_CRISP.c", line 1029: warning: Routine "coords_sp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_sp(Coords a, Coords b); ^ "./ISIS_CRISP.c", line 1031: warning: Routine "coords_xp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_xp(Coords b, Coords c); ^ "./ISIS_CRISP.c", line 1033: warning: Routine "coords_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_len(Coords a); ^ "./ISIS_CRISP.c", line 4585: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./ISIS_CRISP.c", line 5040: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./ISIS_CRISP.c", line 4959: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./ISIS_CRISP.c", line 6286: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./ISIS_CRISP.c", line 7004: warning: Routine "Table_Index" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Index(t_Table Table, long i, long j); /* get indexed value */ ^ "./ISIS_CRISP.c", line 7006: warning: Routine "Table_Value" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Value(t_Table Table, double X, long j); /* search X in 1st column and return interpolated value in j-column */ ^ "./ISIS_CRISP.c", line 7013: warning: Routine "Table_Value2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Value2d(t_Table Table, double X, double Y); /* same as Table_Index with non-integer indices and 2d interpolation */ ^ "./ISIS_CRISP.c", line 7033: warning: Routine "Table_Interp1d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp1d(double x, double x1, double y1, double x2, double y2); ^ "./ISIS_CRISP.c", line 7035: warning: Routine "Table_Interp1d_nearest" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp1d_nearest(double x, double x1, double y1, double x2, double y2); ^ "./ISIS_CRISP.c", line 7037: warning: Routine "Table_Interp2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp2d(double x, double y, double x1, double y1, double x2, double y2, ^ "./ISIS_CRISP.c", line 7467: warning: nested comment is not allowed [nested_comment] /* ^ "./ISIS_CRISP.c", line 7451: warning: variable "Efrac" was declared but never referenced [declared_but_not_referenced] double Efrac; // Fraction of an Energy Bin ^ "./ISIS_CRISP.c", line 7461: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./ISIS_CRISP.c", line 7611: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./ISIS_CRISP.c", line 7614: warning: variable "Rend" was set but never used [set_but_not_used] double R0,R1,R,Rend; ^ "./ISIS_CRISP.c", line 7619: warning: variable "Estart" was set but never used [set_but_not_used] double Espread,Estart; ^ "./ISIS_CRISP.c", line 7620: warning: variable "EX" was declared but never referenced [declared_but_not_referenced] double *EX; ^ "./ISIS_CRISP.c", line 9984: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10101: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10155: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10209: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10263: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10322: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10385: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10443: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10501: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10587: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10653: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10712: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10780: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10839: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10921: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10992: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 11055: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 11708: warning: a value of type "int *" cannot be used to initialize an entity of type "char *" [bad_initializer_type] char *ret=&dymmy; ^ "./ISIS_CRISP.c", line 12196: warning: Routine "class_ISIS_moderator_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_ISIS_moderator *class_ISIS_moderator_trace(_class_ISIS_moderator *_comp, _class_particle *_particle) { ^ "./ISIS_CRISP.c", line 12227: warning: variable "E" was declared but never referenced [declared_but_not_referenced] double v,r,E; ^ "./ISIS_CRISP.c", line 12328: warning: Routine "class_Slit_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Slit *class_Slit_trace(_class_Slit *_comp, _class_particle *_particle) { ^ "./ISIS_CRISP.c", line 12372: warning: Routine "class_L_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_L_monitor *class_L_monitor_trace(_class_L_monitor *_comp, _class_particle *_particle) { ^ "./ISIS_CRISP.c", line 12445: warning: Routine "class_PSD_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_PSD_monitor *class_PSD_monitor_trace(_class_PSD_monitor *_comp, _class_particle *_particle) { ^ "./ISIS_CRISP.c", line 12516: warning: Routine "class_Guide_tapering_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Guide_tapering *class_Guide_tapering_trace(_class_Guide_tapering *_comp, _class_particle *_particle) { ^ "./ISIS_CRISP.c", line 12580: warning: variable "vlen2" was declared but never referenced [declared_but_not_referenced] double vlen2,nlen2; /* Vector lengths squared */ ^ "./ISIS_CRISP.c", line 12798: warning: Routine "class_Multilayer_Sample_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Multilayer_Sample *class_Multilayer_Sample_trace(_class_Multilayer_Sample *_comp, _class_particle *_particle) { ^ "./ISIS_CRISP.c", line 12955: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12955: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12955: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12955: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12955: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12955: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12975: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12975: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12975: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12975: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12975: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12975: error: expression must be an lvalue or a function designator if(GSL_REAL(gsl_complex_add(tcvar1,tcvar2))!=0.0 || GSL_IMAG(gsl_complex_add(tcvar1,tcvar2))!=0.0){ ^ "./ISIS_CRISP.c", line 12886: warning: variable "tvar" was declared but never referenced [declared_but_not_referenced] double dbl0,dbl1,tvar; ^ "./ISIS_CRISP.c", line 12828: warning: variable "old_x" was declared but never referenced [declared_but_not_referenced] double old_x = x, old_y = y, old_z = z; ^ "./ISIS_CRISP.c", line 12821: warning: variable "q" was declared but never referenced [declared_but_not_referenced] double dt,q,n1,n2,pfn,R0,lambda,theta,s0,c0,kx,ky,kz,t0,t1,t2,l_i,l_o,v, solid_angle; ^ "./ISIS_CRISP.c", line 12821: warning: variable "n1" was declared but never referenced [declared_but_not_referenced] double dt,q,n1,n2,pfn,R0,lambda,theta,s0,c0,kx,ky,kz,t0,t1,t2,l_i,l_o,v, solid_angle; ^ "./ISIS_CRISP.c", line 12821: warning: variable "n2" was declared but never referenced [declared_but_not_referenced] double dt,q,n1,n2,pfn,R0,lambda,theta,s0,c0,kx,ky,kz,t0,t1,t2,l_i,l_o,v, solid_angle; ^ "./ISIS_CRISP.c", line 12821: warning: variable "pfn" was declared but never referenced [declared_but_not_referenced] double dt,q,n1,n2,pfn,R0,lambda,theta,s0,c0,kx,ky,kz,t0,t1,t2,l_i,l_o,v, solid_angle; ^ "./ISIS_CRISP.c", line 12821: warning: variable "s0" was declared but never referenced [declared_but_not_referenced] double dt,q,n1,n2,pfn,R0,lambda,theta,s0,c0,kx,ky,kz,t0,t1,t2,l_i,l_o,v, solid_angle; ^ "./ISIS_CRISP.c", line 12821: warning: variable "c0" was declared but never referenced [declared_but_not_referenced] double dt,q,n1,n2,pfn,R0,lambda,theta,s0,c0,kx,ky,kz,t0,t1,t2,l_i,l_o,v, solid_angle; ^ "./ISIS_CRISP.c", line 12821: warning: variable "t1" was declared but never referenced [declared_but_not_referenced] double dt,q,n1,n2,pfn,R0,lambda,theta,s0,c0,kx,ky,kz,t0,t1,t2,l_i,l_o,v, solid_angle; ^ "./ISIS_CRISP.c", line 15007: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ISIS_CRISP.c", line 15008: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ISIS_CRISP.c", line 1522: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ISIS_CRISP.c", line 2942: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ 12 errors detected in the compilation of "./ISIS_CRISP.c". INFO: call to nvc failed with Command 'nvc -o ./ISIS_CRISP.out ./ISIS_CRISP.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -DFUNNEL -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -lgsl -lgslcblas -I/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include' returned non-zero exit status 2. Traceback (most recent call last): File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mcrun.py", line 616, in main() File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mcrun.py", line 524, in main mcstas.prepare(options) File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 311, in prepare Process(lexer.quote(options.cc)).run(args) File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 77, in run raise err File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 73, in run proc = run(command, shell=True, check=True, text=True, capture_output=pipe) File "/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'nvc -o ./ISIS_CRISP.out ./ISIS_CRISP.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -DFUNNEL -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -lgsl -lgslcblas -I/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include' returned non-zero exit status 2.