[Wrf-users] mpiexec: failed to obtain sock from manager
Andrew Peace
a.peace at auckland.ac.nz
Mon Sep 24 19:51:49 MDT 2007
Hi
I only run MM5 with MPICH, but the same principles hold for running other
programs with MPICH. You need to use a 'machine file' to tell MPICH how many
processes to run on each computer. In your case it would be a two line file,
something like this:
cs-room443-d01:4
cs-room443-d02:4
If you called the machine file 'mf', then to run 'hostname', you would call
mpiexec like this:
$ mpiexec -l -machinefile mf -n 8 /bin/hostname
See the section "Running programs" in user.pdf in the MPICH doc directory for
more info on machine files.
I hope this helps.
Andrew Peace
Department of Physics
The Univessity of Auckland
New Zealand
On Tuesday 25 September 2007 05:30, Gerardo De Jesus Montoya Gaviria wrote:
> We are trying to run the WRF model in a cluster of two intel machines (each
> one with two dual core procesors x86_64) under linux fedora 6. We can run
> succesfully the model in one machine with 4 nodes (two dual core 2x
> processor), Using MPICH2 2-1.0.5p4 with PGI version 7.0.7. However, when
> we run the same model in the cluster, Mpich 2 only recognizes two
> processors (one per machine) as it is shown by the comands: mpdtrace,
> mpdringtest and mpiexec.
>
>
> [administrador at cs-room443-d01 Paquetes]$ mpdtrace
> cs-room443-d01
> cs-room443-d02
>
> [administrador at cs-room443-d01 Paquetes]$ mpdringtest
> time for 1 loops = 0.000850915908813 seconds
>
> [administrador at cs-room443-d01 Paquetes]$ mpiexec -l -n 1 /bin/hostname
> 0: cs-room443-d01
>
> [administrador at cs-room443-d01 Paquetes]$ mpiexec -l -n 2 /bin/hostname
> 0: cs-room443-d01
> 1: cs-room443-d02
>
> [administrador at cs-room443-d01 Paquetes]$ mpiexec -l -n 3 /bin/hostname
> mpiexec_cs-room443-d01 (mpiexec 425): mpiexec: failed to obtain sock from
> manager
>
>
> is there any way to configure mpich for our cluster with 8 nodes?. Any
> suggestion will be helpful.
>
> Thanks.
>
> Gerardo Montoya
> Full professor
> National Unversity of Colombia.
>
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
More information about the Wrf-users
mailing list