This directory contains three scripts that will install STRUCTURE, fastStructre and MavericK respectively in a semi automatic way.
All scripts default the programs' install locations to ~/Software/<program_name>. You can change this in the scripts themselves should you wish to change this location.
This script will download and install STRUCTURE.
- a C compiler, such as GCC, with fortran support.
- Cmake is required to build LAPACK
This should be available in every HPC environment.
In Ubuntu, all you should need is the package "build-essential" (if it is not already installed for some reason). It can be installed like this:
sudo apt-get install build-essential
In other distros, the package name should be similar.
This script will download and install fastStructure and its dependencies.
fastStructure depends on quite a few software packages:
- cython
- numpy
- scipy
- GNU scientific library
If these are already installed in your system, feel free to comment the script section that will install them. Otherwise it will install a new local copy of these programs. You can install these packages in Ubuntu with the following command:
sudo apt-get install cython python-numpy python-scipy gsl-bin
If you are relying on the GNU Scientific Library that was installed using the
install_faststructure
script, you will need to make your system aware of
where these libraries are.
for that, add the following to your ~/.bashrc
:
LD_LIBRARY_PATH=$install_dir/lib
export LD_LIBRARY_PATH
Where $install_dir
is the directory defined in install_faststructure.sh
.
This script will download, compile and install MavericK.
- a recent C compiler, such as GCC 6.1 and above.
This should be available in every HPC environment.
In Ubuntu, all you should need is the package "build-essential" (if it is not already installed for some reason). It can be installed like this:
sudo apt-get install build-essential
In other distros, the package name should be similar.