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

postProcess in parallel taking too long

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2018, 06:06
Default postProcess in parallel taking too long
  #1
Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 13
Rojj is on a distinguished road
Hi,

Follow-up to Is it possible to avoid reconstructParMesh?


I am now trying to post-process (postProcess -func ....) on the decomposed case with

Code:
mpirun --mca orte_base_help_aggregate 0 -np X postProcess -internalCloud -parallel
internalCloud has around 5,000 points and the mesh is around 29,000,000 cells.

It seems that it is taking far too long. To give you a reference:
  • Cores = 36 (AWS Ubuntu)
  • Sim time = 6.5 hours
  • postProcess = 2.5 hours (so far!!!)

I have checked and all cores are at 100% and the stdout of `postProcess`
is stuck at Create mesh for time XXXX

Do I need to reconstruct the mesh before sampling?

Any suggestion? Thanks!
Rojj is offline   Reply With Quote

Old   February 7, 2018, 15:25
Default
  #2
Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 13
Rojj is on a distinguished road
I have been doing some more testing. For some reasons I cannot run postProcess internalCloud on large cases.

This was my initial approach. On a decomposed and converged case

Code:
mpirun -np X postProcess -func "mag(U)" -latestTime -parallel
mpirun -np X postProcess -func internalCloud -latestTime -parallel
The first calculation completes without problems, but internalCloud hangs.

This works instead

Code:
mpirun -np X postProcess -func "mag(U)" -latestTime -parallel
reconstructPar -latestTime
postProcess -func internalCloud -latestTime
But of course this is serial.

It works, but I don't really understand why.
Rojj is offline   Reply With Quote

Reply


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
Error running simpleFoam in parallel Yuby OpenFOAM Running, Solving & CFD 14 October 7, 2021 04:38
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
Transient Simulation Taking Very Long TIME!!!! Help 88phil88 CFX 17 November 3, 2017 04:07
MPI error in parallel application usv001 OpenFOAM Programming & Development 2 September 14, 2017 11:30
Transient run taking too long time Alexander Tham Keat Fu CFX 3 June 20, 2012 06:53


All times are GMT -4. The time now is 02:17.