Skip to content

laurenchilutti/ufs-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

ufs-container

This repository houses the dockerfile for compiling the ufs-weather-model with GFDL environment containers for modeling.

Building

This is the recommended way to build the docker container image:

cd docker
docker build -t gfdl_ufs:FMS2021.03-intel2021.4 -f Dockerfile .

Pulling

The docker container images are currently stored in the thomasrobinson repository on dockerhub. If pulling using singularity:

singularity pull docker://thomasrobinson/gfdl_ufs:FMS2021.03-intel2021.4

Running

The folder runscript has run scripts to run the model. The default run script is a link called runscript/run.sh. Use singularity exec to run execute this runscript. If you have the gfdl_ufs_FMS2021.03-intel2021.4.sif file in your run directory and you are in your run directory, you can do the following (assuming you set the variable ranks to be the number of MPI ranks you wish to run)

(mpirun)

mpirun -n ${ranks} singularity exec -b ${PWD} runscript/run.sh |& tee fms.out

(srun)

srun -n ${ranks} singularity exec -b ${PWD} runscript/run.sh |& tee fms.out

If there are any problems, please open an issue.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published