Installation Instructions for Users

Prerequisites

Installation and use of the DataHIPy and dependencies have been facilitated through the use of Docker software containerization. If you adopt this approach, which is recommended, you need to have Docker engine installed (see instructions in Installation of Docker Engine).

While Docker enables DataHIPy to be run on all major operating systems where you have root privileges. A Docker image can be easily converted to a Singularity image to run DataHIPy on Linux systems where you might not have root privileges such as a High Performance Computing cluster (See examples).

Please check https://docs.docker.com/get-started/overview/ if you want to learn more about Docker.

Note

If you do not want to use Docker, DataHIPy can also be installed locally (see How to install DataHIPy locally).

Installation of Docker Engine

Building the Docker Image

The Docker image can be built from the Makefile provided in the DataHIPy repository as follows:

$ # Clone locally the datahipy repository
$ git clone https://github.com/HIP-infrastructure/DataHIPy.git DataHIPy
$ # Go to the DataHIPy directory
$ cd DataHIPy
$ # Build the docker image
$ make -B build-docker

You can then inspect the Docker image version tag with the following command:

$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
datahipy          <version>           0e0b0b0b0b0b        1 minute ago        2.94GB

Once you know the image tag, you can test the built image by running the command which returns the version installed in the Docker image as follows:

$ docker run -it --rm \
    datahipy:<version> \
    ${USER} \
    $(id -u $USER) \
    --version

We refer to Running DataHIPy in Docker for more details on how to run the Docker image.