CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[Other] Multiple users using same docker?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By matejfor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2018, 19:32
Default Multiple users using same docker?
  #1
New Member
 
D.Evans
Join Date: Jun 2018
Posts: 2
Rep Power: 0
Void is on a distinguished road
Good evening everyone. First day using OpenFOAM and I'm afraid I already have some silly questions.

We want to start exploring OpenFOAM in my company and for that reason the IT people set up a virtual machine using CenTOS 7.x and a dockers installation. From this point we, non-IT experts, will manage the system. In the future, if everything goes fine we expect to scale the system.

So, first basic doubts:

  1. Is it possible that multiple regular users make use of the same docker through SSH? Anything special required? So far I've read that you can mount any folder of the host machine into the docker, but I'm not sure if the docker itself will recognize the host users, or if we have to create new ones inside it. To me, it looks like a virtual machine.
  2. After a lot of pain and struggling, I manage to compile OpenFOAM natively (haven't tried it yet) but the more I think about it, the more I prefer the docker option for portability, stability and ease of use. Of course this option has the big advantage that every normal user can run OpenFOAM without any special configuration.
  3. For future expansion, which option (docker/native) offers more control or easier control over different simulations performed at the same time? (CPU/RAM limits per user/simulation, queues...)

Regards and thanks for your time.

Last edited by Void; June 8, 2018 at 04:56.
Void is offline   Reply With Quote

Old   June 8, 2018, 06:35
Default
  #2
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
Hi,

1) it is possible. You need, however to isolate the users somehow. There are several methods how to approach this. System nice way is to use http://singularity.lbl.gov , darker easier way is to follow this: https://askubuntu.com/questions/9397...multiple-users where you need to change the script with witch you are accessing the container.

2) I would personally opt for a compilation. If you feel you are facing troubles, you could use Spack. you only need to install it and call a command which will download and install OpenFOAM and all the necessary libs. Just follow the instructions from here:https://www.openfoam.com/releases/op...hp#build-spack

happy foaming
Matej
elvis likes this.
matejfor is offline   Reply With Quote

Old   June 13, 2018, 14:43
Default
  #3
New Member
 
D.Evans
Join Date: Jun 2018
Posts: 2
Rep Power: 0
Void is on a distinguished road
Thank you very much for the detailed answer, Matej.


OpenFoam+Paraview manually compiled now and working fine but definitely I'll try Spack as soon as possible. It sounds really promising.

Regards
Void is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker rt08 OpenFOAM Installation 1 February 28, 2016 20:00
Error in run Batch file saba1366 CFX 4 February 10, 2013 02:15
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21
OF installation for multiple users mirko OpenFOAM Installation 0 June 24, 2010 11:52


All times are GMT -4. The time now is 13:47.