Commit 6484fa7e authored by Pablo Toharia's avatar Pablo Toharia

Added nest-simulator-2.16.0

parent 8a26d61b
#!/bin/bash
echo "Installing cython ..."
sudo apt install cython
mkdir -p cd $HOME/opt/src/
wget https://github.com/nest/nest-simulator/archive/v2.16.0.tar.gz
tar xf v2.16.0.tar.gz && rm -f v2.16.0.tar.gz
cd nest-simulator-2.16.0
mkdir nest-build
cd nest-build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/opt/nest-simulator-2.16.0 ..
make -j ${CORES_TO_BUILD} install
ln -s ~/opt/modules/modules/nest-simulator-2.16.0 ~/opt/modules/installed/nest-simulator-2.16.0
#%Module1.0
##
## nest-simulator 2.16.0
set version 2.16.0
set prefix /home/opt/nest-simulator-$version
setenv NEST_INSTALL_DIR /home/opt/nest-simulator-$version
setenv NEST_DATA_DIR $prefix/share/nest
setenv NEST_DOC_DIR $prefix/share/doc/nest
setenv NEST_MODULE_PATH $prefix/lib/nest
setenv NEST_PYTHON_PREFIX $prefix/lib/python2.7/site-packages
prepend-path PYTHONPATH $prefix/lib/python2.7/site-packages
prepend-path PATH $prefix/bin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment