CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

How to improve CPU utility when program with mpi?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 7, 2006, 22:00
Default How to improve CPU utility when program with mpi?
  #1
leaf
Guest
 
Posts: n/a
My CPU utility is about 5% under windows XP sp2 environment on 4 computers. Memory of each computer is 1GB. To enchance CPU utilization, what should be noticed when programming with mpi?
  Reply With Quote

Old   May 8, 2006, 09:24
Default Re: How to improve CPU utility when program with m
  #2
Renato.
Guest
 
Posts: n/a
Probably your program has been stalling in some MPI communication waiting some feedback from other processes. It can be also due unbalanced processes. For a good starting point, it would be useful to measure the wall time spent in each routine to see where your bottleneck is. You can easily do it issuing MPI_WTIME callings (or cpu_time if you're working in Fortran) before and after your routines and accumulating and printing the time spent.

Cheers

Renato.

  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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Sgimpi pere OpenFOAM 27 September 24, 2011 07:57
Error using LaunderGibsonRSTM on SGI ALTIX 4700 jaswi OpenFOAM 2 April 29, 2008 10:54
Is Testsuite on the way or not lakeat OpenFOAM Installation 6 April 28, 2008 11:12
OpenFOAM 13 Intel quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 13 February 5, 2008 06:26


All times are GMT -4. The time now is 16:23.