<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<p style="background-color: rgb(255, 255, 255);" class="">Hi Roland and Steve,</p>
<div class="">Thank you so much for your prompt reply! I’m compiling it on Mac OS X Mojave. I installed the latest version of Xcode and MacPorts a few days ago and had run the most recent updates. I checked my osx-macports.cfg and it does seem to require gcc-mp-7
(see below). But how do I find out what version of gcc I have in my MacPorts so I can edit them or if my compiler even exists?</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Shanshan</div>
<div class=""><br class="">
</div>
<p style="background-color: rgb(255, 255, 255);" class="">VERSION = osx-macports-2018-02-05</p>
<p style="background-color: rgb(255, 255, 255);" class=""><br class="">
</p>
<p style="background-color: rgb(255, 255, 255);" class=""># Apple's compiler (Clang) does not support OpenMP, so we use GCC instead.</p>
<p style="background-color: rgb(255, 255, 255);" class="">CPP = cpp-mp-7</p>
<p style="background-color: rgb(255, 255, 255);" class="">FPP = cpp-mp-7</p>
<p style="background-color: rgb(255, 255, 255);" class="">CC = gcc-mp-7</p>
<p style="background-color: rgb(255, 255, 255);" class="">CXX = g++-mp-7</p>
<p style="background-color: rgb(255, 255, 255);" class="">F90 = gfortran-mp-7</p>
<p style="background-color: rgb(255, 255, 255);" class=""><br class="">
</p>
<p style="background-color: rgb(255, 255, 255);" class="">CPPFLAGS =</p>
<p style="background-color: rgb(255, 255, 255);" class="">FPPFLAGS = -traditional</p>
<p style="background-color: rgb(255, 255, 255);" class="">CFLAGS = -g -std=c11</p>
<p style="background-color: rgb(255, 255, 255);" class="">CXXFLAGS = -g -std=c++14</p>
<p style="background-color: rgb(255, 255, 255);" class="">F90FLAGS = -g -m128bit-long-double -fcray-pointer -ffixed-line-length-none</p>
<p style="background-color: rgb(255, 255, 255);" class=""><br class="">
</p>
<p style="background-color: rgb(255, 255, 255);" class=""><br class="">
</p>
<p style="background-color: rgb(255, 255, 255);" class=""><br class="">
</p>
<div class=""><br class="">
</div>
<div class="">
<div class="">On Feb 15, 2019, at 3:26 PM, Steven R. Brandt <<a href="mailto:sbrandt@cct.lsu.edu" class="">sbrandt@cct.lsu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class="">It says your compiler doesn't exist. Are you compiling on ios? What happens when you type "which gcc-mp-7"?</p>
<p class="">--Steve<br class="">
</p>
<div class="moz-cite-prefix"><br class="">
</div>
</div>
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Feb 15, 2019, at 12:48 PM, Haas, Roland <<a href="mailto:rhaas@illinois.edu" class="">rhaas@illinois.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hello Shanshan Rodriguez,<br class="">
<br class="">
based on the fact that the code complains about gcc-mp-7 you seem to be<br class="">
trying to compile Cactus on a mac using macports. Macports<br class="">
periodically updates its gcc packages and quite likely the current one<br class="">
is gcc-8 in which case the compiler is called gcc-mp-8 g++-mp-8 and<br class="">
gfortran-mp-8.<br class="">
<br class="">
You should modify the option list that you are using to reflect this.<br class="">
In the tutorial this is the file osx-macports.cfg which you can find in<br class="">
the simfactory/mdb/optionlists/osx-macports.cfg file.<br class="">
<br class="">
I have also just made the required change to the release version<br class="">
simfactory files.<br class="">
<br class="">
Yours,<br class="">
Roland<br class="">
<br class="">
<blockquote type="cite" class="">Hello,<br class="">
<br class="">
I’m a new user of ETK and trying to follow the tutorial to set up Cactus. I ran into this problem building Cactus and hope you could help me resolve it. Here is the commend I’m stuck at:<br class="">
<br class="">
%cd $cactus_dir<br class="">
!time ./simfactory/bin/sim build -j2 --thornlist=thornlists/<a href="http://einsteintoolkit.th" class="">einsteintoolkit.th</a><<a href="http://einsteintoolkit.th" class="">http://einsteintoolkit.th</a>><br class="">
<br class="">
Where I got an error message at the end:<br class="">
<br class="">
<br class="">
checking whether the C compiler (gcc-mp-7 -g -std=c11 -lgfortran) works... no<br class="">
configure: error: installation or configuration problem: C compiler cannot create executables (see configs/<configname>/config-data/config.log for details).<br class="">
<br class="">
Error reconfiguring sim-config<br class="">
make: *** [sim-config] Error 2<br class="">
<br class="">
<br class="">
I’m attaching the config, log file here. Could you suggest what I should do to fix this? Thank you so much!!<br class="">
<br class="">
<br class="">
Best,<br class="">
Shanshan Rodriguez<br class="">
<br class="">
——————————————————————<br class="">
Shanshan Rodriguez<br class="">
Assistant Professor of Physics<br class="">
1034 Noyce Science Center<br class="">
Department of Physics<br class="">
Grinnell College<br class="">
Grinnell, IA 50112<br class="">
<a href="mailto:rodriguezs@grinnell.edu" class="">Email: rodriguezs@grinnell.edu</a><<a href="mailto:rodriguezs@grinnell.edu" class="">mailto:rodriguezs@grinnell.edu</a>><br class="">
</blockquote>
<br class="">
<br class="">
<br class="">
-- <br class="">
My email is as private as my paper mail. I therefore support encrypting<br class="">
and signing email messages. Get my PGP key from <a href="http://keys.gnupg.net" class="">
http://keys.gnupg.net</a>.<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</body>
</html>