how to specify hosts to mpiexec? -machinefile doesn't work
Karl Zeilinger
zkarl at live.com
Tue Sep 2 06:10:37 CDT 2008
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