how to specify hosts to mpiexec? -machinefile doesn't work

Farshid Mossaiby mossaiby at yahoo.com
Tue Sep 2 06:39:40 CDT 2008


Hi,

I think you should add --download-mpich-pm=mpd and maybe also --download-mpich-device=<from mpich2 docs>. Try running ./config/configure.py --help for more description.

Hope this helps,

Best regards,
Farshid Mossaiby


--- On Tue, 9/2/08, Karl Zeilinger <zkarl at live.com> wrote:

> From: Karl Zeilinger <zkarl at live.com>
> Subject: how to specify hosts to mpiexec? -machinefile doesn't work
> To: petsc-users at mcs.anl.gov
> Date: Tuesday, September 2, 2008, 3:40 PM
> Hello,
> I have installed PETSc with the following commands from the
> installation documentation on the website, downloading a
> local mpich installation:
> >export PETSC_DIR=$PWD
> >./config/configure.py --with-cc=gcc --with-fc=g77
> --download-f-blas-lapack=1 --download-mpich=1
> >make all test
> 
> A first test with a modified ex2.c from the tutorials
> ("mpiexec -np 4  ./ex2") was successful, but
> showed that all processes run on the local host, as no
> machine file is given.
> 
> Trying to run:
> >mpiexec -np 4 -machinefile
> /opt/mpich/share/machines.LINUX ./ex2
> produces this error:
> >invalid mpiexec argument -machinefile
> >Usage: mpiexec -usize  -maxtime  -exitinfo -l\
> >               -n  -soft  -host  \
> > ...
> 
> How can I specify the hosts which the mpich (downloaded
> during the PETSc installation) is supposed to use?
> 
> Thanks
> Karl
> 
> _________________________________________________________________
> Explore the seven wonders of the world
> http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE


      




More information about the petsc-users mailing list