... | ... | @@ -7,10 +7,8 @@ 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://sylabs.io/guides/3.6/user-guide/).
|
|
|
|
|
|
For a direct use, download the image file:
|
|
|
* [lmgc90_user_2023_rc1.sif](https://seafile.lmgc.univ-montp2.fr/f/1c75255d95f5460c9dee/?dl=1)
|
|
|
* [lmgc90_user_2022.sif](https://seafile.lmgc.univ-montp2.fr/f/12555c58cde943139552/?dl=1)
|
|
|
* [lmgc90_user_2022_rc1.sif](https://seafile.lmgc.univ-montp2.fr/f/f4893573742242c08d7a/?dl=1)
|
|
|
* [lmgc90_user_2021.sif](https://seafile.lmgc.univ-montp2.fr/f/df2a8b99d59d4055add3/?dl=1)
|
|
|
* [lmgc90_user_2021_rc1.sif](https://seafile.lmgc.univ-montp2.fr/f/5c8dd98a597042aa96ad/?dl=1)
|
|
|
|
|
|
On a server or computer with singularity installed, you can directly use the
|
|
|
singularity image to run a single command with:
|
... | ... | @@ -33,7 +31,7 @@ to create a `lmgc90.def` file (beware to beforehand adapt the path |
|
|
to the source directory of lmgc90 in the `files` section:
|
|
|
```file
|
|
|
Bootstrap: docker
|
|
|
From: ubuntu:focal
|
|
|
From: ubuntu:jammy
|
|
|
|
|
|
%files
|
|
|
lmgc90_user_xxxx /root/lmgc90
|
... | ... | @@ -47,7 +45,7 @@ From: ubuntu:focal |
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
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 python3-scipy python3-matplotlib python3-pandas python3-vtk7
|
|
|
apt install -y python3-scipy python3-matplotlib python3-pandas python3-vtk9 python3-igraph
|
|
|
apt install -y libhdf5-dev hdf5-tools python3-h5py
|
|
|
|
|
|
# build the sources
|
... | ... | @@ -71,7 +69,7 @@ On how to install and use Docker properly, check their [official website](https: |
|
|
|
|
|
To build an image, use the following content to create a `docker_lmgc90` file.
|
|
|
```file
|
|
|
FROM ubuntu:focal
|
|
|
FROM ubuntu:jammy
|
|
|
|
|
|
# install packages
|
|
|
RUN apt update -y
|
... | ... | @@ -79,7 +77,7 @@ RUN apt upgrade -y |
|
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
|
|
|
RUN apt install -y git cmake gcc g++ gfortran liblapack-dev swig python3-dev python3-numpy cython3 python-is-python3
|
|
|
RUN apt install -y python3-scipy python3-matplotlib python3-pandas python3-vtk7
|
|
|
RUN apt install -y python3-scipy python3-matplotlib python3-pandas python3-vtk9 python3-igraph
|
|
|
RUN apt install -y libhdf5-dev hdf5-tools python3-h5py
|
|
|
|
|
|
# get the sources
|
... | ... | |