CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

parallel

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hiaselhans

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2019, 06:49
Default parallel
  #1
New Member
 
Join Date: Feb 2019
Posts: 23
Rep Power: 7
dolfus is on a distinguished road
Hello foamers,


I'm trying to run a case in parallel in a single machine wich has installed centOS 7 with 4 processors. BlockMesh it's okay but when running
Code:
mpirun -np 4 interFoam -parallel
an error shows up:


Code:
The value of the MCA parameter "plm_rsh_agent" was set to a path
that could not be found:

  plm_rsh_agent: ssh : rsh

Please either unset the parameter, or check that the path is correct
I've been triying to fix it, changing the vaule of the mca parameter but the error persists. I guess maybe it has something to do with docker, I'm not pretty sure.


Hope you could help me,


Regards.
dolfus is offline   Reply With Quote

Old   February 10, 2019, 12:08
Default
  #2
New Member
 
Join Date: Jan 2014
Posts: 9
Rep Power: 12
hiaselhans is on a distinguished road
Hi Dofus,


i had the same problem and ended up using openfoam5-linux.

the problem tells that openssh_client is missing.
you can install openssh_client in your container like this:


Code:
sudo openfoam6-linux
apt update
apt install openssh_client
then, from another terminal get the container id or name with


Code:
[simon@simonpc ~]$ docker ps
 CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS              PORTS               NAMES
50e05c988d80        openfoam/openfoam6-paraview56   "/bin/sh -c '/bin/sh…"   5 minutes ago       Up 5 minutes                            inspiring_stonebraker

[simon@simonpc ~]$ docker commit inspiring_stonebraker openfoam/openfoam6-paraview56
by this it should be installed in the image when you run "openfoam6-linux"
It solved that issue for me but still my logs are spammed with a lot of "Read -1, expected XXX" and i run cases either in foam5 or not parallel.


i opened a bug report here:
https://bugs.openfoam.org/view.php?id=3163


let me know what is your result..


peace
hiaselhans is offline   Reply With Quote

Old   February 18, 2019, 11:30
Default
  #3
New Member
 
Join Date: Feb 2019
Posts: 23
Rep Power: 7
dolfus is on a distinguished road
Thank you for your prompt reply. Unfortunately it didn't solve the problem so i ended up installing ubuntu server instead of centOS.
dolfus is offline   Reply With Quote

Old   February 19, 2019, 04:09
Default
  #4
New Member
 
Join Date: Jan 2014
Posts: 9
Rep Power: 12
hiaselhans is on a distinguished road
Hi Dolfus,


it seems the issue has been resolved:
https://bugs.openfoam.org/view.php?id=3163


i just did a "docker pull openfoam/openfoam6-paraview56" and i'm runnning fine now with no bugs.


peace!
Simon
dokeun likes this.
hiaselhans is offline   Reply With Quote

Old   April 20, 2019, 13:33
Default
  #5
Member
 
Dokeun, Hwang
Join Date: Apr 2010
Location: Korea, Republic of
Posts: 98
Rep Power: 16
dokeun is on a distinguished road
Hello there
I'm using OpenFoam-dev-parpaview56 in docker and I got the same log message.
So I ran the command 'docker pull openfoam/openfoam-dev-paraview56' but the same errors I got.
After searching for the answer, I found a thread that seems to be a solution but I can't understand their words especially last ones.
Would you please let me know what means and how to "Update dockerfile for MPI (required by gmsh) " in attached image and url below
https://github.com/open-mpi/ompi/issues/3625
Sincerely yours.
Code:
--------------------------------------------------------------------------
The value of the MCA parameter "plm_rsh_agent" was set to a path
that could not be found:

  plm_rsh_agent: ssh : rsh

Please either unset the parameter, or check that the path is correct
--------------------------------------------------------------------------
I'd run OpenFOAM by typing 'OpenFoam-dev-macos'.
I changed the method to run by typing 'docker run -i -t <image#> -v <host dir>:<container dir>'
And the problem solved...
Attached Images
File Type: jpg ???? 2019-04-21 ?? 2.25.54.jpg (101.6 KB, 13 views)

Last edited by dokeun; April 21, 2019 at 13:24. Reason: solved
dokeun is offline   Reply With Quote

Reply

Tags
centos 7, docker, openfoam, parallel


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
Error running openfoam in parallel fede32 OpenFOAM Programming & Development 5 October 4, 2018 16:38
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
Explicitly filtered LES saeedi Main CFD Forum 16 October 14, 2015 11:58
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
parallel Grief: BoundaryFields ok in single CPU but NOT in Parallel JR22 OpenFOAM Running, Solving & CFD 2 April 19, 2013 16:49


All times are GMT -4. The time now is 11:25.