Steps to run the container:
- Pull the docker image: $docker pull gfdlfv3/shield-dev
- cd to sh and run ./init_container.sh
- It starts a command line like: root@dbdb48866381:
Steps to compile the code in the container:
- Change the directory to build: root@dbdb48866381:/# cd SHiELD_build/Build/
- Compile the code (it should take a while): root@dbdb48866381:/SHiELD_build/Build# ./COMPILE solo sw repro gnu 64bit cleanall
- Exit the container and save its image: $docker commit dbdb48866381 sw
- Run the container saved image using the script ./run_sw_container.sh
- cd to SHiELD_SRC/test/
- Run ./run_adv.sh and adjust this file for you preferences
- Plots scripts are available in /plot (outputs are saved in /graphs).
You should recompile the code using compile.sh.
References:
- Mouallem, J., Harris, L., & Chen, X. (2023). Implementation of the novel Duo-Grid in GFDL's FV3 dynamical core. Journal of Advances in Modeling Earth Systems, 15, e2023MS003712. https://doi.org/10.1029/2023MS003712
- Mouallem, J. (2023). Implementation of the novel duo-grid in GFDL’s FV3 dynamical core - code and simulations files [Software] [Dataset]. Zenodo. https://doi.org/10.5281/zenodo.8327578