Wiki
Clone wikiFAST / installGSL
Assume you have downloaded the GSL software file gsl-1.15.tar.gz
to directory /home/user/. Lets also assume that we are installing GSL at /home/user/GSL_install/.
- Type
cd /home/user
. - Type
tar -xzvf gsl-1.15.tar.gz
This should create the directory :/home/user/gsl-1.15
- Create local installation directory : mkdir
/home/user/GSL_install
. Note: The 'GSL_install' directory should be outside the '/home/user/gsl-1.15' directory. - Type
cd /home/user/gsl-1.15
. - You should do './configure --prefix=<path to your local installation>',
i.e. in our example case,
./configure --prefix=/home/user/GSL_install/
. This should complete without any errors to proceed to the next step. - Type
make
. This should complete without any errors to proceed to the next step. - Type
make install
. This should complete without any errors to proceed to the next step. - Check if installed correctly:
cd /home/user/GSL_install/
and thenls
.
You should see the following directories :bin include lib share
. - Type
ls -al lib/
. You should see several library files e.g. : libgsl.a, libgslcblas.a, libgsl.la etc. - Type
export LD_LIBRARY_PATH=/home/user/GSL_install/lib/:$LD_LIBRARY_PATH
(for bash shell) - Now you are ready to install and run FAST ( FAST Installation ).
If you have trouble installing GSL, check the INSTALL file and also see http://www.gnu.org/software/gsl/manual/html_node/Shared-Libraries.html. If you have installed GSL without any errors, you should have no trouble running FAST.
You should add the command in step 10 to your .bashrc / .bash_profile file located in your home directory, otherwise you will need to re-do the 'export' command as above everytime you log into the system.
Updated