INFO: No output directory specified (--dir) INFO: Using directory: "Test_Source_quasi_20241121_065655" INFO: Regenerating c-file: Test_Source_quasi.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./Test_Source_quasi.c Test_Source_quasi.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace finished INFO: Recompiling: ./Test_Source_quasi.out DEBUG: CMD: nvc -o ./Test_Source_quasi.out ./Test_Source_quasi.c -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/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./Test_Source_quasi.c", line 4476: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Test_Source_quasi.c", line 6599: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./Test_Source_quasi.c", line 6772: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./Test_Source_quasi.c", line 8473: warning: variable "no_primes" was declared but never referenced [declared_but_not_referenced] const int no_primes=32; ^ "./Test_Source_quasi.c", line 8838: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Source_quasi.c", line 8826: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_Source_quasi.c", line 8879: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_Source_quasi.c", line 8953: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_Source_quasi.c", line 9025: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_Source_quasi.c", line 9086: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_Source_quasi.c", line 9147: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_Source_quasi.c", line 9303: warning: variable "status" was set but never used [set_but_not_used] int status=0; ^ "./Test_Source_quasi.c", line 9452: warning: variable "status" was set but never used [set_but_not_used] int status=0; ^ "./Test_Source_quasi.c", line 9551: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Test_Source_quasi.c", line 9604: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Test_Source_quasi.c", line 9659: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./Test_Source_quasi.c", line 9659: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./Test_Source_quasi.c", line 9660: warning: variable "p1" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./Test_Source_quasi.c", line 9660: warning: variable "p2" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./Test_Source_quasi.c", line 9660: warning: variable "p3" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./Test_Source_quasi.c", line 9913: warning: variable "kk" was declared but never referenced [declared_but_not_referenced] double kk,theta_x,theta_y,l,e,k; ^ "./Test_Source_quasi.c", line 10165: error: identifier "mcxtrace" is undefined }else if (gauss){mcxtrace-comps/sources/Source_div_quasi.comp ^ "./Test_Source_quasi.c", line 10165: error: identifier "comps" is undefined }else if (gauss){mcxtrace-comps/sources/Source_div_quasi.comp ^ "./Test_Source_quasi.c", line 10165: error: identifier "sources" is undefined }else if (gauss){mcxtrace-comps/sources/Source_div_quasi.comp ^ "./Test_Source_quasi.c", line 10165: error: identifier "Source_div_quasi" is undefined }else if (gauss){mcxtrace-comps/sources/Source_div_quasi.comp ^ "./Test_Source_quasi.c", line 10166: error: expected a ";" l=lambda0+dlambda*randnorm(); ^ "./Test_Source_quasi.c", line 10104: warning: variable "kk" was declared but never referenced [declared_but_not_referenced] double kk,theta_x,theta_y,l,e,k; ^ "./Test_Source_quasi.c", line 10411: warning: variable "k" was declared but never referenced [declared_but_not_referenced] int i,j,k; ^ "./Test_Source_quasi.c", line 10412: warning: variable "e" was declared but never referenced [declared_but_not_referenced] double e,p2; ^ "./Test_Source_quasi.c", line 11834: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_Source_quasi.c", line 11835: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_Source_quasi.c", line 1485: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Source_quasi.c", line 2888: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ 5 errors detected in the compilation of "./Test_Source_quasi.c". INFO: call to nvc failed with Command 'nvc -o ./Test_Source_quasi.out ./Test_Source_quasi.c -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/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC' returned non-zero exit status 2. Traceback (most recent call last): File "/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/mxrun.py", line 595, in main() File "/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/mxrun.py", line 503, in main mcstas.prepare(options) File "/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/mccode.py", line 294, in prepare Process(lexer.quote(options.cc)).run(args) File "/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/mccode.py", line 77, in run raise err File "/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/mccode.py", line 73, in run proc = run(command, shell=True, check=True, text=True, capture_output=pipe) File "/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'nvc -o ./Test_Source_quasi.out ./Test_Source_quasi.c -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/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC' returned non-zero exit status 2.