singularity build cgenie_muffin.sif singularity_cgenie_muffin.def
-
Modify all Slurm directives inside the script submit_muffin.sh.
-
Submit the slurm script using:
sbatch submit_muffin.sh
-
Start an interactive session
-
From the terminal load singularity:
ml singularity/3.7.4
- Change to the cgenie_muffin directory. If you just copied the example directory using "cp -r /curc/sw/containers/examples/cgenie_muffin .", then you can do:
cd ./cgenie_muffin
- Start an interactive singularity session using cgenie_muffin container:
singularity shell $CURC_CONTAINER_DIR/cgenie_muffin.sif
- Within the container set the environmental variable CGENIE_MUFFIN_LOCATION this should point to the "cegenie_muffin" path. Since we are in "./cgenie_muffin" (based on step 4) this can be done as follows:
export CGENIE_MUFFIN_LOCATION=$PWD
- Now, go to the genie-main directory:
cd ./cgenie.muffin/genie-main/
- To run the test "testbiogem" do the following:
make cleanall
make testbiogem
- To run the muffin Earth system model:
make cleanall
./runmuffin.sh cgenie.eb_go_gs_ac_bg.worbe2.BASE LABS LAB_0.EXAMPLE 10