[mcstas-users] Version 2.4.1 on High Sierra (10.13.3)
Wildgruber, Christoph U.
wildgrubercu at ornl.gov
Mon Mar 19 16:13:23 CET 2018
Hi,
I saw on the mcstas website that 2.4.1 is running on OS 10.13 …
When trying it on my MBP I’ll get pretty far but the C-compiler crashes with the following message:
Instrument opened: topaz_asbuilt.instr
INFO: No output directory specified (--dir)
INFO: Using directory: "topaz_asbuilt_20180319_111039"
INFO: Recompiling: ./topaz_asbuilt.out
INFO: Using existing c-file: ./topaz_asbuilt.c
mccode-r.h:39:18: fatal error: math.h: No such file or directory
compilation terminated.
Traceback (most recent call last):
File "/Applications/McStas-2.4.app/Contents/Resources/mcstas/2.4/tools/Python/mcgui/../mccodelib/../../../bin/../tools/Python/mcrun/mcrun.py", line 362, in <module>
main()
File "/Applications/McStas-2.4.app/Contents/Resources/mcstas/2.4/tools/Python/mcgui/../mccodelib/../../../bin/../tools/Python/mcrun/mcrun.py", line 284, in main
mcstas.prepare(options)
File "/Applications/McStas-2.4.app/Contents/Resources/mcstas/2.4/tools/Python/mcrun/mccode.py", line 173, in prepare
Process(options.cc<http://options.cc>).run(args)
File "/Applications/McStas-2.4.app/Contents/Resources/mcstas/2.4/tools/Python/mcrun/mccode.py", line 80, in run
raise ProcessException(self.executable, args, retval)
mccode.ProcessException: Got exit status 1 from "gcc -o ./topaz_asbuilt.out ./topaz_asbuilt.c -lm -UUSE_MPI -g -O2 -lm -headerpad_max_install_names “
I tried to find out what’s wrong but failed…
Any suggestion how to fix that problem?
Thanks,
Uli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20180319/5938248f/attachment.html>
More information about the mcstas-users
mailing list