Skip to content

Docker and Apptainer containers for running the Eqasim pipeline

License

Notifications You must be signed in to change notification settings

Nitnelav/eqasim-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eqasim-container

Containers for running the Eqasim pipeline

Docker container

To build the container : docker build -t eqasim .

This will pull the conda environment from the latest develop branch of eqasim. To build using your own environment.yml file : docker build --build-arg env_path=/path/to/my/environment.yml -t eqasim .

To run the pipeline :

docker run --rm -it \
    --mount type=bind,src=/path/to/eqasim-ile-de-france,target=/usr/local/eqasim \
    --mount type=bind,src=/path/to/eqasim-data,target=/usr/local/eqasim-data \
    ghcr.io/nitnelav/eqasim-container:main /bin/bash -l -c "cd /usr/local/eqasim && python -m synpp"`

where :

  • /path/to/eqasim-ile-de-france is the path of the eqasim pipline on your host machine.
  • /usr/local/eqasim is going to be the path of the eqasim pipeline in the container.
  • /path/to/eqasim-data is the path of the data (bdtopo, hts, sirene, etc.) folder on your host machine.
  • /usr/local/eqasim-data is the path of the data folder in the container. This is the path you need to put in your congif.yml file

Apptainer

To build the container : apptainer -v -d build eqasim.sif apptainer.def

To run the pipeline : apptainer run eqasim.sif

You can also run it from the docker container directly : apptainer run docker://ghcr.io/nitnelav/eqasim-container:main /bin/bash

About

Docker and Apptainer containers for running the Eqasim pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages