Skip to content

Corsika and sim_telarray Docker and Singularity images for IACT detectors (experimental repository)

License

Notifications You must be signed in to change notification settings

nietootein/corsika-containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corsika and sim_telarray docker and singularity images for IACT detectors

  • Disclaimer: this is an experimental repository NOT meant for production
  • The corsika_simtel bundle here used is corsika7.6 + simtelarray_2019-05-29, corresponding to the versions utilized for Prod3b
  • Only the baseline run scripts for Prod3b have been tested

Requirements

Installation

Just clone the repository:

$ git clone https://github.com/nietootein/corsika-containers.git

Usage

With Docker

Building images

Building and image from a dockerfile mydockerfile

$ cd corsika-containers

$ docker build -t <my_tag>:<my_version> -f dockerfiles/mydockerfile .

For example:

$ docker build --build-arg ASSETS_PASSWORD=<assets password> -t c-alp:0.1 -f dockerfiles/dockerfile-c-alpine . will build an image from alpine linux containing a working corsika (version 76300).

Inquires about the password should be addressed to the author.

Running a container from a built image

By now the execution of corsika or sim_telarray is run in interactive mode. To run a container:

$ docker run -it --name <my_name> <my_tag>:<my_version>

For example:

$ docker run -it --name c-alp-test c-alp:0.1

The corsika or sim_telarray code can then be found in /opt/corsika or /opt/corsika_simtelarray respectively.

With Singularity

Building images

Building and image from a Singularity recipe myrecipe

$ cd corsika-containers

$ singularity build --fakeroot <myimage> <myrecipe>

For example:

$ singularity build --fakeroot cs-alpine.simg singularity/singularity-cs-alpine

Note: The following assets need to be placed into the corsika-containers/assets folder for the Singularity build to work.

Available images

Distro corsika fluorescence sim_telarray Docker image Docker file Singularity image Singularity recipe
Alpine 3.11 76300 no no v0.1 dockerfile-c-alpine v0.1 singularity-c-alpine
Alpine 3.11 76300 yes no v0.1 dockerfile-cf-alpine v0.1 singularity-cf-alpine
Alpine 3.11 76300 n 2019-05-29 v0.1 dockerfile-cs-alpine v0.1 singularity-cs-alpine
SL7 76300 no no v0.1 dockerfile-c-sl v0.1 singularity-c-sl
SL7 76300 yes no v0.1 dockerfile-cf-sl v0.1 singularity-cf-sl
SL7 76300 n 2019-05-29 v0.1 dockerfile-cs-sl v0.1 singularity-cs-sl
Ubuntu 20.04 76300 no no v0.1 dockerfile-c-ubuntu v0.1 singularity-c-ubuntu
Ubuntu 20.04 76300 yes no v0.1 dockerfile-cf-ubuntu v0.1 singularity-cf-ubuntu
Ubuntu 20.04 76300 n 2019-05-29 v0.1 dockerfile-cs-ubuntu v0.1 singularity-cs-ubuntu

Some references

Author

D. Nieto ([email protected])

About

Corsika and sim_telarray Docker and Singularity images for IACT detectors (experimental repository)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages