[mpich2-dev] Issue getting attribute UNIVERSE_SIZE in singleton mode

Lisandro Dalcin dalcinl at gmail.com
Tue Aug 10 10:52:41 CDT 2010


I'm testing mpich2 trunk (svn updated about one hour agoo) with my
Python wrappers (mpi4py) .

$ mpich2version
MPICH2 Version:    	1.3b1
MPICH2 Release date:	Unknown, built on Fri Aug  6 17:05:56 ART 2010
MPICH2 Device:    	ch3:nemesis
MPICH2 configure: 	--prefix=/usr/local/mpich2/dev CFLAGS=-fPIC
--enable-sharedlibs=gcc --enable-g=all
MPICH2 CC: 	gcc -fPIC   -g -O2
MPICH2 CXX: 	c++   -g -O2
MPICH2 F77: 	gfortran   -g -O2
MPICH2 FC: 	f95   -g -O2


See this:

$ cat usize.py
from mpi4py import MPI
print MPI.COMM_WORLD.Get_attr(MPI.UNIVERSE_SIZE)

$ mpiexec -n 1 python usize.py
None

So far, so good ('None' means that the attribute was not found,
MPI_Comm_get_attr(...,&flag) returned flag=0).

However, if I run the script as a singleton (I mean, not under mpiexec control):

$ python usize.py
[mpiexec at trantor] match_arg (./utils/args/args.c:122): unrecognized
argument pmi_args
[mpiexec at trantor] HYDU_parse_array (./utils/args/args.c:140): argument
matching returned error
[mpiexec at trantor] HYD_uii_mpx_get_parameters
(./ui/mpich/utils.c:1016): error parsing input array

Usage: ./mpiexec [global opts] [exec1 local opts] : [exec2 local opts] : ...
...
<more mpiexec help output>
...
<hang>



-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169


More information about the mpich2-dev mailing list