-
Notifications
You must be signed in to change notification settings - Fork 9
Installation
The following software is required to install terastructure
:
- GNU Scientific Library (GSL) with support for GSL BLAS: https://www.gnu.org/software/gsl/
- POSIX Threads (pthread): https://computing.llnl.gov/tutorials/pthreads/
Currently terastructure
runs smoothest on UNIX systems. See Mac installation for additional details.
You can clone the terastructure
source code using the following command: git clone https://github.com/StoreyLab/terastructure
.
Then, navigate to the terastructure
directory and run the commands:
./configure
make
make install
By default, the binary terastructure
will be installed in /usr/local/bin unless a different prefix is provided to configure. See the file INSTALL for more details.
We have a branch macinstall
(https://github.com/StoreyLab/terastructure/tree/macinstall) where some modifications have been made that will allow terastructure
to compile on Macs.
To install GSL, we recommend you use brew. It's as simple as brew install gsl
. Depending on your system, you may need to specify where the GSL library was installed to at the configure step, e.g. ./configure LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include"
or other locations as appropriate.
gsl and gsl-devel, brew-free installation:
#gsl
wget http://gnu.mirror.vexxhost.com/gsl/gsl-latest.tar.gz
tar -zxvf gsl-latest.tar.gz
cd gsl-2.3 #change based on the latest version downloaded
./configure
make
sudo make install
#gsl-devel
git clone git://git.savannah.gnu.org/gsl.git
./autogen.sh
./configure --enable-maintainer-mode
make
sudo make install