INFO: No output directory specified (--dir) INFO: Using directory: "Test_Monochromators_20240617_104558" INFO: Regenerating c-file: Test_Monochromators.c DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas -t -o Test_Monochromators.c C:\\Users\\pkwi\\mcstas-test\\20240617_1004_11\\mcstas-3.4.49_Windows\\Test_Monochromators\\Test_Monochromators.instr --> Added COMPONENT Mono4 USERVAR ncol_9 with type int --> Added COMPONENT Mono4 USERVAR nrow_9 with type int WARNING: The parameter mosaic_AB of Mono6 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 Mono7 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Mono7 -> GPU kernel from component Sphere1 ----------------------------------------------------------- Info: 'Monochromator_2foc' is a contributed component. Info: 'NCrystal_sample' is a contributed component. CFLAGS= -Wl,-rpath,CMD(ncrystal-config --show libdir) CMD(ncrystal-config --show libpath) -ICMD(ncrystal-config --show includedir) -DFUNNEL DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas finished INFO: Recompiling: Test_Monochromators.exe --> launching cmd: ncrystal-config --show libdir Traceback (most recent call last): File "C:\mcstas-3.4.49\lib\tools\Python\mcrun\mcrun.py", line 569, in main() File "C:\mcstas-3.4.49\lib\tools\Python\mcrun\mcrun.py", line 483, in main mcstas.prepare(options) File "C:\mcstas-3.4.49\lib\tools\Python\mcrun\mccode.py", line 253, in prepare flags = mccodelib.cflags.evaluate_dependency_str(flags, options.verbose) File "C:\mcstas-3.4.49\lib\tools\Python\mcrun\..\mccodelib\cflags.py", line 99, in evaluate_dependency_str s = evalmarker( s, s_cmd, evalfct_cmd ) File "C:\mcstas-3.4.49\lib\tools\Python\mcrun\..\mccodelib\cflags.py", line 55, in evalmarker return before + evalfct(content) + evalmarker(after,startmarker,evalfct) File "C:\mcstas-3.4.49\lib\tools\Python\mcrun\..\mccodelib\cflags.py", line 90, in evalfct_cmd raise RuntimeError(errmsg()) RuntimeError: Errors encountered while executing cmd: ncrystal-config --show libdir