Soulshared is a fundamental Fortran library meant to be share across soulsm packages.
- gnu gfortran compiler
- Mpi libraries
- OpenMp libraries
- CMake
- Git
- Makefile (ubuntu build-essentials package)
- pip install fypp -> fortran preprocessor
- Enable it by adding into PATH environment variable
How to download the source code:
How to compile (place into the main folder):
- (make sure netcdf and netcdf fortran libraries are installed/loaded)
- mkdir build
- cd build
- Chose to compile in debug (fix problems) or release mode (fast)
- cmake -DCMAKE_BUILD_TYPE=Debug/Release ..
- cmake -DENABLE_MPI=yes/no ..
- cmake -DBUILD_TESTING=yes/no ..
- make
How to run its unit tests:
- Go to the main project folder
- Run ./bin/soulshared_test