Skip to content

lbl-neutrino/larnd-sim-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

larnd-sim container

This is a minimal container for running larnd-sim on Perlmutter at NERSC.

Building it

First, a couple of input files must be copied into this directory before they can be bundled into the container:

./copy_inputs.sh

This will create and populate the inputs directory.

Next, build the image:

podman-hpc build -t larnd-sim .

At this point, the inputs directory can be deleted.

To make the image available on other nodes:

podman-hpc migrate larnd-sim

Running it

It's a good idea to grab a dedicated GPU. Assuming that myproject is the NERSC project you want to charge:

salloc -q shared -C gpu -t 20 --gpus-per-task 1 --ntasks 1 -A myproject_g

Now enter the container:

podman-hpc run --gpu --rm -it larnd-sim /bin/bash

Then launch the simulation:

/software/run_larnd_sim.sh

The output of the simulation will show up in the /outputs directory inside the container.

About

Example container for larnd-sim at NERSC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published