<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Roland,</div><div><br></div><div>It almost worked -- but not quite. The final link failed because, I believe, of a single missing entry point: &quot;__gfortran_os_error_at&quot; .</div><div><br></div><div>The error message is:</div><div><br></div><div><div><font face="monospace" size="1">Undefined symbols for architecture x86_64:</font></div><div><font face="monospace" size="1">  &quot;__gfortran_os_error_at&quot;, referenced from:</font></div><div><font face="monospace" size="1">      _ahfinder_ in AHFinder.F.o</font></div><div><font face="monospace" size="1">      _ahfinder_dis_ in AHFinder_dis.F.o</font></div><div><font face="monospace" size="1">      _ahfinder_int_ in AHFinder_int.F.o</font></div><div><font face="monospace" size="1">      _linmin_ in AHFinder_pow.F.o</font></div><div><font face="monospace" size="1">      _ahfinder_initguess_ in AHFinder_initguess.F.o</font></div><div><font face="monospace" size="1">      _ahfinder_gau_ in AHFinder_gau.F.o</font></div><div><font face="monospace" size="1">      ___carpet_boxtypes_MOD_splitregionsrecursive in carpet_boxtypes.F90.o</font></div><div><font face="monospace" size="1">      ...</font></div><div><font face="monospace" size="1">ld: symbol(s) not found for architecture x86_64</font></div><div><font face="monospace" size="1">collect2: error: ld returned 1 exit status</font></div><div><font face="monospace" size="1">make[1]: *** [/Users/murray/Cactus/exe/cactus_sim] Error 1</font></div><div><font face="monospace" size="1">make: *** [sim] Error 2</font></div></div><div><br></div><div>The compilations completed without errors, but with a fair number of warnings.</div><div><br></div><div>I&#39;m googling (&quot;mac gfortran_os_error_at&quot;) to see what I can learn. I&#39;ve found some possibilities, but nothing that seems terribly promising. I brew reinstalled gfortran and I re-downloaded the CactusTutorial.ipynb notebook and I&#39;m trying again.</div><div><br></div><div>The file <font face="monospace">OptionList</font> I used before sets</div><div><font size="1"><font face="monospace">FPP = cpp-10</font><br></font></div><div><font face="monospace" size="1">F90 = gfortran</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">That file also specifies:</font></div><div><div><font face="monospace" size="1">FPPFLAGS = -traditional</font></div></div><div><div><font face="monospace" size="1">F90FLAGS = -g -fcray-pointer -ffixed-line-length-none</font></div></div><div><font face="monospace" size="1">F90_OPTIMISE_FLAGS = -O2<br></font></div><div><font face="monospace" size="1">F90_WARN_FLAGS = -Wall<br></font></div><div><font face="monospace" size="1">LDFLAGS = -rdynamic<br></font></div><div><font face="monospace" size="1">F90_OPENMP_FLAGS =</font><br></div><div><font face="monospace" size="1">F90_PROFILE_FLAGS = -pg</font><font face="monospace" size="1"><br></font></div><div><br></div><div>I get</div><div><font face="monospace" size="1">&gt; <b>which gfortran</b></font></div><div><font face="monospace" size="1">/usr/local/bin/gfortran</font></div><div><font face="monospace" size="1">❯ <b>gfortran --version</b></font></div><div><font face="monospace" size="1">GNU Fortran (Homebrew GCC 10.2.0_4) 10.2.0</font></div><div><font face="monospace" size="1">Copyright (C) 2020 Free Software Foundation, Inc.</font></div><div><font face="monospace" size="1">This is free software; see the source for copying conditions.  There is NO</font></div><div><font face="monospace" size="1">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</font></div><div><div><font face="monospace" size="1">&gt; <b>which gfortran-10</b></font></div><div><font face="monospace" size="1">/usr/local/bin/gfortran-10</font></div><div><font face="monospace" size="1">❯ <b>gfortran-10 --version</b></font></div><div><font face="monospace" size="1">GNU Fortran (Homebrew GCC 10.2.0_4) 10.2.0</font></div><div><font face="monospace" size="1">Copyright (C) 2020 Free Software Foundation, Inc.</font></div><div><font face="monospace" size="1">This is free software; see the source for copying conditions.  There is NO</font></div><div><font face="monospace" size="1">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</font></div></div><div><br></div><div><font color="#000000"><font face="arial, sans-serif">Possibly I should add a link library somewhere, but I don&#39;t know what, where or how. (Is it possible I inadvertently deleted a link library specification in the OptionList file or elsewhere? I thought I saved the original file, but I overwrote it, which is part of the reason I&#39;m trying again from the start. The only difference I found from the OptionsList file I used is that the correct file sets </font><font size="1"><span style="caret-color: rgb(0, 0, 0);"><font face="monospace">F90 = gfortran-1</font></span><span style="font-family:-webkit-standard">0.</span></font><font face="arial, sans-serif"><span style="caret-color: rgb(0, 0, 0);"> </span><span style="caret-color: rgb(0, 0, 0);">But</span><span style="caret-color: rgb(0, 0, 0);"> </span></font><span style="font-size:medium"><font face="monospace">gfortran</font></span><font face="arial, sans-serif"><span style="caret-color: rgb(0, 0, 0);"> i</span><span style="caret-color: rgb(0, 0, 0);">s symlinked to </span></font><span style="font-size:medium"><font face="monospace">gfortran-10</font></span><span style="font-family:-webkit-standard">, so I don&#39;t expect that&#39;ll make a difference.</span><span style="font-family:arial,sans-serif">)</span></font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Any thoughts on fixing the missing reference?</font></div><div><br></div><div>Again, thanks!</div><div><br></div><div>Murray</div><div><br></div><div>__________________________________________________________________</div><div><br></div><div>The build process takes slightly over 3 hours on my Mac. The final output of the sim build, clean, reconfig run is:<br></div><div><br></div><div><div>---------------------------------------------</div><div><font face="monospace" size="1">Creating cactus_sim in /Users/murray/Cactus/exe from EinsteinAnalysis/ADMAnalysis EinsteinBase/ADMBase EinsteinBase/ADMCoupling Llama/ADMDerivatives EinsteinBase/ADMMacros EinsteinAnalysis/ADMMass Numerical/AEILocalInterp EinsteinAnalysis/AHFinder EinsteinAnalysis/AHFinderDirect ExternalLibraries/BLAS WVUThorns/Baikal WVUThorns/BaikalVacuum CactusBase/Boundary CTThorns/CT_Analytic CTThorns/CT_MultiLevel EinsteinAnalysis/CalcK Carpet/Carpet Carpet/CarpetEvolutionMask Carpet/CarpetIOASCII Carpet/CarpetIOBasic Carpet/CarpetIOHDF5 Carpet/CarpetIOScalar Carpet/CarpetIntegrateTest Carpet/CarpetInterp Carpet/CarpetInterp2 Carpet/CarpetLib Carpet/CarpetMask Carpet/CarpetProlongateTest Carpet/CarpetReduce Carpet/CarpetRegrid Carpet/CarpetRegrid2 Carpet/CarpetRegridTest Carpet/CarpetSlab Carpet/CarpetTracker CactusBase/CartGrid3D CactusNumerical/Cartoon2D EinsteinBase/Constants WVUThorns/Convert_to_HydroBase CactusBase/CoordBase EinsteinBase/CoordGauge Llama/Coordinates Llama/CoordinatesSymmetry Carpet/CycleClock CactusExamples/DemoInterp CactusNumerical/Dissipation EinsteinInitialData/DistortedBHIVP EinsteinAnalysis/EHFinder EinsteinBase/EOS_Base EinsteinEOS/EOS_Hybrid EinsteinEOS/EOS_IdealFluid EinsteinEOS/EOS_Omni EinsteinEOS/EOS_Polytrope EinsteinExact/EinsteinExact_Test CactusElliptic/EllBase CactusElliptic/EllSOR EinsteinInitialData/Exact EinsteinAnalysis/Extract ExternalLibraries/FFTW3 WVUThorns/FishboneMoncriefID CactusExamples/FleshInfo CactusUtils/Formaline CactusBase/Fortran EinsteinEvolve/GRHydro EinsteinEvolve/GRHydro_InitData ExternalLibraries/GSL EinsteinExact/GaugeWave KrancNumericalTools/GenericFD WVUThorns/GiRaFFE WVUThorns/GiRaFFE_to_HydroBase WVUThorns/GiRaFFEfood Llama/GlobalDerivative ExternalLibraries/HDF5 CactusConnect/HTTPD CactusConnect/HTTPDExtra CactusExamples/HelloWorld Carpet/HighOrderWaveTest EinsteinBase/HydroBase EinsteinAnalysis/Hydro_Analysis EinsteinInitialData/Hydro_InitExcision EinsteinInitialData/Hydro_RNSID EinsteinInitialData/IDAnalyticBH EinsteinInitialData/IDAxiBrillBH EinsteinInitialData/IDAxiOddBrillBH EinsteinInitialData/IDBrillData EinsteinInitialData/IDConstraintViolate EinsteinInitialData/IDFileADM EinsteinInitialData/IDLinearWaves CactusWave/IDScalarWave CactusWave/IDScalarWaveC CactusWave/IDScalarWaveCXX CactusWave/IDScalarWaveElliptic CactusExamples/IDWaveMoL WVUThorns/ID_converter_GiRaFFE WVUThorns/ID_converter_ILGRMHD CactusBase/IOASCII CactusBase/IOBasic CactusPUGHIO/IOHDF5 CactusPUGHIO/IOHDF5Util CactusIO/IOJpeg CactusBase/IOUtil WVUThorns/IllinoisGRMHD CactusBase/InitBase CactusNumerical/InterpToArray Llama/Interpolate2 EinsteinExact/KerrSchild ExternalLibraries/LAPACK ExternalLibraries/LORENE Lean/LeanBSSNMoL Llama/LlamaWaveToy CactusNumerical/LocalInterp CactusNumerical/LocalInterp2 CactusNumerical/LocalReduce Carpet/LoopControl McLachlan/ML_ADMConstraints McLachlan/ML_ADMQuantities McLachlan/ML_BSSN McLachlan/ML_BSSN_Helper McLachlan/ML_BSSN_Test McLachlan/ML_CCZ4 McLachlan/ML_CCZ4_Helper McLachlan/ML_CCZ4_Test McLachlan/ML_WaveToy McLachlan/ML_WaveToy_Test ExternalLibraries/MPI CactusUtils/MemSpeed EinsteinInitialData/Meudon_Bin_BH EinsteinInitialData/Meudon_Bin_NS EinsteinInitialData/Meudon_Mag_NS EinsteinExact/Minkowski CactusNumerical/MoL EinsteinExact/ModifiedSchwarzschildBL EinsteinAnalysis/Multipole Lean/NPScalars Proca/NPScalars_Proca CactusUtils/NaNCatcher CactusUtils/NaNChecker EinsteinEvolve/NewRad CactusUtils/Nice EinsteinInitialData/NoExcision CactusUtils/NoMPI CactusNumerical/Noise CactusNumerical/Norms PITTNullCode/NullConstr PITTNullCode/NullDecomp PITTNullCode/NullEvolve PITTNullCode/NullExact PITTNullCode/NullGrid PITTNullCode/NullInterp PITTNullCode/NullNews PITTNullCode/NullPsiInt PITTNullCode/NullSHRExtract PITTNullCode/NullVars ExternalLibraries/OpenSSL EinsteinAnalysis/Outflow ExternalLibraries/PAPI CactusPUGH/PUGH CactusPUGH/PUGHInterp CactusPUGH/PUGHReduce CactusPUGH/PUGHSlab CactusNumerical/Periodic Carpet/PeriodicCarpet CactusExamples/Poisson Proca/ProcaBase Proca/ProcaEvolve Proca/Proca_simpleID EinsteinAnalysis/PunctureTracker EinsteinAnalysis/QuasiLocalMeasures EinsteinInitialData/ReadInterpolate Carpet/ReductionTest Carpet/ReductionTest2 Carpet/ReductionTest3 CactusNumerical/ReflectionSymmetry Carpet/RegridSyncTest EinsteinInitialData/RotatingDBHIVP CactusNumerical/RotatingSymmetry180 CactusNumerical/RotatingSymmetry90 CactusExamples/SampleBoundary CactusExamples/SampleIO WVUThorns/Seed_Magnetic_Fields WVUThorns_Diagnostics/Seed_Magnetic_Fields_BNS EinsteinUtils/SetMask_SphericalSurface EinsteinExact/ShiftedGaugeWave WVUThorns/ShiftedKerrSchild CactusNumerical/Slab CactusNumerical/SlabTest CactusConnect/Socket CactusNumerical/SpaceMask PITTNullCode/SphericalHarmonicDecomp PITTNullCode/SphericalHarmonicRecon PITTNullCode/SphericalHarmonicReconGen CactusNumerical/SphericalSurface EinsteinBase/StaticConformal CactusNumerical/SummationByParts CactusBase/SymBase CactusUtils/SystemStatistics CactusUtils/SystemTopology CactusElliptic/TATelliptic EinsteinUtils/TGRtensor EinsteinInitialData/TOVSolver CactusNumerical/TensorTypes CactusUtils/TerminationTrigger CactusTest/TestArrays Carpet/TestCarpetGridInfo CactusTest/TestComplex CactusTest/TestCoordinates CactusTest/TestFortranCrayPointers CactusTest/TestFortranDependencies1 CactusTest/TestFortranDependencies2 CactusTest/TestFpointerNULL CactusTest/TestFreeF90 CactusTest/TestGlobalReduce CactusTest/TestInclude1 CactusTest/TestInclude2 CactusNumerical/TestLocalInterp2 CactusNumerical/TestLocalReduce CactusTest/TestLoop Carpet/TestLoopControl CactusTest/TestMath CactusTest/TestMoL CactusTest/TestPar CactusTest/TestReadWrite CactusTest/TestReduce CactusTest/TestSchedule CactusTest/TestStrings CactusTest/TestTable CactusTest/TestTimers CactusTest/TestTypes CactusBase/Time CactusExamples/TimerInfo CactusUtils/TimerReport Carpet/Timers EinsteinBase/TmunuBase CactusUtils/Trigger EinsteinInitialData/TwoPunctures Proca/TwoPunctures_KerrProca EinsteinExact/Vaidya2 CactusUtils/Vectors WVUThorns_Diagnostics/VolumeIntegrals_GRMHD WVUThorns_Diagnostics/VolumeIntegrals_vacuum CactusUtils/WatchDog CactusWave/WaveBinarySource Llama/WaveExtractL CactusExamples/WaveMoL CactusExamples/WaveToy1DF77 CactusExamples/WaveToy2DF77 CactusWave/WaveToyC CactusWave/WaveToyCXX CactusWave/WaveToyExtra CactusWave/WaveToyF77 CactusWave/WaveToyF90 CactusWave/WaveToyFreeF90 EinsteinAnalysis/WeylScal4 ExternalLibraries/hwloc ExternalLibraries/libjpeg WVUThorns_Diagnostics/particle_tracerET ExternalLibraries/pthreads WVUThorns_Diagnostics/smallbPoynET ExternalLibraries/zlib</font></div><div><font face="monospace" size="1">Undefined symbols for architecture x86_64:</font></div><div><font face="monospace" size="1">  &quot;__gfortran_os_error_at&quot;, referenced from:</font></div><div><font face="monospace" size="1">      _ahfinder_ in AHFinder.F.o</font></div><div><font face="monospace" size="1">      _ahfinder_dis_ in AHFinder_dis.F.o</font></div><div><font face="monospace" size="1">      _ahfinder_int_ in AHFinder_int.F.o</font></div><div><font face="monospace" size="1">      _linmin_ in AHFinder_pow.F.o</font></div><div><font face="monospace" size="1">      _ahfinder_initguess_ in AHFinder_initguess.F.o</font></div><div><font face="monospace" size="1">      _ahfinder_gau_ in AHFinder_gau.F.o</font></div><div><font face="monospace" size="1">      ___carpet_boxtypes_MOD_splitregionsrecursive in carpet_boxtypes.F90.o</font></div><div><font face="monospace" size="1">      ...</font></div><div><font face="monospace" size="1">ld: symbol(s) not found for architecture x86_64</font></div><div><font face="monospace" size="1">collect2: error: ld returned 1 exit status</font></div><div><font face="monospace" size="1">make[1]: *** [/Users/murray/Cactus/exe/cactus_sim] Error 1</font></div><div><font face="monospace" size="1">make: *** [sim] Error 2</font></div></div><div><br></div><div>============================================================</div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 13, 2021 at 11:50 AM Roland Haas &lt;<a href="mailto:rhaas@illinois.edu">rhaas@illinois.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hello Murray,<br>
<br>
ok. Good to hear that.<br>
<br>
My initial email was a send a bit off the cuff since I had not quite<br>
realized that you were already using the notebook.<br>
<br>
OSX is a bit tricky for the ET to support for the reasons that you<br>
outlined.<br>
<br>
When you run &quot;./simfactory/bin/sim setup-silent&quot; simulation factory will<br>
find the gcc-10 compiler and creates a set of of make options for your<br>
laptop (there&#39;s explicit code in simfactory to recongnize OSX). So<br>
running this command is essential.<br>
<br>
You should not have to adjust anything (though given that the last test<br>
with Catalina rather than BigSur was about a year ago that may not be<br>
true anymore if HomeBrew changed too much).<br>
<br>
This set of options is tied to your laptop&#39;s hostname as reported by<br>
&quot;hostname -f&quot;. Unfortunately this hostname is not &quot;stable&quot; in the<br>
sense that it may change with time since it can be derived from your<br>
laptop&#39;s IP address obtained from the wireless network. Eg on my test<br>
laptop it currently reads:<br>
<br>
<a href="http://wirelessprvnat-172-16-210-128.near.illinois.edu" rel="noreferrer" target="_blank">wirelessprvnat-172-16-210-128.near.illinois.edu</a><br>
<br>
So you may have to check that <br>
<br>
&quot;./simfactory/bin/sim whoami&quot;<br>
<br>
returns the expected machine name and run &quot;./simfactory/bin/sim<br>
setup-silent&quot; again if it reports an unknown machine.<br>
<br>
You can also create a file $HOME/.hostname and add a name that you<br>
would like simfactory to use for your laptop eg:<br>
<br>
echo &gt;$HOME/.hostname &quot;murrays-laptop&quot;<br>
<br>
(no spaces allowed).<br>
<br>
Yours,<br>
Roland<br>
<br>
&gt; Hi Roland,<br>
&gt; <br>
&gt; Thanks so much for your response! I&#39;ve been struggling with the -fopenmp<br>
&gt; issue for a couple of days now. I&#39;ll try your suggestions and let you know<br>
&gt; if it works. It&#39;s encouraging to know that the ET works with Catalina: that<br>
&gt; gives me hope I&#39;ll get it to work eventually.<br>
&gt; <br>
&gt; I&#39;m using the notebook CactusTutorial.ipynb, and I certainly don&#39;t want to<br>
&gt; use clang. But the Mac makes using gcc instead of clang tricky. On my<br>
&gt; machine, gcc gets clang; you need to enter gcc-10 to get gcc.<br>
&gt; <br>
&gt; I verified that gcc (gcc-10) accepts the -fopenmp flag properly. So both<br>
&gt; gcc and OpenMP seem to work properly on my machine. My problem is<br>
&gt; convincing ET to use gcc instead of clang! BTW, I&#39;m using brew. It&#39;s<br>
&gt; possible that MacPorts would work better, but I think brew and MacPorts are<br>
&gt; incompatible.<br>
&gt; <br>
&gt; Again, thank you and I&#39;ll let you know my progress later today.<br>
&gt; <br>
&gt; Yours,<br>
&gt; <br>
&gt; Murray<br>
&gt; <br>
&gt; On Tue, Apr 13, 2021 at 9:55 AM Roland Haas &lt;<a href="mailto:rhaas@illinois.edu" target="_blank">rhaas@illinois.edu</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt; Hello Murray,<br>
&gt; &gt;<br>
&gt; &gt; thinking about this a bit more.<br>
&gt; &gt;<br>
&gt; &gt; The notebook currently (as of last week) lets me compile and run the ET<br>
&gt; &gt; using Homebrew (and worked on Catalina in the past).<br>
&gt; &gt;<br>
&gt; &gt; One thing to keep in mind is that the various CC/CXX and other<br>
&gt; &gt; exported env variables are only used the *first* time you attempt to<br>
&gt; &gt; build and not afterwards.<br>
&gt; &gt;<br>
&gt; &gt; You may have more luck having the options be respected by using:<br>
&gt; &gt;<br>
&gt; &gt; ./simfactory/bin/sim build --clean --reconfig<br>
&gt; &gt;<br>
&gt; &gt; which will recompile from scratch and re-run the configuration stage or<br>
&gt; &gt; even by manually removing the &quot;configs/sim&quot; directory completely.<br>
&gt; &gt;<br>
&gt; &gt; Did you run &quot;simfactory/bin/sim setup-silent&quot; before trying to compile?<br>
&gt; &gt;<br>
&gt; &gt; Yours,<br>
&gt; &gt; Roland<br>
&gt; &gt;  <br>
&gt; &gt; &gt; Hello Murray,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; clang (in particular Apple&#39;s version delivered in OSX) is not fully<br>
&gt; &gt; &gt; supported by the ET (due to, at least historically, no OpenMP support,<br>
&gt; &gt; &gt; no paired Fortran compiler).<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Please see the initial section of:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; <a href="https://urldefense.com/v3/__https://github.com/nds-org/jupyter-et/blob/master/CactusTutorial.ipynb__;!!DZ3fjg!vBkInm5NFkd2yeuitJ1Bdg6aPGIDCDXMQZsV-k7fG50QV1uy1SqxbWDXQTfC3_p7$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://github.com/nds-org/jupyter-et/blob/master/CactusTutorial.ipynb__;!!DZ3fjg!vBkInm5NFkd2yeuitJ1Bdg6aPGIDCDXMQZsV-k7fG50QV1uy1SqxbWDXQTfC3_p7$</a> <br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; for how to use the ET on OSX using homebrew or macports.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; If you have a Fortran compiler installed you can try disabling openmp<br>
&gt; &gt; &gt; by setting OPENMP=no in your option list. I strongly advise consulting<br>
&gt; &gt; &gt; the link I provided above and following the (tested and<br>
&gt; &gt; &gt; verified) instructions there in particular if this is your first time<br>
&gt; &gt; &gt; using the toolkit.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Yours,<br>
&gt; &gt; &gt; Roland<br>
&gt; &gt; &gt;  <br>
&gt; &gt; &gt; &gt; Hi All,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Thanks so much for making the Einstein Toolkit software available!<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I&#39;m using the CactusTutorial.ipynb that I got from your site. I&#39;m  <br>
&gt; &gt; trying to  <br>
&gt; &gt; &gt; &gt; build ET on my 2015 Macbook Pro running OS 10.15.7.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I&#39;m stuck at the cell (after) *Building the Einstein Toolkit* .<br>
&gt; &gt; &gt; &gt; I modified that cell to get past issues with zlib . The cell now looks  <br>
&gt; &gt; like:  <br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; %%bash<br>
&gt; &gt; &gt; &gt; export ZLIB_DIR=/usr/local/opt/zlib/lib<br>
&gt; &gt; &gt; &gt; export LDFLAGS=&quot;-L/usr/local/opt/zlib/lib&quot;<br>
&gt; &gt; &gt; &gt; export CPPFLAGS=&quot;-I/usr/local/opt/zlib/include&quot;<br>
&gt; &gt; &gt; &gt; export PKG_CONFIG_PATH=&quot;/usr/local/opt/zlib/lib/pkgconfig&quot;<br>
&gt; &gt; &gt; &gt; ./simfactory/bin/sim build -j2 --thornlist ../<a href="http://einsteintoolkit.th" rel="noreferrer" target="_blank">einsteintoolkit.th</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Running that cell eventually stops with the errors<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; COMPILING CactusBase/CoordBase/src/Domain.c<br>
&gt; &gt; &gt; &gt; COMPILING configs/sim/bindings/build/ADMCoupling/cctk_ThornBindings.c<br>
&gt; &gt; &gt; &gt; clang: error: unsupported option &#39;-fopenmp&#39;<br>
&gt; &gt; &gt; &gt; make[3]: *** [Domain.c.o] Error 1<br>
&gt; &gt; &gt; &gt; make[2]: *** [make.checked] Error 2<br>
&gt; &gt; &gt; &gt; make[1]: ***  <br>
&gt; &gt; [/Users/murray/Cactus/configs/sim/lib/libthorn_CoordBase.a] Error 2  <br>
&gt; &gt; &gt; &gt; make[1]: *** Waiting for unfinished jobs....<br>
&gt; &gt; &gt; &gt; clang: error: unsupported option &#39;-fopenmp&#39;<br>
&gt; &gt; &gt; &gt; make[3]: *** [cctk_ThornBindings.c.o] Error 1<br>
&gt; &gt; &gt; &gt; make[2]: *** [cctk_Bindings/make.checked] Error 2<br>
&gt; &gt; &gt; &gt; make[1]: ***  <br>
&gt; &gt; [/Users/murray/Cactus/configs/sim/lib/libthorn_ADMCoupling.a]  <br>
&gt; &gt; &gt; &gt; Error 2<br>
&gt; &gt; &gt; &gt; make: *** [sim] Error 2<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Can you help? I&#39;m confused by the error message coming from clang,  <br>
&gt; &gt; since  <br>
&gt; &gt; &gt; &gt; the ET seems to use gcc, but my attempt to force gcc, by including the<br>
&gt; &gt; &gt; &gt; exports below, made no difference:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; export CC=gcc-10<br>
&gt; &gt; &gt; &gt; export CXX=gcc-10<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I really appreciate any help you are able to provide!<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Thank you.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Murray (Wolinsky)<br>
&gt; &gt; &gt; &gt; ______________________________________________________<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Additional (likely irrelevant) notes:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I used brew to install the prerequisites. It seemed to have gone<br>
&gt; &gt; &gt; &gt; more-or-less ok.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Brew did issue a somewhat concerning message regarding hdf5:<br>
&gt; &gt; &gt; &gt;  <br>
&gt; &gt; &gt; &gt; ==&gt; Pouring hdf5-1.12.0_1.catalina.bottle.1.tar.gz  <br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Warning: hdf5 dependency gcc was built with a different C++ standard<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; library (libstdc++ from clang). This may cause problems at runtime.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; But it didn&#39;t provide any guidance into fixing the potential problem.  <br>
&gt; &gt; Itried  <br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; brew reinstall hdf5<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; and brew no longer complains.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I also had some issues with the subversion installation. But I don&#39;t  <br>
&gt; &gt; think  <br>
&gt; &gt; &gt; &gt; they&#39;re responsible for my current problem.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Also, when I did the step *Configuring SimFactory for your machine*, I  <br>
&gt; &gt; got  <br>
&gt; &gt; &gt; &gt; the output:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Here we will define some necessary Simulation Factory defaults.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Determining local machine name: mw-3.local<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; --------------------SUMMARY--------------------:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; [default]<br>
&gt; &gt; &gt; &gt; user            = murray<br>
&gt; &gt; &gt; &gt; email           = murray<br>
&gt; &gt; &gt; &gt; allocation      = NO_ALLOCATION<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; ------------------END SUMMARY------------------:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Contents successfully written to<br>
&gt; &gt; &gt; &gt; /Users/murray/Cactus/repos/simfactory2/etc/defs.local.ini<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; which looks OK, but the NO_ALLOCATION message seems like it might be  <br>
&gt; &gt; of concern?  <br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;  <br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; My email is as private as my paper mail. I therefore support encrypting<br>
&gt; &gt; and signing email messages. Get my PGP key from <a href="https://urldefense.com/v3/__http://pgp.mit.edu__;!!DZ3fjg!vBkInm5NFkd2yeuitJ1Bdg6aPGIDCDXMQZsV-k7fG50QV1uy1SqxbWDXQUQagYP8$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__http://pgp.mit.edu__;!!DZ3fjg!vBkInm5NFkd2yeuitJ1Bdg6aPGIDCDXMQZsV-k7fG50QV1uy1SqxbWDXQUQagYP8$</a>  .<br>
&gt; &gt;  <br>
<br>
<br>
-- <br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://pgp.mit.edu" rel="noreferrer" target="_blank">http://pgp.mit.edu</a> .<br>
</blockquote></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>