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

Parallel execution of OpenFOAM simulation

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2024, 06: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, 05:15
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,223
Rep Power: 28
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


All times are GMT -4. The time now is 00:56.