Installation
Welcome to HiFiMagnet installation documentation!
This section describe how to quickly install HiFiMagnet tools on your plaform. If you wish to install the toolchain from scratch, you’d move to the developper section.
1. Infrastructure
Infrastructure | Native | Docker Container | singularity Container | Notes |
---|---|---|---|---|
Lncmi - laptop |
✓ |
use WSL |
||
Lncmi - workstation |
✓ |
Debian/Ubuntu |
||
Lncmi - euler |
✓ |
✓ |
singularity 3.2 |
|
Lncmi - stokes |
✓ |
✓ |
singularity 2.6 |
|
Grenoble Mesocentre |
✓ |
|||
Cemosis |
✓ |
2. HiFiMagnet matrix
Package | Debian | Windows | Docker Container | Singularity Container | Category |
---|---|---|---|---|---|
MagnetTools |
|||||
Salome |
|||||
{getdp} |
|||||
HiFiMagnet |
|||||
EnSight |
|||||
ParaView |
3. Debian/Ubuntu platform
On Debian/Ubuntu system you can install HiFiMagnet toolchain from the local Lncmi packages repository. To do so:
-
you need to have access to the Lncmi repository
-
add a
lncmi.lst
into your/etc/apt/sources.list.d
directory:
lncmi.lst
for Debian Testing distributiondeb http://euler/~trophime/debian/ testing main
deb-src http://euler/~trophime/debian/ testing main
Then for instance, to install HiFiMagnet run:
sudo apt update
sudo apt install hifimagnet
Supported linux distributions:
This procedure requires that you have root access on your system and that you have access to the Debian/Ubuntu Lncmi repository. |
4. Windows 10 platform
On Windows 10 Pro you can also install HiFiMagnet without much effort. Just enable WSL feature and download a Debian/Ubuntu distribution from Microsoft App Store. Then apply the same procedure as above to install the package.
We recommend using latest Ubuntu LTS distribution (aka Focal).
For full Focal support, you need to upgrade to WSL2. |
5. Containers
5.1. Docker
5.1.1. from dockerhub
HiFiMagnet are available from dockerhub
You need to be member of Feel++ team on dockerhub to be able to download the image. To get the image:
docker login
docker pull feelpp/hifimagnet
Check the existing docker images on feelpp/hifimagnet dockerhub and feelpp/salome dockerhub.
5.2. Singularity
5.2.2. from Sregistry
To get the HiFiMagnet singularity image you need first to get you token on a valid sregistry:
-
connect to the Sregistry service (eg cesga sregistry use the Fiware authentification}
-
in the top right scrolling menu with your user id, select Token
-
copy the line to a
.sregistry
in your home directory
The HiFiMagnet singularity images are stored in a private collection. To download the images you have to be granted access to the HiFiMagnet team. Once this is done, from a terminal:
export SREGISTRY_CLIENT=registry
export SREGISTRY_CLIENT_SECRETS=~/.sregistry-cesga
[export SREGISTRY_STORAGE=...]
sregistry pull --name hifimagnet-v108.simg hifimagnet/hifimagnet:v0.108