... | @@ -7,10 +7,9 @@ Here are provided some very basics directions on how to use LMGC90 in a Singular |
... | @@ -7,10 +7,9 @@ Here are provided some very basics directions on how to use LMGC90 in a Singular |
|
On how to install and use Singularity properly, check their [official website](https://apptainer.org/).
|
|
On how to install and use Singularity properly, check their [official website](https://apptainer.org/).
|
|
|
|
|
|
For a direct use, download the image file:
|
|
For a direct use, download the image file:
|
|
|
|
* [lmgc90_user_2024.sif](https://seafile.lmgc.univ-montp2.fr/f/6c0a172ff64b4efc9ff5/?dl=1) (md5sum 3456a4f6cec9fba8529a505db31ffbc0)
|
|
* [lmgc90_user_2024_rc1.sif](https://seafile.lmgc.univ-montp2.fr/f/0213f8323051431d8744/?dl=1) (md5sum e58a398352a64b41567e0aaf816863df)
|
|
* [lmgc90_user_2024_rc1.sif](https://seafile.lmgc.univ-montp2.fr/f/0213f8323051431d8744/?dl=1) (md5sum e58a398352a64b41567e0aaf816863df)
|
|
* [lmgc90_user_2023.sif](https://seafile.lmgc.univ-montp2.fr/f/577871f9c9344a7a8711/?dl=1)
|
|
* [lmgc90_user_2023.sif](https://seafile.lmgc.univ-montp2.fr/f/577871f9c9344a7a8711/?dl=1)
|
|
* [lmgc90_user_2023_rc2.sif](https://seafile.lmgc.univ-montp2.fr/f/ffa27bb6a3e04016a72b/?dl=1)
|
|
|
|
* [lmgc90_user_2023_rc1.sif](https://seafile.lmgc.univ-montp2.fr/f/1c75255d95f5460c9dee/?dl=1)
|
|
|
|
|
|
|
|
On a server or computer with singularity installed, you can directly use the
|
|
On a server or computer with singularity installed, you can directly use the
|
|
singularity image to run a single command with:
|
|
singularity image to run a single command with:
|
... | @@ -33,7 +32,7 @@ to create a `lmgc90.def` file (beware to beforehand adapt the path |
... | @@ -33,7 +32,7 @@ to create a `lmgc90.def` file (beware to beforehand adapt the path |
|
to the source directory of lmgc90 in the `files` section:
|
|
to the source directory of lmgc90 in the `files` section:
|
|
```file
|
|
```file
|
|
Bootstrap: docker
|
|
Bootstrap: docker
|
|
From: ubuntu:jammy
|
|
From: ubuntu:noble
|
|
|
|
|
|
%files
|
|
%files
|
|
lmgc90_user_xxxx /root/lmgc90
|
|
lmgc90_user_xxxx /root/lmgc90
|
... | @@ -47,7 +46,7 @@ From: ubuntu:jammy |
... | @@ -47,7 +46,7 @@ From: ubuntu:jammy |
|
export DEBIAN_FRONTEND=noninteractive
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
apt update && apt -y upgrade
|
|
apt update && apt -y upgrade
|
|
apt install -y git cmake gcc g++ gfortran liblapack-dev swig python3-dev python3-numpy cython3 python-is-python3
|
|
apt install -y git cmake gcc g++ gfortran liblapack-dev swig python3-dev python3-numpy cython3 python-is-python3
|
|
apt install -y python3-scipy python3-matplotlib python3-pandas python3-vtk9 python3-igraph
|
|
apt install -y python3-scipy python3-matplotlib python3-pandas python3-vtk9 python3-igraph python3-gmsh
|
|
apt install -y libhdf5-dev hdf5-tools python3-h5py
|
|
apt install -y libhdf5-dev hdf5-tools python3-h5py
|
|
|
|
|
|
# build the sources
|
|
# build the sources
|
... | | ... | |