CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   SimpleFoam Parallel-Processing in multiple PCs (https://www.cfd-online.com/Forums/openfoam-solving/190727-simplefoam-parallel-processing-multiple-pcs.html)

OpenFoamlove July 20, 2017 17:44

SimpleFoam Parallel-Processing in multiple PCs
 
Hello friends,
since long time I have been trying to run CFD-Simulation parallel in Network in multiple PCs. But I have not got sucess yet. I am using OpenFoam version 2.0. I am suprised if it lies on the version. Can anybody please help or suggest how can I run parallel processing in network in multiple PC? It is very important and for each and every suggestion and help I would be very thankful.:)

OpenFoamlove July 21, 2017 02:05

Can anybody please help me ?


Sent from my iPhone using CFD Online Forum mobile app

hxaxtma July 21, 2017 05:11

see here,
https://www.cfd-online.com/Forums/op...tml#post365693

1.) ssh passwordless forwarding to every node must be confirmed
2.) Mount your case folder on every machine
3.) Setup up machinFile to your needs
4.) decompose by setting root dirs
5.) run OpenFOAM with --hostfile in parallel

OpenFoamlove July 21, 2017 08:09

Hi hxaxtma,
thank you so much for your quick reply. I tried the instruction you recommend me as far I could understand it but I am not sure if it is working in my network.

I tried both with the following command in the terminal:

Code:

foamJob -s -p simpleFoam
&

Code:

mpirun -v -hostfile machines -np 4 simpleFoam -parallel
But unfortunately for the both commands my simulation doesnot run. Neither an error is shown in the terminal. After those commands I got following output in the terminal:

Code:

/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.1.1                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.1.1-221db2718bbb
Exec  : simpleFoam -parallel
Date  : Jul 21 2017
Time  : 14:04:54
Host  : "Ofloh"
PID    : 26400
Case  : /disk1/Ofloh/Ahmed-body/copy
nProcs : 4
Slaves :
3
(
"Ofloh.26401"
"linux-28.17347"
"linux-28.17348"
)

Pstream initialized with:
    floatTransfer    : 0
    nProcsSimpleSum  : 0
    commsType        : nonBlocking
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

after this it does not go further.

I am a beginner in Openfoam Please help me with it.

with regards

OpenFoamlove July 22, 2017 23:40

Hello guys, please somebody help me [emoji57][emoji57][emoji57]


Sent from my iPhone using CFD Online Forum mobile app

OpenFoamlove July 25, 2017 00:30

Guys nobody have any idea concerning my problem with parallel processing?


Sent from my iPhone using CFD Online Forum mobile app

wyldckat August 27, 2017 10:22

Quick answer: I don't know if you have managed to find the solution to your problem, but if you haven't, I don't know if have tried studying the solutions and tips given here:
Quote:

MPI related issues:

hokhay September 1, 2017 13:59

Quote:

Originally Posted by OpenFoamlove (Post 657846)
Hello friends,
since long time I have been trying to run CFD-Simulation parallel in Network in multiple PCs. But I have not got sucess yet. I am using OpenFoam version 2.0. I am suprised if it lies on the version. Can anybody please help or suggest how can I run parallel processing in network in multiple PC? It is very important and for each and every suggestion and help I would be very thankful.:)

Can you provide more information about how you connect the PCs together? Are they all connect to a single switch under same network?

Sent from my LG-H818 using CFD Online Forum mobile app


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