NAV

hdf5 can be deployed as any other external package PID wrapper. To know more about PID methodology simply follow this link.

PID provides different alternatives to install a PID wrapper package:

Automatic install by dependencies declaration

The external package hdf5 resulting from the build of its wrapper will be installed automatically if it is a direct or undirect dependency of one of the packages you are developing. See how to import.

Manual install using PID commands

The external package hdf5 can be installed manually using commands provided by the PID workspace:

cd <pid-workspace>
./pid deploy package=hdf5

Or if you want to install a specific binary version of this external package, for instance for the last version:

cd <pid-workspace>
./pid deploy package=hdf5 version=1.12.0

Manual Installation

The last possible action is to install it by hand without using PID commands. This is not recommended but could be helpfull to install another repository of this package (not the official package repository). For instance if you fork the official repository to work isolated from official developers you may need this alternative.

  • Cloning the official repository of hdf5 with git
cd <pid-workspace>/wrappers/ && git clone git@gite.lirmm.fr:pid/wrappers/hdf5.git

or if your are involved in the development of hdf5 wrapper and forked the hdf5 wrapper official repository (using GitLab), you may prefer doing:

cd <pid-workspace>/wrappers/ && git clone unknown_server:<your account>/hdf5.git
  • Building the repository

Wrappers require the user to define a given version to build, for instance for the last version:

cd <pid-workspace>/wrappers/hdf5/build
cmake .. && cd ..
./pid build version=1.12.0