Skip to content

Instantly share code, notes, and snippets.

@mboisson
Created October 5, 2021 13:41
Show Gist options
  • Save mboisson/d1fe7dfdb4239127149a6a718c079e5f to your computer and use it in GitHub Desktop.
Save mboisson/d1fe7dfdb4239127149a6a718c079e5f to your computer and use it in GitHub Desktop.
cd $HOME
mkdir -p git && cd git
git clone git@github.com:woodem/woo.git
cd woo
mkdir build && cd build
module load eigen boost python double-conversion tbb gts vtk hdf5
virtualenv $HOME/woo && source $HOME/woo/bin/activate
pip install pybind11
export CPATH=$(python -c "import numpy; print(numpy.get_include())"):$CPATH
cmake .. -DPYTHON_EXECUTABLE=$(which python) \
-Dpybind11_DIR=$(python -c "import pybind11; print(pybind11.get_cmake_dir())") \
-DWOO_QT5=OFF
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment