[mpich-discuss] Problem in using wmpiexec.exe in Windows XP

Jayesh Krishna jayesh at mcs.anl.gov
Thu May 20 12:22:45 CDT 2010


Hi,
 First of all, MPICH2 1.0.7 is old. You should upgrade to a newer version of MPICH2 (http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads). I am still confused about the timings mentioned in your email. For example, how is the measurement of 10s different from that of 2s for the 1Gbps n/w.
 Can you also try submitting your job from the command line and see if it helps (mpiexec -n 2 -machinefile mf.txt MYMPIPGM.exe). The latest stable version of MPICH2 should also have the newer nemesis channel that you might want to try out (mpiexec -n 2 -channel nemesis -machinefile mf.txt MYMPIPGM.exe).

Regards,
Jayesh

----- Original Message -----
From: "lhy stony" <lhy2008lx at gmail.com>
To: jayesh at mcs.anl.gov
Sent: Thursday, May 20, 2010 10:51:37 AM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] Problem in using wmpiexec.exe in Windows XP


Hi, Jayesh 
The version of MPICH2 I am using is 1.0.7. I also change the number of the nodes and the other MPI programs, but problem still exists. 
In order to describe the problem clearly, an simpler experiment has been done. 
In this experiment, there are only two nodes working. One is to send an image of which size is 80M, and the other one is to receive the image. The receiving time will be recorded and printed. In my 100Mbps network, it costs nearly 10 seconds to complete the transmission and the printed time is just the same(10 seconds). In my 1Gbps network, it actually costs almost 10 seconds (maybe more) to complete the transmission but the printed time is less than 2 seconds, which is normal for a 1Gbps network. 
It seems that when the 1 Gbps network gets to work, it work normally( the printed time shows that the transmission speed is faster indeed), but it must spend some time to initialize. If so, aren't the 1Gbps network useless in MPI programs? I doubt whether I forget to set up some necessary configuration after I change the network. 

Thanks. 

Regards, 
stonylhy 

2010/5/20 < jayesh at mcs.anl.gov > 


Hi, 
Which version of MPICH2 are you using ? If I understand you correctly, are you saying that your MPI program takes the same amount of time with 100 & 1Gbps n/ws but the MPI program launch environment (MPICH2 runtime initialization etc) takes more time with the 1Gbps n/w ? 
What is the time difference that you see with the two networks ? 
Did you change the number of processes running on the individual nodes when you changed your network (MPI processes running on the same node, MPI processes running across network etc)? 
Does running other MPI programs (eg: c:\program files\MPICH2\examples\cpi.exe) take more time with the 1Gbps network ? 

Regards, 
Jayesh 



----- Original Message ----- 
From: "lhy stony" < lhy2008lx at gmail.com > 
To: "MPICH讨论" < mpich-discuss at mcs.anl.gov > 
Sent: Wednesday, May 19, 2010 8:29:46 PM GMT -06:00 US/Canada Central 
Subject: [mpich-discuss] Problem in using wmpiexec.exe in Windows XP 



Hi, all 
I am using wmpiexec.exe to run my MPI program in windows xp. When I ran the program in a 100Mbps network, everything was OK. But after I improve my network to 1000Mbps, it seems that wmpiexec.exe cost more time to initialize, cause in the first a few seconds, the usage of CPU does not change much which is obviously abnormal according to my program. 
In my program, I use MPI_Wtime to calculate the processing time. The time that printed by my program is correct according to my program, but the actual processing time is much longer. I don't know why and how to fix it. 
Anyone can help me? 
_______________________________________________ 
mpich-discuss mailing list 

mpich-discuss at mcs.anl.gov 
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss 



More information about the mpich-discuss mailing list