CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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 Display Modes
Old   August 20, 2013, 07:19
Default How to obtain the elapsedCPUTime for each processor
  #1
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 174
Rep Power: 7
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, 06:39
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 04:49
AMI speed performance danny123 OpenFOAM 19 October 24, 2012 07:44
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37


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