Skip to content

jurnix/soulshared

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soulshared

Soulshared is a fundamental Fortran library meant to be share across soulsm packages.

Dependencies

  • 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

Download

How to download the source code:

Compile

How to compile (place into the main folder):

  1. (make sure netcdf and netcdf fortran libraries are installed/loaded)
  2. mkdir build
  3. cd build
  4. Chose to compile in debug (fix problems) or release mode (fast)
    1. cmake -DCMAKE_BUILD_TYPE=Debug/Release ..
    2. cmake -DENABLE_MPI=yes/no ..
    3. cmake -DBUILD_TESTING=yes/no ..
  5. make

Unit Test

How to run its unit tests:

  1. Go to the main project folder
  2. Run ./bin/soulshared_test

About

lsm shared functionalities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published