|
[Sponsors] |
SimpleFoam Parallel-Processing in multiple PCs |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 20, 2017, 18:44 |
SimpleFoam Parallel-Processing in multiple PCs
|
#1 |
New Member
Join Date: Jul 2017
Posts: 10
Rep Power: 9 |
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. |
|
July 21, 2017, 03:05 |
|
#2 |
New Member
Join Date: Jul 2017
Posts: 10
Rep Power: 9 |
||
July 21, 2017, 06:11 |
|
#3 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
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 |
|
July 21, 2017, 09:09 |
|
#4 |
New Member
Join Date: Jul 2017
Posts: 10
Rep Power: 9 |
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 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 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 |
|
July 23, 2017, 00:40 |
|
#5 |
New Member
Join Date: Jul 2017
Posts: 10
Rep Power: 9 |
||
July 25, 2017, 01:30 |
|
#6 |
New Member
Join Date: Jul 2017
Posts: 10
Rep Power: 9 |
Guys nobody have any idea concerning my problem with parallel processing?
Sent from my iPhone using CFD Online Forum mobile app |
|
August 27, 2017, 11:22 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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:
__________________
|
||
September 1, 2017, 14:59 |
|
#8 | |
Member
Join Date: Nov 2014
Posts: 92
Rep Power: 12 |
Quote:
Sent from my LG-H818 using CFD Online Forum mobile app |
||
Tags |
cfd, openfoam 2.0.1, openfoam 3.0, parallel computaion, pre-proccessing |
|
|
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 |