How to build nest

Software
Version
Cluster
nest
2.20.2
Dardel

Build instructions for nest-simulator

# Download and untar the source code
wget https://github.com/nest/nest-simulator/archive/refs/tags/v2.20.0.tar.gz
tar xvf v2.20.0.tar.gz
cd nest-simulator-2.20.0

# Load the environment
ml PDC/22.06
ml gsl/2.7.1-cpeGNU-22.06
ml pdc-python/3.9.6-cpeGNU-22.06
ml cmake/3.23.0

# Create build directory
mkdir build
cd build

# Configure
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/pdc/software/22.06/other/nest/2.20.2-py39 \
      -DCMAKE_C_COMPILER=cc -DCMAKE_CXX_COMPILER=CC -DMPI_C_COMPILER=cc -DMPI_CXX_COMPILER=CC \
      -Dwith-mpi=ON -DLTDL_LIBRARY=/usr/lib64/libltdl.so.7 -DREADLINE_LIBRARY=/lib64/libreadline.so.7 \
      -DNCURSES_LIBRARY=/lib64/libncurses.so.6.1

# Compile and install
make -j 32
make install

# Create soft link to stdc++ library
cd /pdc/software/22.06/other/nest/2.20.2-py39/lib64
ln -s /opt/cray/pe/gcc/11.2.0/snos/lib64/libstdc++.so.6 .

Disclaimer

PDC takes no responsibility for the correctness of results produced with the binaries. Always evaluate the binaries against known results for the systems and properties you are investigating before using the binaries for production jobs.

How to use nest