Model for Prediction Across Scales (MPAS) containerized.
# 1.
docker run -it --rm -p 8889:8889 gbnz/mpas_containerized:v8.2 zsh
# 2. with X11 passed i.e. for ncview
docker run -it --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v ./experiments:/workspaces/mpas_container/experiments -p 8889:8889 gbnz/mpas_containerized:v8.2 zsh
# 3. to get into running container i.e. to have second shell in it
docker exec -it <container name> zsh
add host fs access to above command as your wish
Test cases are included in the image
cd /workspaces/mpas_container/src/examples/idealized
tar -xvzf supercell.tar.gz
cd supercell
ln -s /workspaces/mpas_container/src/MPAS-Model/init_atmosphere_model .
ln -s /workspaces/mpas_container/src/MPAS-Model/atmosphere_model .
# with old small cpu in hand..
mpiexec -n 4 --allow-run-as-root init_atmosphere_model
mpiexec -n 4 --allow-run-as-root atmosphere_model
conda activate ncl
ncl supercell.ncl
The last one will generate .pdf with the (some) results.
From withing container
cd /workspaces/mpas_container/
conda activate jupyterlab
jupyter lab --port 8889 --ip 0.0.0.0 --no-browser --allow-root
And then follow the instruction - i.e. more or less open provided URL in your browser.
Content type
Image
Digest
sha256:f0c69a9eb…
Size
2.5 GB
Last updated
about 2 years ago
docker pull gbnz/mpas_containerized:v8.2