dependencies - idaholab/raven GitHub Wiki
Welcome to the raven wiki!
Installation Notes:
Obtaining:
git clone https://github.com/idaholab/raven.git
cd raven
git checkout devel
Note: Be sure to have an SSHKey registered in your GITHUB profile (profile/settings/SSH and GPC keys)
Needed dependencies
There are several ways to get the dependencies:
The supported ways are reported in the RAVEN installation page.
If other methods are used, a list of dependencies need to be retrieved running the following command in the raven folder (after installing Python):
python scripts/TestHarness/testers/RavenUtils.py --manual-list
This command will list the dependencies' versions in a LaTex compatible list. For example:
\begin{itemize}
\item python-3
\item h5py-2.9.0
\item numpy-1.16.4
\item scipy-1.2.1
\item scikit-learn-0.21.2
\item pandas-0.24.2
\item xarray-0.12.1
\item netcdf4-1.4.2
\item matplotlib-3.1.0
\item statsmodels-0.9.0
\item tensorflow-1.13.1
\item cloudpickle
\item hdf5-1.10.4
\item swig
\item pylint
\item coverage
\item lxml
\item psutil
\item pyside2
\item pillow
\end{itemize}
Ubuntu (16.04 and newer, otherwise conda or pip should be used):
sudo apt-get install libtool git python-dev swig g++ \
python3-dev python-numpy python-sklearn python-h5py
Fedora:
dnf install swig libtool gcc-c++ redhat-rpm-config python-devel \
python3-devel numpy h5py scipy python-scikit-learn \
python-matplotlib-qt4
For macOS, first, obtain the Xcode Command Line Tools by running
xcode-select --install
then, get XQuartz 2.7.9 https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.9.dmg
then, get Miniconda, and install the rest of the dependencies from Miniconda.
Compiling and Testing
make -j2
./run_tests -j2