CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

How to improve CPU utility when program with mpi?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2006, 23:00
Default How to improve CPU utility when program with mpi?
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, 10:24
Default Re: How to improve CPU utility when program with m
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.



  Reply With Quote


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