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

How to obtain the elapsedCPUTime for each processor

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2013, 08:19
Default How to obtain the elapsedCPUTime for each processor
  #1
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 16
linch is on a distinguished road
Hi Foamers,

does anybody know, how the elapsedCPUTime for each CPU in parallel can be obtained?

Best regards,
Illya
linch is offline   Reply With Quote

Old   August 21, 2013, 07:39
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Illya,

There are 3 important details, at least as far as I can remember:
  1. You'll have to use a customized solver.
  2. Quote:
    Originally Posted by mfmohdyasin View Post
    Just figured out that I supposed to use "Pout" instead of "Info" to get output from each processor.
  3. And this part I haven't confirmed yet, but I think it should work:
    Code:
    Pout << "Elapsed CPU time for processor " << Pstream::myProcNo() << ": " << runTime.elapsedCpuTime() << endl;
Best regards,
Bruno
__________________
wyldckat 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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 05:13
decomposePar pointfield flying OpenFOAM Running, Solving & CFD 28 December 30, 2013 16:05
AMI interDyMFoam for mixer danny123 OpenFOAM Running, Solving & CFD 4 June 19, 2013 05:49
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 10:01
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 11:37


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