Note
For now, it only covers the installation of the HDC module on a GateWay cluster with the GNU GCC compiler.
- Building from source
Clone the HDC project's repository:
$: git clone ssh://git@git.iter.org/imas/hdc.git
Build MDBM backend (optional)
Navigate to local HDC directory:
$: cd hdc
Create new directory for build files:
$: mkdir build
Navigate to build directory:
$: cd build
- Configure a build - two possibilities: with/without MDBM previously build:
Building without previously installed MDBM module:
$: cmake -DCMAKE_INSTALL_PREFIX=../install ..
Building with previously installed MDBM module:
If you have set up MDBM and you still haveMDBM_PREFIX
variable, then in order to use MDBM, please, append this tocmake
command line:-DMDBM_LIBRARY=$MDBM_PREFIX/lib64 -DMDBM_INCLUDE_DIR=$MDBM_PREFIX/include
$: cmake -DCMAKE_INSTALL_PREFIX=../install -DMDBM_LIBRARY=$MDBM_PREFIX/lib64/libmdbm.so -DMDBM_INCLUDE_DIR=$MDBM_PREFIX/include ..
And finally build&install:
$: make -j install
After successful build, run tests please:
$: make test