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

SimpleFoam Parallel-Processing in multiple PCs

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hxaxtma

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2017, 18:44
Default SimpleFoam Parallel-Processing in multiple PCs
  #1
New Member
 
Join Date: Jul 2017
Posts: 10
Rep Power: 9
OpenFoamlove is on a distinguished road
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 is offline   Reply With Quote

Old   July 21, 2017, 03:05
Default
  #2
New Member
 
Join Date: Jul 2017
Posts: 10
Rep Power: 9
OpenFoamlove is on a distinguished road
Can anybody please help me ?


Sent from my iPhone using CFD Online Forum mobile app
OpenFoamlove is offline   Reply With Quote

Old   July 21, 2017, 06:11
Default
  #3
Senior Member
 
Join Date: Jan 2014
Posts: 179
Rep Power: 12
hxaxtma is on a distinguished road
see here,
Running Foam on multiple nodes (small cluster)

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 likes this.
hxaxtma is offline   Reply With Quote

Old   July 21, 2017, 09:09
Default
  #4
New Member
 
Join Date: Jul 2017
Posts: 10
Rep Power: 9
OpenFoamlove is on a distinguished road
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

Last edited by wyldckat; August 27, 2017 at 11:17. Reason: Added [CODE][/CODE] markers
OpenFoamlove is offline   Reply With Quote

Old   July 23, 2017, 00:40
Default
  #5
New Member
 
Join Date: Jul 2017
Posts: 10
Rep Power: 9
OpenFoamlove is on a distinguished road
Hello guys, please somebody help me


Sent from my iPhone using CFD Online Forum mobile app
OpenFoamlove is offline   Reply With Quote

Old   July 25, 2017, 01:30
Default
  #6
New Member
 
Join Date: Jul 2017
Posts: 10
Rep Power: 9
OpenFoamlove is on a distinguished road
Guys nobody have any idea concerning my problem with parallel processing?


Sent from my iPhone using CFD Online Forum mobile app
OpenFoamlove is offline   Reply With Quote

Old   August 27, 2017, 11:22
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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:
__________________
wyldckat is offline   Reply With Quote

Old   September 1, 2017, 14:59
Default
  #8
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 12
hokhay is on a distinguished road
Quote:
Originally Posted by OpenFoamlove View Post
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
hokhay is offline   Reply With Quote

Reply

Tags
cfd, openfoam 2.0.1, openfoam 3.0, parallel computaion, pre-proccessing


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
SimpleFoam run in Parallel issue! tareqkh OpenFOAM Running, Solving & CFD 6 January 1, 2018 19:07
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45
DEFINE_ZONE_MOTION in 3D parallel processing LoUcAsss Fluent UDF and Scheme Programming 4 June 24, 2014 17:00
parallel processing time+reconstruct time<serial processing?! immortality OpenFOAM 8 August 13, 2013 10:15
simpleFoam in parallel issue plucas OpenFOAM Running, Solving & CFD 3 July 17, 2013 12:30


All times are GMT -4. The time now is 12:46.