- git clone https://github.com/dingwentao/lossy-checkpoint.git
- mkdir lossy-checkpoint/build && cd lossy-checkpoint/build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=[installation path] .. && make all install
For the case that both Intel and GCC compilers are installed, please configure using:
cmake -C ../intel.cmake -DCMAKE_INSTALL_PREFIX:PATH=[installation path] ..
To use the built-in MD5 rather than OpenSSL, please configure using:
cmake -DNO_OPENSSL=true -DCMAKE_INSTALL_PREFIX:[installation path] ..
Lossy checkpointing library works on Cray system with these modules
GNU environment:
module load gcc/5.3.0 CMake/3.6.2 craype/2.5.8 cray-mpich/7.5.0 PrgEnv-gnu/6.0.3
export CRAY_CPU_TARGET=x86-64
export CRAYPE_LINK_TYPE=dynamic
Flag for CMake: -CMAKE_SYSTEM_NAME=CrayLinuxEnvironment
Intel environment:
module load intel/17.0.1.132 CMake/3.6.2 craype/2.5.8 cray-mpich/7.5.0 PrgEnv-intel/6.0.3
export CRAY_CPU_TARGET=x86-64
export CRAYPE_LINK_TYPE=dynamic
Flag for CMake: -CMAKE_SYSTEM_NAME=CrayLinuxEnvironment
The "build/examples" directory contains heat distribution simulation as a simple example in C. Usage instructions in file "examples/README".