INFO: No output directory specified (--dir) INFO: Using directory: "Union_NCrystal_example_20240617_144232" INFO: Regenerating c-file: Union_NCrystal_example.c DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas -t -o Union_NCrystal_example.c C:\\Users\\pkwi\\mcstas-test\\20240617_1415_53\\mcstas-3.4.49_singlecore_Windows\\Union_NCrystal_example\\Union_NCrystal_example.instr ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component master1 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component master1 -> GPU kernel from component mono_out Component master2 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component master2 -> GPU kernel from component powder_pattern_detc ----------------------------------------------------------- Warning: DECLARE block contains 1 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -Wl,-rpath,CMD(ncrystal-config --show libdir) CMD(ncrystal-config --show libpath) -ICMD(ncrystal-config --show includedir) -I@MCCODE_LIB@/share/ -DFUNNEL DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas finished INFO: Recompiling: Union_NCrystal_example.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