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

Parallel execution of OpenFOAM simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2024, 05:34
Default Parallel execution of OpenFOAM simulation
  #1
New Member
 
Join Date: Mar 2024
Posts: 10
Rep Power: 2
ncl94 is on a distinguished road
Dear foarmers,


I am having a problem to execute openfoam solver in parallel using mpirun. In my private laptop, I have a single network with multiple cores (8), hence using the command mpirun is not a problem and the simulation runs in parallel smoothly. However, when I try to run in my university's server which is composed of multiple nodes, communication issues arise and the simulation gets stuck before start printing the output of each step. I believe the problem is because the server has several networks and it becomes an issue for mpirun to handle the parallelization. Any ideas on how to run OF in parallel for such cases?


Best,



PS: different parallelization methods (scotch, simple, etc...) gave me the same problem.
ncl94 is offline   Reply With Quote

Old   July 5, 2024, 04:15
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,169
Rep Power: 27
Yann will become famous soon enough
Hello,

One way to deal with multiple nodes would be something like this, lets say running 128 cores on 2 nodes:

Code:
mpirun -np 128 -H node1:64,node2:64 yourSolver -parallel
But this really depends on how your university network/server is configured and managed.
You should probably ask to your University IT department, because we don't know how your university server works, and how you are supposed to start a job on it. They might use a job scheduler such as SLURM or other.
ncl94 likes this.
Yann is offline   Reply With Quote

Reply

Tags
#parallel #mpi #mpirun


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
Simulation failed; Parallel computing in OpenFOAM hazem1 OpenFOAM Bugs 5 July 22, 2024 23:06
Problem with Parallel simulation in OpenFoam v9 Pawan Yadav OpenFOAM Running, Solving & CFD 0 April 14, 2024 04:09
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
OpenFoam parallel on 2 computers : Cannot find file "points" Blue8655 OpenFOAM Running, Solving & CFD 1 June 3, 2015 21:59
Can not run OpenFOAM in parallel in clusters, help! ripperjack OpenFOAM Running, Solving & CFD 5 May 6, 2014 15:25


All times are GMT -4. The time now is 20:10.