eqasim-org / ile-de-france

An open synthetic population of Île-de-France for agent-based transport simulation
GNU General Public License v2.0
47 stars 68 forks source link

Docker and Apptainer containers ? #262

Open Nitnelav opened 3 weeks ago

Nitnelav commented 3 weeks ago

Hello Team Eqasim !

I have been trying to run eqasim through an Apptainer (ex-Singularity ) container on a HPC server. So far it seems to work. I also have a Dockerfile.

Nitnelav commented 3 weeks ago

I placed everything here : https://github.com/Nitnelav/eqasim-container

We can put it in eqasim-org if you want.

sebhoerl commented 3 weeks ago

Hi, really nice, I'll try to find some time to look into that. Is this publicly accessible, one does not need to configure some token in an awkward way like for the github-hosted maven repositories? Could also be worth a quick presentation for the workshop :)

Nitnelav commented 3 weeks ago

Oh yes it's available everywhere, as in :

docker run --rm -it \
    --mount type=bind,src=/tmp,target=/usr/local/eqasim \
    --mount type=bind,src=/tmp,target=/usr/local/eqasim-data \
    ghcr.io/nitnelav/eqasim-container:main /bin/bash -l -c "cd /usr/local/eqasim && python -m synpp"
Nitnelav commented 3 weeks ago

And yea I could present it at the workshop. It won't need a full 15min though :)