Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Mon Dec 11, 2017 11:29 am




Post new topic Reply to topic  [ 8 posts ] 

All times are UTC

Author Message
PostPosted: Tue Oct 03, 2017 11:22 am 
Offline

Joined: Fri Apr 25, 2003 9:22 pm
Posts: 122
Location: USGS
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


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 04, 2017 3:42 pm 
Offline

Joined: Fri Nov 14, 2003 4:57 pm
Posts: 171
Location: UCLA, USA
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?


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 05, 2017 1:17 pm 
Offline

Joined: Wed Dec 10, 2014 9:34 pm
Posts: 4
Location: University of Maryland
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.


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 05, 2017 8:46 pm 
Offline

Joined: Tue Oct 07, 2008 11:27 am
Posts: 21
Location: MetOcean - New Zealand
@rsignell,

Quote:
Has anyone developed a Docker container for ROMS?


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.

Code:
docker pull rsoutelino/ubuntu.roms
docker run -ti rsoutelino/ubuntu.roms /bin/bash


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,
Quote:
What is the motivation for doing this?


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.


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 06, 2017 12:36 pm 
Offline

Joined: Tue May 06, 2003 4:35 pm
Posts: 47
Location: University of Concepcion
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...

_________________
Andres Sepulveda

------------------------------
Geophysics Department
University of Concepcion


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 07, 2017 1:35 pm 
Offline

Joined: Sun Jul 27, 2003 6:49 pm
Posts: 72
Location: UNH, USA
A naive question. For multi-threaded or multi-process programs like ROMS, is there any significant performance penalty for using something like docker?

Jamie


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 08, 2017 9:25 pm 
Offline

Joined: Tue Oct 07, 2008 11:27 am
Posts: 21
Location: MetOcean - New Zealand
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.


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 12, 2017 10:08 am 
Offline

Joined: Fri Apr 25, 2003 9:22 pm
Posts: 122
Location: USGS
Quote:
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.


@rsoutelino, that would be fantastic! We would excited to collaborate on this! What is the next step?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group