Has anyone developed a Docker container for ROMS?
I'm thinking the Dockerfile would be quite similar to WRF:
https://github.com/NCAR/container-wrf/b ... Dockerfile
Docker container for ROMS?
Re: Docker container for ROMS?
What is the motivation for doing this? I inspected WRF file and it looks like this
is just another layer of software toward black-boxing it one level further. What is
wrong with standard build procedures?
is just another layer of software toward black-boxing it one level further. What is
wrong with standard build procedures?
-
- Posts: 5
- Joined: Wed Dec 10, 2014 9:34 pm
- Location: University of Maryland
Re: Docker container for ROMS?
One of the advantages of containerization is to readily deploy it on cloud environments rather than going through
the standard procedure of installing all the required libraries.
the standard procedure of installing all the required libraries.
-
- Posts: 23
- Joined: Tue Oct 07, 2008 11:27 am
- Location: MetService - New Zealand
- Contact:
Re: Docker container for ROMS?
@rsignell,
At /root/myroms. There is a pre-compiled upwelling test case with OpenMP and Mpich with gfortran.
This was built in 2014 and unfortunately, I haven't setup a Dockerfile, versioning and automated builds (using platforms such as a github) at that stage.
We have a much more mature image that we use here at MetOcean nowadays to run ROMS in our internal systems. Ripping out the system-dependent stuff to create an opensource general purpose one wouldn't be too far fetched. I'd be happy to collaborate if there is interest.
@shchepet,
I've actually uploaded this image to dockerhub https://hub.docker.com/r/rsoutelino/ubuntu.roms/, which I use with students. It can be used interactively as below.Has anyone developed a Docker container for ROMS?
Code: Select all
docker pull rsoutelino/ubuntu.roms
docker run -ti rsoutelino/ubuntu.roms /bin/bash
This was built in 2014 and unfortunately, I haven't setup a Dockerfile, versioning and automated builds (using platforms such as a github) at that stage.
We have a much more mature image that we use here at MetOcean nowadays to run ROMS in our internal systems. Ripping out the system-dependent stuff to create an opensource general purpose one wouldn't be too far fetched. I'd be happy to collaborate if there is interest.
@shchepet,
There are many advantages of the docker approach, especially for scientific collaboration and reproducibility. Containerization itself has been around for ages, but docker opened an interesting avenue by creating the registry. With github+dockerhub, versioning and sharing software reached a deeper level of abstraction all the way to the OS. Model implementations can be stored and shipped between colleagues, groups, students, running in different architectures, minimizing the nitty-gritty of getting things to work. Our experience here has been great so far. The only requirement for a server OSs now is to "have docker installed". Different model versions can co-exist easily without conflicts, extending on what @tarankalra mentioned.What is the motivation for doing this?
Re: Docker container for ROMS?
Hi,
I would be very interested in our Dockerfile for ROMS. I am currently using Virtual Machines for teaching, this seems a good alternative, Let's talk...
I would be very interested in our Dockerfile for ROMS. I am currently using Virtual Machines for teaching, this seems a good alternative, Let's talk...
Andres Sepulveda
------------------------------
Geophysics Department
University of Concepcion
------------------------------
Geophysics Department
University of Concepcion
Re: Docker container for ROMS?
A naive question. For multi-threaded or multi-process programs like ROMS, is there any significant performance penalty for using something like docker?
Jamie
Jamie
-
- Posts: 23
- Joined: Tue Oct 07, 2008 11:27 am
- Location: MetService - New Zealand
- Contact:
Re: Docker container for ROMS?
Docker is a very lightweight form of virtualization if the host OS is Linux. In our experience, there is no detectable loss of performance. If your host OS is MacOS or Windows, docker will add a virtual machine as an abstract layer in between, then you have performance loss.
Re: Docker container for ROMS?
@rsoutelino, that would be fantastic! We would excited to collaborate on this! What is the next step?We have a much more mature image that we use here at MetOcean nowadays to run ROMS in our internal systems. Ripping out the system-dependent stuff to create an opensource general purpose one wouldn't be too far fetched. I'd be happy to collaborate if there is interest.