<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:595.0pt 842.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi Christoph<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Are you running at the command line or using the GUI?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I saw the same error on my High Sierra machine because I was running from the bare bash shell, rather than the mcstas-2.4.1-environment.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Andrew<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US">______________________________________<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="color:black;mso-fareast-language:EN-US">Andrew Jackson</span></b><span style="color:black;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US">Instrument Scientist - Small Angle Scattering<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US">Deputy Head of Neutron Instruments Division<br>
European Spallation Source, P.O Box 176, SE-221 00 Lund, Sweden <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US">Adjunct Associate Professor (Adjungerad Lektor)<br>
Physical Chemistry, Lund University, P.O. Box 124, SE-221 00, Lund, Sweden<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US">Phone: +46 46 888 3015<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US">Mobile: +46 72 179 2015<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US">E-mail: andrew.jackson@esss.se<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US"> <o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-US">www.esss.se</span><span style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">mcstas-users <mcstas-users-bounces@mcstas.org> on behalf of "Wildgruber, Christoph U." <wildgrubercu@ornl.gov><br>
<b>Date: </b>Monday, 19 March 2018 at 16:14<br>
<b>To: </b>"mcstas-users@mcstas.org" <mcstas-users@mcstas.org><br>
<b>Subject: </b>[mcstas-users] Version 2.4.1 on High Sierra (10.13.3)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I saw on the mcstas website that 2.4.1 is running on OS 10.13 …<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">When trying it on my MBP I’ll get pretty far but the C-compiler crashes with the following message:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">Instrument opened: topaz_asbuilt.instr<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">INFO: No output directory specified (--dir)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">INFO: Using directory: "topaz_asbuilt_20180319_111039"</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">INFO: Recompiling: ./topaz_asbuilt.out</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">INFO: Using existing c-file: ./topaz_asbuilt.c</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">mccode-r.h:39:18: fatal error: math.h: No such file or directory</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">compilation terminated.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">Traceback (most recent call last):</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">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></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">main()</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">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</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">mcstas.prepare(options)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">File "/Applications/McStas-2.4.app/Contents/Resources/mcstas/2.4/tools/Python/mcrun/mccode.py", line 173, in prepare</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">Process(<a href="http://options.cc">options.cc</a>).run(args)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">File "/Applications/McStas-2.4.app/Contents/Resources/mcstas/2.4/tools/Python/mcrun/mccode.py", line 80, in run</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">raise ProcessException(self.executable, args, retval)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:red">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 “</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I tried to find out what’s wrong but failed…<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Any suggestion how to fix that problem?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> Uli<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>