INFO: No output directory specified (--dir) INFO: Using directory: "Test_TOFRes_sample_20250514_033259" INFO: Regenerating c-file: Test_TOFRes_sample.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_TOFRes_sample.c Test_TOFRes_sample.instr Warning: 'ESS_moderator_short' is an obsolete component (not maintained). CFLAGS= --> Added COMPONENT sample USERVAR res_pi_13 with type double --> Added COMPONENT sample USERVAR res_ki_x_13 with type double --> Added COMPONENT sample USERVAR res_ki_y_13 with type double --> Added COMPONENT sample USERVAR res_ki_z_13 with type double --> Added COMPONENT sample USERVAR res_kf_x_13 with type double --> Added COMPONENT sample USERVAR res_kf_y_13 with type double --> Added COMPONENT sample USERVAR res_kf_z_13 with type double --> Added COMPONENT sample USERVAR res_rx_13 with type double --> Added COMPONENT sample USERVAR res_ry_13 with type double --> Added COMPONENT sample USERVAR res_rz_13 with type double ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Test_TOFRes_sample.out DEBUG: CMD: nvc -o ./Test_TOFRes_sample.out ./Test_TOFRes_sample.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 "./Test_TOFRes_sample.c", line 99: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Test_TOFRes_sample.c", line 101: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcsetstate(double x, double y, double z, double vx, double vy, double vz, ^ "./Test_TOFRes_sample.c", line 104: 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, ^ "./Test_TOFRes_sample.c", line 120: 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); ^ "./Test_TOFRes_sample.c", line 124: 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); ^ "./Test_TOFRes_sample.c", line 162: 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); ^ "./Test_TOFRes_sample.c", line 124: 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); ^ "./Test_TOFRes_sample.c", line 201: 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*); ^ "./Test_TOFRes_sample.c", line 233: 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); ^ "./Test_TOFRes_sample.c", line 244: 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); ^ "./Test_TOFRes_sample.c", line 255: 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){ ^ "./Test_TOFRes_sample.c", line 275: 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){ ^ "./Test_TOFRes_sample.c", line 357: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./Test_TOFRes_sample.c", line 359: 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); ^ "./Test_TOFRes_sample.c", line 709: 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 */ ^ "./Test_TOFRes_sample.c", line 930: 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); ^ "./Test_TOFRes_sample.c", line 947: 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); ^ "./Test_TOFRes_sample.c", line 949: 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]); ^ "./Test_TOFRes_sample.c", line 957: 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); ^ "./Test_TOFRes_sample.c", line 959: 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); ^ "./Test_TOFRes_sample.c", line 961: 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); ^ "./Test_TOFRes_sample.c", line 963: 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); ^ "./Test_TOFRes_sample.c", line 965: 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); ^ "./Test_TOFRes_sample.c", line 1061: 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); ^ "./Test_TOFRes_sample.c", line 1063: 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); ^ "./Test_TOFRes_sample.c", line 1065: 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); ^ "./Test_TOFRes_sample.c", line 1067: 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); ^ "./Test_TOFRes_sample.c", line 1069: 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); ^ "./Test_TOFRes_sample.c", line 1071: 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); ^ "./Test_TOFRes_sample.c", line 1073: 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); ^ "./Test_TOFRes_sample.c", line 1075: 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); ^ "./Test_TOFRes_sample.c", line 1077: 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); ^ "./Test_TOFRes_sample.c", line 4632: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Test_TOFRes_sample.c", line 6333: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_TOFRes_sample.c", line 7136: 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 */ ^ "./Test_TOFRes_sample.c", line 7138: 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 */ ^ "./Test_TOFRes_sample.c", line 7145: 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 */ ^ "./Test_TOFRes_sample.c", line 7165: 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); ^ "./Test_TOFRes_sample.c", line 7167: 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); ^ "./Test_TOFRes_sample.c", line 7169: 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, ^ "./Test_TOFRes_sample.c", line 9086: warning: Routine "Monitor_nD_Trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Monitor_nD_Trace(MonitornD_Defines_type *, MonitornD_Variables_type *, _class_particle* _particle); ^ "./Test_TOFRes_sample.c", line 11172: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Test_TOFRes_sample.c", line 11172: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Test_TOFRes_sample.c", line 11199: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Test_TOFRes_sample.c", line 11199: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Test_TOFRes_sample.c", line 11292: error: expected a ")" extern void tl2_mat_zero(double* M, int I, int J); ^ "./Test_TOFRes_sample.c", line 11307: error: expected a ")" extern void tl2_mat_cpy(double* DST, const double* SRC, int I, int J); ^ "./Test_TOFRes_sample.c", line 11322: error: expected a ")" extern int tl2_inverse(const double* M, double* I, int N); ^ "./Test_TOFRes_sample.c", line 11328: error: expected a ")" double *RES, int I, int J, int K); ^ "./Test_TOFRes_sample.c", line 11334: error: expected a ")" double *res, int I, int J); ^ "./Test_TOFRes_sample.c", line 11390: error: expected a ")" double *RES, int I, int J); ^ "./Test_TOFRes_sample.c", line 11396: error: expected a ")" double *RES, int I, int J); ^ "./Test_TOFRes_sample.c", line 11401: error: expected a ")" extern void tl2_mat_neg(const double* M, double *RES, int I, int J); ^ "./Test_TOFRes_sample.c", line 11407: error: expected a ")" double *RES, int I, int J); ^ "./Test_TOFRes_sample.c", line 11413: error: expected a ")" double *RES, int I, int J); ^ "./Test_TOFRes_sample.c", line 11445: warning: Routine "tl2_k_to_E" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] extern double tl2_k_to_E(double kix, double kiy, double kiz, double kfx, double kfy, double kfz); ^ "./Test_TOFRes_sample.c", line 11447: error: expected a ")" extern void tl2_print_vec(const double* vec, const char* title, int I); ^ "./Test_TOFRes_sample.c", line 11448: error: expected a ")" extern void tl2_print_mat(const double* mat, const char* title, int I, int J); ^ "./Test_TOFRes_sample.c", line 11505: error: expected a ")" void tl2_print_vec(const double* vec, const char* title, int I) ^ "./Test_TOFRes_sample.c", line 11505: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_print_vec(const double* vec, const char* title, int I) ^ "./Test_TOFRes_sample.c", line 11509: error: complex type is not allowed for(int i = 0; i < I; ++i) ^ "./Test_TOFRes_sample.c", line 11515: error: expected a ")" void tl2_print_mat(const double* mat, const char* title, int I, int J) ^ "./Test_TOFRes_sample.c", line 11515: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_print_mat(const double* mat, const char* title, int I, int J) ^ "./Test_TOFRes_sample.c", line 11519: error: complex type is not allowed for(int i = 0; i < I; ++i) ^ "./Test_TOFRes_sample.c", line 11596: error: expected a ")" void tl2_mat_zero(double* M, int I, int J) ^ "./Test_TOFRes_sample.c", line 11596: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_mat_zero(double* M, int I, int J) ^ "./Test_TOFRes_sample.c", line 11601: error: complex type is not allowed for(int i = 0; i < I; ++i) ^ "./Test_TOFRes_sample.c", line 11636: error: expected a ")" void tl2_mat_cpy(double* DST, const double* SRC, int I, int J) ^ "./Test_TOFRes_sample.c", line 11636: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_mat_cpy(double* DST, const double* SRC, int I, int J) ^ "./Test_TOFRes_sample.c", line 11641: error: complex type is not allowed for(int i = 0; i < I; ++i) ^ "./Test_TOFRes_sample.c", line 11738: error: expected a ")" int tl2_inverse(const double* M, double* I, int N) ^ "./Test_TOFRes_sample.c", line 11738: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] int tl2_inverse(const double* M, double* I, int N) ^ "./Test_TOFRes_sample.c", line 11759: error: expression must have pointer-to-object type but it has type "float __complex__" I[j*N + i] = tl2_determinant(submat, N - 1) * sgn / fullDet; ^ "./Test_TOFRes_sample.c", line 11771: error: expected a ")" void tl2_matmat_mul(const double* M1, const double* M2, double *RES, int I, int J, int K) ^ "./Test_TOFRes_sample.c", line 11771: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_matmat_mul(const double* M1, const double* M2, double *RES, int I, int J, int K) ^ "./Test_TOFRes_sample.c", line 11776: error: complex type is not allowed for(int i = 0; i < I; ++i) ^ "./Test_TOFRes_sample.c", line 11792: error: expected a ")" void tl2_matvec_mul(const double* M, const double* v, double *res, int I, int J) ^ "./Test_TOFRes_sample.c", line 11792: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_matvec_mul(const double* M, const double* v, double *res, int I, int J) ^ "./Test_TOFRes_sample.c", line 11797: error: complex type is not allowed for(int i = 0; i < I; ++i) ^ "./Test_TOFRes_sample.c", line 11943: error: expected a ")" void tl2_mat_add(const double* M0, const double* M1, double *RES, int I, int J) ^ "./Test_TOFRes_sample.c", line 11943: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_mat_add(const double* M0, const double* M1, double *RES, int I, int J) ^ "./Test_TOFRes_sample.c", line 11948: error: complex type is not allowed for(int i = 0; i < I; ++i) ^ "./Test_TOFRes_sample.c", line 11957: error: expected a ")" void tl2_mat_sub(const double* M0, const double* M1, double *RES, int I, int J) ^ "./Test_TOFRes_sample.c", line 11957: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_mat_sub(const double* M0, const double* M1, double *RES, int I, int J) ^ "./Test_TOFRes_sample.c", line 11962: error: complex type is not allowed for(int i = 0; i < I; ++i) ^ "./Test_TOFRes_sample.c", line 11971: error: expected a ")" void tl2_mat_neg(const double* M, double *RES, int I, int J) ^ "./Test_TOFRes_sample.c", line 11971: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_mat_neg(const double* M, double *RES, int I, int J) ^ "./Test_TOFRes_sample.c", line 11976: error: complex type is not allowed for(int i = 0; i < I; ++i) ^ "./Test_TOFRes_sample.c", line 11985: error: expected a ")" void tl2_mat_mul(const double* M, double s, double *RES, int I, int J) ^ "./Test_TOFRes_sample.c", line 11985: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_mat_mul(const double* M, double s, double *RES, int I, int J) ^ "./Test_TOFRes_sample.c", line 11990: error: complex type is not allowed for(int i = 0; i < I; ++i) ^ "./Test_TOFRes_sample.c", line 11999: error: expected a ")" void tl2_mat_div(const double* M, double s, double *RES, int I, int J) ^ "./Test_TOFRes_sample.c", line 11999: warning: unnamed prototyped parameters not allowed when body is present [all_proto_params_must_be_named] void tl2_mat_div(const double* M, double s, double *RES, int I, int J) ^ "./Test_TOFRes_sample.c", line 12697: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_TOFRes_sample.c", line 12694: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_TOFRes_sample.c", line 12738: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_TOFRes_sample.c", line 12828: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_TOFRes_sample.c", line 12912: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_TOFRes_sample.c", line 12977: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_TOFRes_sample.c", line 13054: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_TOFRes_sample.c", line 13119: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_TOFRes_sample.c", line 13196: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_TOFRes_sample.c", line 13280: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_TOFRes_sample.c", line 13353: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_TOFRes_sample.c", line 13430: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Test_TOFRes_sample.c", line 13506: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Test_TOFRes_sample.c", line 13590: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Test_TOFRes_sample.c", line 13675: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Test_TOFRes_sample.c", line 13724: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Test_TOFRes_sample.c", line 14377: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Test_TOFRes_sample.c", line 14605: warning: Routine "class_ESS_moderator_short_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_ESS_moderator_short_trace(_class_ESS_moderator_short *_comp ^ "./Test_TOFRes_sample.c", line 14633: warning: variable "E" was declared but never referenced [declared_but_not_referenced] double v,tau_l,E,lambda,k,r,xf,yf,dx,dy,w_focus; ^ "./Test_TOFRes_sample.c", line 14752: warning: Routine "class_TOFLambda_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_TOFLambda_monitor_trace(_class_TOFLambda_monitor *_comp ^ "./Test_TOFRes_sample.c", line 14778: warning: variable "div" was declared but never referenced [declared_but_not_referenced] double div; ^ "./Test_TOFRes_sample.c", line 14840: 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 ^ "./Test_TOFRes_sample.c", line 14884: warning: Routine "class_DiskChopper_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_DiskChopper_trace(_class_DiskChopper *_comp ^ "./Test_TOFRes_sample.c", line 14974: warning: Routine "class_Guide_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Guide_trace(_class_Guide *_comp ^ "./Test_TOFRes_sample.c", line 15127: 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 ^ "./Test_TOFRes_sample.c", line 15198: warning: Routine "class_TOFRes_sample_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_TOFRes_sample_trace(_class_TOFRes_sample *_comp ^ "./Test_TOFRes_sample.c", line 15235: warning: variable "E" was declared but never referenced [declared_but_not_referenced] double E; ^ "./Test_TOFRes_sample.c", line 15370: warning: Routine "class_TOFRes_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_TOFRes_monitor_trace(_class_TOFRes_monitor *_comp ^ "./Test_TOFRes_sample.c", line 15603: 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 Test_TOFRes_sample:TRACE */ ^ "./Test_TOFRes_sample.c", line 17730: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_TOFRes_sample.c", line 17731: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_TOFRes_sample.c", line 1569: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_TOFRes_sample.c", line 2989: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ 35 errors detected in the compilation of "./Test_TOFRes_sample.c". INFO: call to nvc failed with Command 'nvc -o ./Test_TOFRes_sample.out ./Test_TOFRes_sample.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' 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 ./Test_TOFRes_sample.out ./Test_TOFRes_sample.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' returned non-zero exit status 2.