PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

machine file for MPICH-GM
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Sandip



Joined: 08 Feb 2006
Posts: 8

PostPosted: Sat Feb 18, 2006 11:16 am    Post subject: machine file for MPICH-GM Reply with quote

Hi,

Does anyone can tell me how to use the machine file in MPICH-GM ?
MPICH-GM is not under my home directory. It is under, /opt/mpich-gm.
I was specifying m/c file names under :
/opt/mpich-gm/share/machines.ch_gm.LINUX. Am I right ?

Do I need MPICH-GM under my home directory?

Thanks
Sandip
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Feb 20, 2006 2:51 pm    Post subject: Reply with quote

Hi Sandip,

If you do not specify the machine name then the default would be to use /opt/mpich-gm/share/machines.ch_gm.LINUX. However, a machine file name could be anything and put in any directory. To specify a machine file other than the default, at runtime add the mpirun flag "-machinefile <file>" where <file> is your machine file name. The Myricom README-mpich-gm might help if you need help on creating a machine file.

Is there a specific error you're encountering?

- Mat
Back to top
View user's profile
Sandip



Joined: 08 Feb 2006
Posts: 8

PostPosted: Thu Feb 23, 2006 9:35 am    Post subject: 32 bit vs 64 bit Reply with quote

Hi Mat,

Thanks for your suggestion. Earlier I mixed up with 32 and 64 bit machines.
I've one more question,
I wish to run my code both on 32 bit and 64 bit machins. I've compiled my code on both types of architecture (32 and 64 bits) and I've two types of ouput binaries (32 bit and 64 bit).
I'm using MPICH-GM with pgf90 compiler.
Is the mpirun command same for both types of architecture ? I'm using mpirun.ch_gm for 32 bits.
Thanks.

Sandip
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Feb 23, 2006 10:31 am    Post subject: Reply with quote

Hi Sandip,

I believe it shouldn't matter which mpirun you use since the script simply launches your application. However, users sometimes will wrap their executable in a script which sets evironment varaibles, such as LD_LIBRARY_PATH. If you do this, then be sure the correct environment is used for each binary.

- Mat
Back to top
View user's profile
Sandip



Joined: 08 Feb 2006
Posts: 8

PostPosted: Fri Feb 24, 2006 12:11 pm    Post subject: Reply with quote

Mat,
Since I'm using MPICH_GM, should I use mpi.h as lib file or is there a different lib file for MPICH_GM?
Am I doing something wrong?

Thanks.
Sandip
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
Goto page 1, 2, 3  Next
Page 1 of 3

 
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