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

PostChannel

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2007, 11:32
Default postChannel does not work in p
  #1
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
postChannel does not work in parallel.

This may not be critical if you postprocess your field after writing and reconstructing them but for long simulations (24 hr physical time), one needs to write the space averaged field every sampling period which does not take lots of storage. It is prohibitive to write the fields every such interval, use reconstructPar then the serial postChannel especially if you run on a computer cluster that is not administrated by you (nation-wide cluster, typically the case). I wrote a motivation for integrating postChannel with channelOodles in the thread. I also wrote some thread more than one year ago about that. At that time the feature was not critical since I was not running such long simulations and I had a tera byte storage of my own. The only obstacle is to make postchannel work in parallel, then integrating it into the solver is easier. Please feel free to criticize the necessity of such feature and I can provide solid examples.

Best regards,
Maka.
maka is offline   Reply With Quote

Old   August 19, 2007, 11:59
Default postChannel not running in par
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
postChannel not running in parallel is not a bug it's a feature although the -parallel option should be disabled and I will fix that.

Rewriting postChannel to run in parallel is non-trivial and not high priority. If you need this feature urgently and are unable to do the necessary coding yourself you might want to consider sponsoring OpenCFD to write it for you.
henry is offline   Reply With Quote

Old   April 21, 2009, 10:24
Default memory leak
  #3
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
Hi!
running valgrind --tool=memcheck postChannel . channel395 with OF V1.3
generated memory leak errors among others.


==27732== Conditional jump or move depends on uninitialised value(s)
==27732==
==27732== ERROR SUMMARY: 108 errors from 1 contexts (suppressed: 5 from 2)
==27732== malloc/free: in use at exit: 126,554 bytes in 1,620 blocks.
==27732== malloc/free: 219,817 allocs, 218,197 frees, 67,990,035 bytes allocated.
==27732== For counts of detected errors, rerun with: -v
==27732== searching for pointers to 1,620 not-freed blocks.
==27732== checked 906,648 bytes.
==27732==
==27732== LEAK SUMMARY:
==27732== definitely lost: 0 bytes in 0 blocks.
==27732== possibly lost: 18,618 bytes in 444 blocks.
==27732== still reachable: 107,936 bytes in 1,176 blocks.
==27732== suppressed: 0 bytes in 0 blocks.
==27732== Reachable blocks (those to which a pointer was found) are not shown.
==27732== To see them, rerun with: --show-reachable=yes
Thanks,

Best regard,
Maka.
maka is offline   Reply With Quote

Old   April 21, 2009, 13:03
Default related post.
  #4
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
This could be related to post http://www.cfd-online.com/Forums/ope...tml#post207719
but I could not locate Henry post on 28 June 2006.
maka is offline   Reply With Quote

Old   April 21, 2009, 15:14
Default
  #5
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
You might want to switch to 1.5.x. Its postChannel it greatly improved and does run in parallel. Please let us know if there are memory errors in that.
mattijs is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
PostChannel in parallel maka OpenFOAM Post-Processing 2 November 5, 2015 00:05
PostChannel utility not working in OpenFoam 15 nishant_hull OpenFOAM Running, Solving & CFD 15 January 18, 2012 06:26
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 10:15
PostChannel Utility in openfoam15 not working nishant_hull OpenFOAM Bugs 0 August 14, 2008 16:49
Parallel postChannel from within channelOodles for DNS and LES maka OpenFOAM Running, Solving & CFD 1 February 18, 2008 14:08


All times are GMT -4. The time now is 09:57.