Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:12

0001 #!/bin/bash
0002 
0003 #SBATCH -N 1                    # number of nodes
0004 #SBATCH -C gpu                  # constraint: use GPU partition
0005 #SBATCH -G 1                    # request 1 GPU
0006 #SBATCH -q regular              # queue
0007 #SBATCH -J eic-opticks          # job name
0008 #SBATCH --mail-user=<USER_EMAIL>
0009 #SBATCH --mail-type=ALL
0010 #SBATCH -A m4402                # allocation account
0011 #SBATCH -t 00:05:00             # time limit (hh:mm:ss)
0012 
0013 # Path to your image on Perlmutter
0014 IMAGE="docker:bnlnpps/eic-opticks:develop"
0015 CMD='cd /src/eic-opticks && OPTICKS_MAX_SLOT=1000000 simg4ox -g $OPTICKS_HOME/tests/geom/sphere_leak.gdml -m $OPTICKS_HOME/tests/run.mac -c sphere_leak'
0016 
0017 # Launch the container using Shifter
0018 srun -n 1 -c 8 --cpu_bind=cores -G 1 --gpu-bind=single:1 shifter --image=$IMAGE /bin/bash -l -c "$CMD"