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
Hi Ben,
Thanks for this useful tips!
I am trying to install Tisean on a MacOS Catalina, and I am running into problems as all of the Tisean scripts are listed under "the following programs could not be installed" section. I suspect the problem is already at the configuration stage, as four of the requirements are not met:
I have also tried the Homebrew installation but this returns me the following message:
==> Downloading https://archive.org/download/brewsci/bottles-science/tisean-3.0.1_4.sierra.bottle.tar.gz
==> Downloading from https://ia801805.us.archive.org/0/items/brewsci/bottles-science/tisean-3.0.1_4.sierra.bottle.tar.gz
-#O#- # #
curl: (22) The requested URL returned error: 404
Error: tisean: Failed to download resource "tisean"
Download failed: https://archive.org/download/brewsci/bottles-science/tisean-3.0.1_4.sierra.bottle.tar.gz
I was just wondering whether you might also have run in the same problem, and if so, could you kindly share any tips on how to solve it?
I apologise if this is not the appropriate place to ask this, and if so please let me know and I can post my question somewhere else!
I have found very limited documentation online and I am not familiar with compiling binaries, so I thought I'd give it a try.
Thank you so much in advance for any help you might be able to provide :)
Irene