|
[Sponsors] |
July 1, 2024, 06:34 |
Parallel execution of OpenFOAM simulation
|
#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. |
|
July 5, 2024, 05:15 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,223
Rep Power: 28 |
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 Tools | Search this Thread |
Display Modes | |
|
|
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 |