INFO: No output directory specified (--dir) INFO: Using directory: "ISIS_CRISP_20250514_014640" INFO: Regenerating c-file: ISIS_CRISP.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ISIS_CRISP.c ISIS_CRISP.instr Info: 'ISIS_moderator' is a contributed component. Info: 'Multilayer_Sample' is a contributed component. CFLAGS= @GSLFLAGS@ -DFUNNEL WARNING: The parameter sldPar of samp1 is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter dPar of samp1 is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter sigmaPar of samp1 is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component samp1 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component samp1 -> GPU kernel from component slit3 ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/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 -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 -DFUNNEL "./ISIS_CRISP.c", line 88: 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 90: 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, ^ "./ISIS_CRISP.c", line 93: 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, ^ "./ISIS_CRISP.c", line 109: 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 113: 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 141: 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 113: 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 170: 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 192: 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 203: 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 214: 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 224: 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 296: 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 298: 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 648: 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 869: 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 886: 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 888: 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 896: 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 898: 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 900: 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 902: 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 904: 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 1000: 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 1002: 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 1004: 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 1006: 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 1008: 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 1010: 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 1012: 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 1014: 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 1016: 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 4571: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./ISIS_CRISP.c", line 5026: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./ISIS_CRISP.c", line 4945: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./ISIS_CRISP.c", line 6272: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./ISIS_CRISP.c", line 7261: warning: nested comment is not allowed [nested_comment] /* ^ "./ISIS_CRISP.c", line 7245: warning: variable "Efrac" was declared but never referenced [declared_but_not_referenced] double Efrac; // Fraction of an Energy Bin ^ "./ISIS_CRISP.c", line 7255: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./ISIS_CRISP.c", line 7405: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./ISIS_CRISP.c", line 7408: warning: variable "Rend" was set but never used [set_but_not_used] double R0,R1,R,Rend; ^ "./ISIS_CRISP.c", line 7413: warning: variable "Estart" was set but never used [set_but_not_used] double Espread,Estart; ^ "./ISIS_CRISP.c", line 7414: warning: variable "EX" was declared but never referenced [declared_but_not_referenced] double *EX; ^ "./ISIS_CRISP.c", line 7852: 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 7854: 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 7861: 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 7881: 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 7883: 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 7885: 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 9982: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 9979: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ISIS_CRISP.c", line 10023: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ISIS_CRISP.c", line 10115: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10103: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ISIS_CRISP.c", line 10176: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10164: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ISIS_CRISP.c", line 10237: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10225: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ISIS_CRISP.c", line 10298: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10286: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ISIS_CRISP.c", line 10367: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10347: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ISIS_CRISP.c", line 10440: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10421: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ISIS_CRISP.c", line 10505: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10493: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ISIS_CRISP.c", line 10573: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10554: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ISIS_CRISP.c", line 10653: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10626: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ISIS_CRISP.c", line 10726: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10714: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ISIS_CRISP.c", line 10795: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10775: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ISIS_CRISP.c", line 10867: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10849: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ISIS_CRISP.c", line 10933: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10921: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ISIS_CRISP.c", line 11009: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 10982: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ISIS_CRISP.c", line 11090: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 11070: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ISIS_CRISP.c", line 11163: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_CRISP.c", line 11144: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ISIS_CRISP.c", line 11822: 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 12331: 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] void class_ISIS_moderator_trace(_class_ISIS_moderator *_comp ^ "./ISIS_CRISP.c", line 12363: warning: variable "E" was declared but never referenced [declared_but_not_referenced] double v,r,E; ^ "./ISIS_CRISP.c", line 12463: 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 ^ "./ISIS_CRISP.c", line 12507: 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 ^ "./ISIS_CRISP.c", line 12580: 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 ^ "./ISIS_CRISP.c", line 12651: 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] void class_Guide_tapering_trace(_class_Guide_tapering *_comp ^ "./ISIS_CRISP.c", line 12716: warning: variable "vlen2" was declared but never referenced [declared_but_not_referenced] double vlen2,nlen2; /* Vector lengths squared */ ^ "./ISIS_CRISP.c", line 13090: 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 13090: 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 13090: 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 13090: 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 13090: 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 13090: 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 13110: 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 13110: 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 13110: 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 13110: 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 13110: 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 13110: 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 13021: warning: variable "tvar" was declared but never referenced [declared_but_not_referenced] double dbl0,dbl1,tvar; ^ "./ISIS_CRISP.c", line 12963: 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 12956: 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 12956: 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 12956: 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 12956: 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 12956: 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 12956: 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 12956: 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 15204: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ISIS_CRISP.c", line 15205: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ISIS_CRISP.c", line 1508: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ISIS_CRISP.c", line 2928: 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 -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 -DFUNNEL' 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 -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 -DFUNNEL' returned non-zero exit status 2.