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

Parallel Info

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2012, 06:26
Default Parallel Info
  #1
New Member
 
Join Date: Sep 2010
Posts: 7
Rep Power: 15
guest1044 is on a distinguished road
Hey everyone!
I'm running a self-made solver in parallel and would like to see some interim results in the terminal. Is there a way of using a parallel-Info, so that the output of all processors is written?
Thanks in advance!
guest1044 is offline   Reply With Quote

Old   January 26, 2012, 19:06
Default
  #2
Member
 
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17
cliffoi is on a distinguished road
If you use Warning instead of Info, then all CPUs will write to the terminal.
Code:
Warning << "blah blah" << endl;
cliffoi is offline   Reply With Quote

Old   January 27, 2012, 15:46
Default
  #3
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Or also you can use Pout:
Code:
Pout << "blah blah" << endl;
Philip
bigphil is offline   Reply With Quote

Old   January 28, 2012, 10:49
Default
  #4
New Member
 
Join Date: Sep 2010
Posts: 7
Rep Power: 15
guest1044 is on a distinguished road
Thanks a lot for the replies!!
guest1044 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
Script to Run Parallel Jobs in Rocks Cluster asaha OpenFOAM Running, Solving & CFD 12 July 4, 2012 22:51
Parallel efficiency and speedup info lakeat OpenFOAM Running, Solving & CFD 2 August 31, 2009 11:05
OpenFOAM with Cygwin kitchener OpenFOAM Installation 6 April 24, 2006 23:09
want info. of progress in parallel CFD Hanson Yuan Main CFD Forum 1 June 7, 2003 21:21
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 12:00


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