Compiling dependencies
Setting up compilers
E.g. on SupermucNG:
module load intel mpi-intel
export FC=mpif90
export CXX=mpiCC
export CC=mpicc
Alternatively for gcc compilers on SupermucNG:
export FC=mpifc
export CXX=mpigxx
export CC=mpigcc
Asagi
See https://seissol.readthedocs.io/en/latest/asagi.html.
yaml-cpp
On SupermucNG and with intel compilers:
module load yaml-cpp/0.7.0-intel21
Alternatively you can build from source:
git clone git@github.com:jbeder/yaml-cpp
# git clone https://github.com/jbeder/yaml-cpp.git
cd yaml-cpp
git checkout yaml-cpp-0.6.3
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME
make -j 4
make install
cd ../..
ImpalaJIT
git clone git@github.com:uphoffc/ImpalaJIT
# git clone https://github.com/uphoffc/ImpalaJIT.git
cd ImpalaJIT
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME
make -j 4
make install
cd ../..
Lua
# cmake module on SupermucNG (cmake/3.16.5) does not support lua 5.4
wget https://www.lua.org/ftp/lua-5.3.6.tar.gz
tar -xzvf lua-5.3.6.tar.gz
cd lua-5.3.6/
make linux CC=mpicc
make local
cp -r install/* ~
cd ..