|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Mar 2024
Posts: 10
Rep Power: 2 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,169
Rep Power: 27 ![]() |
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 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. |
|
![]() |
![]() |
![]() |
Tags |
#parallel #mpi #mpirun |
|
|
![]() |
||||
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 |