|
[Sponsors] |
Case running extremely slow on cluster in parallel mode |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 10, 2021, 04:34 |
Case running extremely slow on cluster in parallel mode
|
#1 |
Member
Venkat Ganesh
Join Date: May 2020
Location: Cincinnati, Ohio
Posts: 49
Rep Power: 6 |
Hello,
This is my first time running openFoam on a cluster and I noticed that my simulation was running much slower on the cluster using multiple processors than on my local PC. I did a scaling analysis by noting down the execution time for around 50 iterations and averaged them (for different processor counts). I noticed that the performance sharply deteriorates after just increasing the processor count to 4. I've attached a photo of the timings and efficiency. For comparison, the execution time is less than a second on my local PC while using 8 cores. A single node on the cluster has 40 processors, and I'd like to make use of the available computing power to speed up my simulation. I'm using scotch method of decomposition and a custom solver based on interFoam. I'm also attaching the case setup. Please let me know what I could change to improve the performance. |
|
November 10, 2021, 05:03 |
|
#2 | |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
Quote:
|
||
November 15, 2021, 11:56 |
|
#3 | |
Member
Venkat Ganesh
Join Date: May 2020
Location: Cincinnati, Ohio
Posts: 49
Rep Power: 6 |
Quote:
I ran all three options for 24 hours and the completed runtimes for the case were 2.5s on single node (40 processors), 2s on 80 processors and 1.9s on 120 processors. While the performance of single node is good enough for my case currently, I'm genuinely curious about the results.
Last edited by Venky_94; November 20, 2021 at 00:30. |
||
August 28, 2024, 20:10 |
Similar Issue
|
#4 |
New Member
Brahmanda
Join Date: Jul 2024
Posts: 2
Rep Power: 0 |
Hi,
I have a similar issue running my simulation case with the icoFOAM solver in parallel mode on the cluster. I used a similar mesh decomposition method, scotch. Here's a small trial and error I did on flow past a cylinder with a mesh count of ~200k: 32 cores (4 nodes), 256GB (64GB per node, 8GB per cpu/task): sim Time = 0.2 took 2927s (dt=0.005) 16 cores (2 nodes), 256GB (128GB per node, 16GB per cpu/task): sim Time = 0.2 took 2571s (dt=0.005) 8 cores (2 nodes), 256GB (128GB per node, 32GB per cpu/task): sim Time = 0.2 took 1285s (dt=0.005) 4 cores (2 nodes), 256GB (128GB per node, 64GB per cpu/task): sim Time = 0.2 took 784s (dt=0.005) 2 cores (2 nodes), 256GB (128GB per node, 128GB per cpu/task): sim Time = 0.2 took 34s (dt=0.005) My trial-and-error cases here suggested that the issue might be related to insufficient memory because increasing memory per CPU helps fasten the simulation. The fact that it is running faster with a small number of processors still puzzles me. One possibility here might be because of an inefficiency that arises in the parallel communication for a case with a small mesh count. However, I tried running several tests with a mesh count of ~3mil and the same issue arises: 72 cores (2 nodes), 288GB (144GB per node, 4GB per cpu/task): Simulation Time = 0.1 failed (not enough memory) (dt=0.005) 4 cores (4 nodes), 256GB (128GB per node, 64GB per cpu/task): Simulation Time = 0.1 took 365s (dt=0.005) The smaller number of processors with large memory assigned per processor still gives a faster run. Has anyone found any hints/solutions to what might be the case with this? I am using the ESI version of OpenFOAM v2212 |
|
Tags |
cluster, parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running parallel case after parallel meshing with snappyHexMesh? | Adam Persson | OpenFOAM Running, Solving & CFD | 0 | August 31, 2015 23:04 |
Fluent 14.0 file not running in parallel mode in cluster | tejakalva | FLUENT | 0 | February 4, 2015 08:02 |
OpenFOAM parallel running error in cluster | vishal_s | OpenFOAM Running, Solving & CFD | 5 | March 11, 2014 16:11 |
Running Error using Compressible OpenFoam Parallel mode | dhendria | OpenFOAM Running, Solving & CFD | 0 | February 13, 2014 21:53 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |