[mpich-discuss] problem of recognizing processors

Rajeev Thakur thakur at mcs.anl.gov
Tue May 26 01:02:59 CDT 2009


Make sure that all those executables have been compiled with the mpif90
(or mpif77 or mpicc) scripts from the same MPICH2 installation that you
are running mpiexec from. Also make sure there are no mpif.h files in
the application's source directories that belong to some other MPI
implementation.
 
Rajeev


  _____  

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of ???
Sent: Tuesday, May 26, 2009 12:54 AM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] problem of recognizing processors



Dear Sir,

 I think that there is something wrong in my mpich2 setting. My
workstation is a cluster which includes 1 node for log-in and 4 nodes
for calculation. Each node has 2 cpus. Log-in node is not used for
calculating. But I think that my mpich2 environment doesn't recognize
all cpus on calculation nodes. A result of "mpdtrace -l" is as below

[kyu99 at cas01 4dvar]$ mpdtrace -l
cas01_39485 (193.168.100.31)
cas02_35456 (193.168.100.32)
cas03_38213 (193.168.100.33)
cas04_32920 (193.168.100.34)

 The result of "mpdtrace" seems to recognize all calcuation nodes. But,
when specific executables run, the result is like this :

[kyu99 at cas01 4dvar]$ mpiexec -n 2 da_wrfvar.exe : -n 4 ad/wrfplus.exe :
-n 2 nl/wrf.exe 
starting wrf task 0 of 1
starting wrf task 0 of 1
starting wrf task 0 of 1
starting wrf task 0 of 1
starting wrf task 0 of 1
starting wrf task 0 of 1
starting wrf task 0 of 1
starting wrf task 0 of 1

 I think that this message means that my mpich2 uses only 1 processor.
Is it right? If my thought is right, how can I fix this problem? Please
let me know how to fix it. Thank you!!

Best regards, 

NK Noh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090526/0efe57dd/attachment.htm>


More information about the mpich-discuss mailing list