<div dir="ltr"><div dir="ltr">Thank you Roland for your reply, <br>I was just watching your Youtube video "Introduction to the Einstein Toolkit", so seeing your name pop up was a bit of a surprise!!<br><br>I believe that I had previously done everything required and followed all of the install instructions properly. But I have now gone through them all again and still have the same problem. <br>I have attached the config file you mentioned but it doesn't seem to give any more details that are spooled in the Jupyter notebook when I run it.</div><div dir="ltr"><br></div><div dir="ltr">Regards</div><div dir="ltr"><br></div><div dir="ltr">Rob<br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 7 Aug 2023 at 14:50, Roland Haas <<a href="mailto:rhaas@illinois.edu">rhaas@illinois.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Bob,<br>
<br>
You said you followed the jupyter tutorial and the log output would<br>
seem to indicate that you did, but just to be sure: did you make sure<br>
to install the prerequisites listed on<br>
<br>
<a href="https://github.com/einsteintoolkit/jupyter-et/blob/master/tutorial-server/notebooks/CactusTutorial.ipynb" rel="noreferrer" target="_blank">https://github.com/einsteintoolkit/jupyter-et/blob/master/tutorial-server/notebooks/CactusTutorial.ipynb</a><br>
<br>
ie for a Mac:<br>
<br>
--8<--<br>
On Mac, please first<br>
<br>
Install Xcode from the Apple App Store. In addition agree to Xcode license and install the Xcode Command Line Tools in Terminal<br>
<br>
sudo xcodebuild -license<br>
sudo xcode-select --install<br>
<br>
when using MacPorts<br>
install MacPorts for your version of the Mac operating system, if you have not already installed it (<a href="https://www.macports.org/install.php" rel="noreferrer" target="_blank">https://www.macports.org/install.php</a>).<br>
Next, please install the following packages, using the commands:<br>
<br>
sudo port -N install pkgconfig gcc12 openmpi-gcc12 fftw-3 gsl zlib openssl subversion ld64 hdf5 +fortran +gfortran<br>
sudo port select mpi openmpi-gcc12-fortran<br>
sudo port select gcc mp-gcc12<br>
<br>
when using HomeBrew<br>
install HomeBrew for your version of the Mac operating system, if you have not already installed it (<a href="https://brew.sh/" rel="noreferrer" target="_blank">https://brew.sh/</a>).<br>
make sure to add /opt/homebrew/bin to your PATH as instructed by the installation script. You may need to restart your terminal.<br>
Next, please install the following packages, using the commands:<br>
<br>
brew install fftw gcc gsl hdf5 hwloc jpeg open-mpi openssl zlib pkg-config bash subversion<br>
brew link --force jpeg openssl zlib<br>
<br>
--8<--<br>
<br>
Also could you attach the config.log file that the error message refers<br>
to, please? This is file configs/sim/config-data/config.log ? It will<br>
contain the exact error message that the attempt to use gfortran as the<br>
Fortran compiler produced.<br>
<br>
<br>
Yours,<br>
Roland<br>
<br>
> Hi,<br>
> <br>
> I hope someone can help.<br>
> I have tried to install the Einstein Toolkit but am getting an error in the<br>
> final part of the process on the Jupyter CactusTutorial:<br>
> <br>
> %%bash<br>
> ./simfactory/bin/sim build -j2 --thornlist thornlists/<a href="http://einsteintoolkit.th" rel="noreferrer" target="_blank">einsteintoolkit.th</a><br>
> <br>
> Output is:<br>
> <br>
> Using configuration: sim<br>
> Reconfiguring sim<br>
> Writing configuration to: /Users/rob/Cactus/configs/sim/OptionList<br>
> Cactus - version: 4.14.0<br>
> Reconfiguring sim.<br>
> Using configuration options from configure line<br>
> Setting fds to '3,5 -j --'<br>
> End of options from configure line<br>
> Adding configuration options from '/Users/rob/Cactus/configs/sim/OptionList'...<br>
> Setting VERSION to '2018-12-13'<br>
> Setting CPP to 'cpp'<br>
> Setting CC to 'gcc'<br>
> Setting CXX to 'g++'<br>
> Setting FPP to 'cpp'<br>
> Setting F90 to 'gfortran'<br>
> Setting CPPFLAGS to ''<br>
> Setting FPPFLAGS to '-traditional'<br>
> Setting CFLAGS to '-g -std=gnu99'<br>
> Setting CXXFLAGS to '-g -std=gnu++11'<br>
> Setting F90FLAGS to '-g -fcray-pointer -ffixed-line-length-none'<br>
> Setting LDFLAGS to '-rdynamic'<br>
> Setting DEBUG to 'no'<br>
> Setting CPP_DEBUG_FLAGS to ''<br>
> Setting C_DEBUG_FLAGS to ''<br>
> Setting CXX_DEBUG_FLAGS to ''<br>
> Setting OPTIMISE to 'yes'<br>
> Setting CPP_OPTIMISE_FLAGS to ''<br>
> Setting C_OPTIMISE_FLAGS to '-O2'<br>
> Setting CXX_OPTIMISE_FLAGS to '-O2'<br>
> Setting F90_OPTIMISE_FLAGS to '-O2'<br>
> Setting PROFILE to 'no'<br>
> Setting CPP_PROFILE_FLAGS to ''<br>
> Setting C_PROFILE_FLAGS to '-pg'<br>
> Setting CXX_PROFILE_FLAGS to '-pg'<br>
> Setting F90_PROFILE_FLAGS to '-pg'<br>
> Setting WARN to 'yes'<br>
> Setting CPP_WARN_FLAGS to '-Wall'<br>
> Setting C_WARN_FLAGS to '-Wall'<br>
> Setting CXX_WARN_FLAGS to '-Wall'<br>
> Setting F90_WARN_FLAGS to '-Wall'<br>
> Setting OPENMP to 'yes'<br>
> Setting CPP_OPENMP_FLAGS to '-fopenmp'<br>
> Setting FPP_OPENMP_FLAGS to '-D_OPENMP'<br>
> Setting C_OPENMP_FLAGS to '-fopenmp'<br>
> Setting CXX_OPENMP_FLAGS to '-fopenmp'<br>
> Setting F90_OPENMP_FLAGS to '-fopenmp'<br>
> Setting VECTORISE to 'yes'<br>
> Setting VECTORISE_ALIGNED_ARRAYS to 'no'<br>
> Setting VECTORISE_INLINE to 'yes'<br>
> Setting PTHREADS_DIR to 'NO_BUILD'<br>
> End of options from '/Users/rob/Cactus/configs/sim/OptionList'.<br>
> creating cache ./config.cache<br>
> checking host system type... x86_64-apple-darwin22.5.0<br>
> checking for mawk... no<br>
> checking for gawk... no<br>
> checking for nawk... no<br>
> checking for awk... awk<br>
> checking whether make sets ${MAKE}... yes<br>
> checking whether the C compiler (gcc -g -std=gnu99 -rdynamic) works... yes<br>
> checking whether the C compiler (gcc -g -std=gnu99 -rdynamic) is a<br>
> cross-compiler... no<br>
> checking whether we are using GNU C... yes<br>
> checking whether the C++ compiler (g++ -g -std=gnu++11 -rdynamic) works... yes<br>
> checking whether the C++ compiler (g++ -g -std=gnu++11 -rdynamic) is a<br>
> cross-compiler... no<br>
> checking whether we are using GNU C++... yes<br>
> checking for nvcc... no<br>
> checking for ranlib... ranlib<br>
> checking for perl... perl<br>
> checking for gtar... no<br>
> checking for tar... tar<br>
> checking for xargs... xargs<br>
> checking for gzip... gzip<br>
> checking for gpatch... no<br>
> checking for patch... patch<br>
> checking for git... git<br>
> checking for ar... ar<br>
> checking for mkdir... mkdir<br>
> checking for bash... /bin/sh<br>
> Unknown MacOS X f90 compiler.<br>
> Please add appropriate information to<br>
> /Users/rob/Cactus/lib/make/known-architectures/darwin<br>
> and send the updated file to CactusMaint<br>
> We will try anyway ...<br>
> checking whether the Fortran compiler (gfortran ) works... no<br>
> configure: error: installation or configuration problem: Fortran<br>
> compiler cannot create executables (see<br>
> configs/sim/config-data/config.log for details).<br>
> <br>
> Error reconfiguring sim-config<br>
> make: *** [sim-config] Error 2<br>
> <br>
> <br>
> As you can see I get an error where it does not like the fortran compiler.<br>
> <br>
> I have tried all of the precursor stuff a number of times using both<br>
> MacPorts and Homebrew and this does not seem to give any errors when<br>
> installing.<br>
> <br>
> <br>
> I seem to be going round in circles to resolve this, if you are able<br>
> to help that would be really appreciated.<br>
> <br>
> <br>
> Rob<br>
<br>
<br>
Yours,<br>
Roland<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>