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

OpenFOAM mpirun all messed up and auto reconstructPar

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2017, 19:20
Default OpenFOAM mpirun all messed up and auto reconstructPar
  #1
Senior Member
 
Join Date: Jun 2016
Posts: 102
Rep Power: 10
xuegy is on a distinguished road
Hello all,

I compiled an own OpenFOAM solver. It was running perfectly. But from yesterday everything goes strange. mpirun just output all messages for 8 times, and they are disordered. But the simulation result looks good. Single-threaded result has no problem at all.

And the most strange thing is it will auto reconstructPar after the mpirun is finished. This is really creepy. I compiled my OpenFOAM again but still the same problem. This even happens in all built-in solvers.

Anyone has met this before? If there's no solution I have reinstall Ubuntu.

Attachment is the log.
log.txt
xuegy is offline   Reply With Quote

Old   May 31, 2017, 07:57
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
Very likely, you did not use the -parallel option with the solver, e.g.
Code:
mpirun -np 8 simpleFoam -parallel
If you forgot it, you just executed your solver eight times as serial solver. Therefore, you also got the "auto reconstructPar", because (actually) all solvers wrote the same (full) result files in the timestep directories.
jherb 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



All times are GMT -4. The time now is 21:14.