PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

mpirun: How to select dedicated machines ?

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
pekompi



Joined: 15 Nov 2004
Posts: 23

PostPosted: Mon Apr 03, 2006 4:14 am    Post subject: mpirun: How to select dedicated machines ? Reply with quote

Hi,

I just have successfully installed the PGI pi stuff. Everything is running fine,
but when I just tried the simple myname example, I saw that even if only 4 cores
are used everything is spreaded all over all machines.
But we have 4 node with 8 core's and I want a job to use all local cpu's until
more then 8 cores are used.

How can I do it ?

Bye, Peer
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6213
Location: The Portland Group Inc.

PostPosted: Tue Apr 04, 2006 10:54 pm    Post subject: Reply with quote

Hi Peer,

To clarify, your cluster consists of multiple 4 CPU dual-core systems. However, when you run using "mpirun -np n", the processes are being allocated on each system instead of first being allocated to system 1 and then to system 2 once you've reached the 9th process.

If this is the case, then update your machines file to include the number of CPUs per system or list each system 8 times. For example:
Code:
system1:8
system2:8

or
Code:
system1
system1
system1
system1
...etc


Hope this helps,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group