Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.72 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.72 KB

Creating a Singularity container for TurboSETI and dependencies

For an introduction to Singularity, please see the documentation.

To install Singularity, please see the installation guide.

A Singularity container can be built from a definition file. A definitions file for TurboSETI is given by turboseti_container.def. The following command will create a TurboSETI container named turboseti_container.sif:

sudo singularity build turboseti_container.sif turboseti_container.def   

The container itself is roughly 6.7GB.

Note that the CUDA drivers on the host system must be compatible with the CUDA toolkit version installed in the container (as specified in the definitions file). This can be confirmed by checking the compatibility table (Table 2 in the document linked).

The container can be accessed via a shell as follows:

singularity shell --nv turboseti_container.sif

The --nv flag is needed for GPU support. In addition, one may wish to make external directories available within the container. This can be achieved using the -B or --bind flags as follows:

singularity shell -B ~/example_data --nv turboseti_container.sif

TurboSETI may also be run from within the container via the external commandline as follows:

singularity exec -B ~/example_data --nv turboseti_container.sif turboSETI ~/example_data/diced_Parkes_57941_12846_HIP33499_S_fine.h5 -g y