-
Notifications
You must be signed in to change notification settings - Fork 135
dependencies
crisrab edited this page Apr 14, 2017
·
9 revisions
Welcome to the raven wiki!
There are several ways to get the dependencies:
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
Miniconda (after conda is installed from https://conda.io/miniconda.html )
conda create --name raven_libraries -y numpy=1.11.0 \
h5py=2.6.0 scipy=0.17.1 scikit-learn=0.17.1 \
matplotlib=1.5.1 python=2.7 hdf5 swig pylint lxml
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.
git clone https://github.com/idaholab/raven.git
cd raven
git checkout devel
git submodule update --init moose
Note: Be sure to have an SSHKey registered in your GITHUB profile (profile/settings/SSH and GPC keys)
make -j[here the number of cores you want to use]
./run_tests -j[here the number of cores you want to use]