Installation¶
Step 1: Install RAPID¶
Before Installation Steps:¶
Ubuntu:¶
$ sudo apt-get install gfortran g++
RedHat/CentOS:¶
$ sudo yum install gcc-c++ gcc-gfortran
Windows with Cygwin:¶
Downloaded Cygwin (64-bit) (https://www.cygwin.com/) with these dependencies:
- gcc-core
- gcc-fortran
- gcc-g++
- gdb
- git
- make
- time
- wget
Installation Steps:¶
Manual:¶
- See: http://rapid-hub.org
Bash:¶
Clone RAPID repository:
$ git clone https://github.com/c-h-david/rapid.git
Install Prereqs:
$ cd rapid $ chmod u+x rapid_install_prereqs.sh $ ./rapid_install_prereqs.sh
Append source rapid_specify_varpath.sh to the ~/.bashrc or ~/.bash_profile:
source /path/to/cloned/rapid/rapid_specify_varpath.sh
Restart Terminal
Build RAPID:
$ cd rapid/src $ make rapid
Step 2: Install RAPIDpy¶
Due to the dependencies required, we recommend using Anaconda or Miniconda. They can be downloaded from https://www.continuum.io/downloads or from https://conda.io/miniconda.html.
After installing Anaconda or Miniconda:
$ conda install -c conda-forge rapidpy
Developer Installation¶
This is how you get the most up-to-date version of the code.
See: https://github.com/erdc-cm/RAPIDpy/blob/master/.travis.yml for a more detailed list of installation steps.
Note
If you don’t have git, you can download the code from https://github.com/erdc-cm/RAPIDpy
$ git clone https://github.com/erdc-cm/RAPIDpy.git
$ cd RAPIDpy
$ python setup.py install
To develop on the latest version:
$ git clone https://github.com/erdc-cm/RAPIDpy.git
$ cd RAPIDpy
$ python setup.py develop