INFO: No output directory specified (--dir) INFO: Using directory: "WOFSANS_20240919_165321" INFO: Regenerating c-file: WOFSANS.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./WOFSANS.c WOFSANS.instr Downloading file 'mcstas-comps/monitors/DivLambda_monitor.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.1/mcstas-comps/monitors/DivLambda_monitor.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.1'. Downloading file 'mcstas-comps/contrib/Conics_PH.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.1/mcstas-comps/contrib/Conics_PH.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.1'. Downloading file 'mcstas-comps/contrib/Conics_EH.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.1/mcstas-comps/contrib/Conics_EH.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.1'. Downloading file 'mcstas-comps/share/conic.h' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.1/mcstas-comps/share/conic.h' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.1'. 2024-09-19 16:53:26.270 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:67 - sort includes :Source_gen(0):read_table-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib :Conics_PH(0):ref-lib :Conics_PH(1):read_table-lib :ref-lib(0):read_table-lib :Conics_EH(0):ref-lib :Conics_EH(1):read_table-lib 2024-09-19 16:53:26.270 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:92 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: org/antlr/v4/Tool has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:621) Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: org/antlr/v4/Tool has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:621) The instrument has 20 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component origin -> GPU kernel from component Source -> GPU kernel from component psd_Source -> GPU kernel from component l_Source -> GPU kernel from component nD1 -> GPU kernel from component divergence_monitor_Source -> GPU kernel from component h_divlambda_Source -> GPU kernel from component v_divlambda_Source -> GPU kernel from component psd_FocusingPosition -> GPU kernel from component l_FocusingPosition -> GPU kernel from component nD2 -> GPU kernel from component divergence_monitor_FocusingPosition -> GPU kernel from component h_divlambda_FocusingPosition -> GPU kernel from component v_divlambda_FocusingPosition -> GPU kernel from component BrillmonLD2 -> GPU kernel from component monolith_slit1 -> GPU kernel from component monolith_slit2 -> GPU kernel from component psd_monolith -> GPU kernel from component l_monolith -> GPU kernel from component nD3 -> GPU kernel from component divergence_monitor_monolith -> GPU kernel from component h_divlambda_monolith -> GPU kernel from component v_divlambda_monolith -> GPU kernel from component PSD_before_slit_cPH -> GPU kernel from component slit_cPH -> GPU kernel from component PSD_slit_cPH -> GPU kernel from component l_slit_cPH -> GPU kernel from component nD4 -> GPU kernel from component divergence_monitor_slit_cPH -> GPU kernel from component h_divlambda_slit_cPH -> GPU kernel from component v_divlambda_slit_cPH -> GPU kernel from component cPH -> GPU kernel from component beamstop_cPH -> GPU kernel from component psd_cPH -> GPU kernel from component l_cPH -> GPU kernel from component nD5 -> GPU kernel from component divergence_monitor_cPH -> GPU kernel from component h_divlambda_cPH -> GPU kernel from component v_divlambda_cPH -> GPU kernel from component psd_bunker -> GPU kernel from component l_bunker -> GPU kernel from component nD6 -> GPU kernel from component divergence_monitor_bunker -> GPU kernel from component h_divlambda_bunker -> GPU kernel from component v_divlambda_bunker -> GPU kernel from component psd_PHfocus1 -> GPU kernel from component l_PHfocus1 -> GPU kernel from component nD7 -> GPU kernel from component divergence_monitor_PHfocus1 -> GPU kernel from component h_divlambda_PHfocus1 -> GPU kernel from component v_divlambda_PHfocus1 -> GPU kernel from component slit_focusPH -> GPU kernel from component psd_slit_focusPH -> GPU kernel from component l_slit_focusPH -> GPU kernel from component nD8 -> GPU kernel from component divergence_monitor_slit_focusPH -> GPU kernel from component h_divlambda_slit_focusPH -> GPU kernel from component v_divlambda_slit_focusPH -> GPU kernel from component slit_EH -> GPU kernel from component cEH -> GPU kernel from component beamstop_cEH -> GPU kernel from component psd_cEH -> GPU kernel from component l_cEH -> GPU kernel from component nD9 -> GPU kernel from component divergence_monitor_cEH -> GPU kernel from component h_divlambda_cEH -> GPU kernel from component v_divlambda_cEH -> GPU kernel from component PSD_10 -> GPU kernel from component PSD_11 -> GPU kernel from component PSD_12 -> GPU kernel from component PSD_13 -> GPU kernel from component l_10 -> GPU kernel from component l_11 -> GPU kernel from component l_12 -> GPU kernel from component l_13 -> GPU kernel from component divergence_monitor_10 -> GPU kernel from component divergence_monitor_11 -> GPU kernel from component divergence_monitor_12 -> GPU kernel from component divergence_monitor_13 -> GPU kernel from component divlambda_10 -> GPU kernel from component h_divlambda_11 -> GPU kernel from component h_divlambda_12 -> GPU kernel from component h_divlambda_13 -> GPU kernel from component v_divlambda_10 -> GPU kernel from component v_divlambda_11 -> GPU kernel from component v_divlambda_12 -> GPU kernel from component v_divlambda_13 -> GPU kernel from component psd_monitor_detector -> GPU kernel from component l_detector -> GPU kernel from component divergence_monitor_detector -> GPU kernel from component divlambda_detector -> GPU kernel from component psd_monitor_detector_big ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./WOFSANS.out DEBUG: CMD: mpicc -o ./WOFSANS.out ./WOFSANS.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,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -DUSE_MPI -lmpi -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./WOFSANS.c: In function 'raytrace': ./WOFSANS.c:25407:13: error: 'PH_beamstop' undeclared (first use in this function) 25407 | if (((PH_beamstop==1))) // conditional WHEN execution | ^~~~~~~~~~~ ./WOFSANS.c:25407:13: note: each undeclared identifier is reported only once for each function it appears in ./WOFSANS.c:25996:13: error: 'EH_beamstop' undeclared (first use in this function) 25996 | if (((EH_beamstop==1))) // conditional WHEN execution | ^~~~~~~~~~~ INFO: call to mpicc failed with Command 'mpicc -o ./WOFSANS.out ./WOFSANS.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,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -DUSE_MPI -lmpi -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm' returned non-zero exit status 1. Traceback (most recent call last): File "/home/nexmap/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mcrun.py", line 579, in main() File "/home/nexmap/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mcrun.py", line 487, in main mcstas.prepare(options) File "/home/nexmap/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 294, in prepare Process(lexer.quote(options.cc)).run(args) File "/home/nexmap/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 77, in run raise err File "/home/nexmap/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 "/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib/python3.12/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'mpicc -o ./WOFSANS.out ./WOFSANS.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,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -DUSE_MPI -lmpi -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm' returned non-zero exit status 1.