[mpich-discuss] MPICH2 1.0.6p1 & Windows HPC Server 2008 (bad performance)

Seifer Lin seiferlin at gmail.com
Mon Dec 8 00:46:35 CST 2008

Hi everyone:

I have a cluster of 4 nodes, all of them are with Windows HPC server 2008
I make all of the 4 nodes in the same workgroup. I use MPICH2 1.0.6p1 from
Argonne Lab.
And then
1. firewall of all 4 nodes are turned off
2. UAC (User Account Control) of all 4 nodes are turned off
3. I start smpd.exe (1.0.6p1 x64) in all the 4 nodes

And I run a very simple MPI program (test_mpich2.exe)

#include "mpi.h"
#include <iostream>
int main(int argc, char **argv)
    int cpuid, ncpu;
    MPI_Init(&argc, &argv);
    MPI_Comm_size(MPI_COMM_WORLD, &ncpu);
    MPI_Comm_rank(MPI_COMM_WORLD, &cpuid);
    printf("NCPU:%d, CPUID:%d\n", ncpu, cpuid);
    printf("start barrier\n"); fflush(stdout);
    printf("end barrier\n"); fflush(stdout);
    return 0;

The command is
mpiexec -hosts 2

And the MPI_Barrier(...) function costs 10 seconds to return !!!!!

If the same code is running on a Windows XP cluster, MPI_Barrier(...)
returns at once!

Does anyone know how to solve this problem on Windows HPC Server 2008 ?
(Windows Vista has the same problem, too)


Seifer Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20081208/2b78e5bf/attachment.htm>

More information about the mpich-discuss mailing list