You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Note

For now, it only covers the installation of the HDC module on a GateWay cluster with the GNU GCC compiler.

  1. Building from source
    1. Clone the HDC project's repository:

      $: git clone ssh://git@git.iter.org/imas/hdc.git
    2. Build MDBM backend (optional)

        1. Clone the MDBM project's repository:

          $: git clone https://github.com/yahoo/mdbm
        2. Navigate to local MDBM directory:

          $: cd mdbm
        3. Set install prefix:

          In place of $PATH variable it is needed to pass relative path to MDBM directory, e.g.:  ~/projects/mdbm  

          $: MDBM_PREFIX=$(realpath $PATH)/install
          $: sed -i.bak "s|/tmp/install|$MDBM_PREFIX|g" Makefile.base
        4. Optionally disable tests (they need libcppunit, preferably):

          $: sed -i.bak '/SUBDIRS/s/test //' src/Makefile
        5. And finally build & install:

          $: make install
        6. Leave MDBM repository, but keep $MDBM_PREFIX variable, it will be needed later

          $: cd ..
    3. Navigate to local HDC directory:

      $: cd hdc
    4. Create new directory for build files:

      $: mkdir build
    5. Navigate to build directory:

      $: cd build
    6. Create new directory for build files:

      $: git clone ssh://git@git.iter.org/imas/hdc.git
  • No labels