Follow the installation instructions on http://hpc.sourceforge.net/ to install the latest binaries of gcc and gfortran for Mac OS X.
The important part is, download the gcc-8.1 binary, then do, quote
cd
to the download folder. Thengunzip gcc-8.1-bin.tar.gz
(if your browser didn't do so already) and thensudo tar -xvf gcc-8.1-bin.tar -C /
"
I also had to do
export PATH="/usr/bin:$PATH"
Otherwise I would get the error that 'm' is an unknown flag
because it would load the wrong binary. You can also just add the line above to your ~/.bash_profile
and do source ~/.bash_profile
.
This is the relevant page https://www.pks.mpg.de/~tisean/archive_3.0.0.html
Execute the following to compile in ~/Library
cd ~/Library
wget https://www.pks.mpg.de/~tisean/TISEAN_3.0.1.zip
unzip TISEAN_3.0.1.zip -d TISEAN
mv TISEAN/TISEAN_3.0.1/* TISEAN
rmdir TISEAN/TISEAN_3.0.1/
rm TISEAN_3.0.1.zip
cd TISEAN
Execute
export FC=gfortran; ./configure --prefix=~/Library/TISEAN
make
make install
Your binaries are now in ~/Library/TISEAN/bin
. You can execute, e.g. mutual
by calling ~/Library/TISEAN/bin/mutual
or you add ~/Library/TISEAN/bin
to your PATH
variable and just call mutual
from the command line.
There's an easier way of installing Tisean using the custom package manager for Mac OS X called Homebrew.
First, if you have not yet, please install Homebrew.
Now, do
brew tap brewsci/science
brew install tisean
Hm, you probably know that, but in case you don't:
brew update
is not about updating brew to a newer version of itself, it's run to update the formulas (i.e. the ruby scripts that determine which files to download and to install etc). In any case, it's good to runbrew update
once in a while to update these formulas.In the brewsci-repository, it looks like the Dresden address is hardcoded (see https://github.com/brewsci/homebrew-science/blob/master/Formula/tisean.rb):
which led me to believe that your formula is outdated. However, the address your brew uses is also in the file:
So, I don't know :) the formula itself seems to have been updated last over a year ago, so I think it'd probably be a good idea to open an issue about this install not working anymore at https://github.com/brewsci/homebrew-science/issues regarding tisean.rb . Or you ping @sjackman or @cxwx directly, who seem to have contributed to this formula the most.
Good luck!