[mpich-discuss] Compiling mpich2 using Intel Fortran Compiler v12

O'Sullivan, Niall (HMRC) n.osullivan at ucc.ie
Thu May 3 03:38:54 CDT 2012


Thank you all for your responses.

The installer guide instructions in section 2.2 were followed and
completed up as far as which mpicc and which mpiexec, these outputs as
follows:

which mpicc
/home/hmrc/mpich2-install/bin/mpicc
which mpiexec
/home/hmrc/mpich2-install/bin/mpiexec

The installation is on a single PC so steps 9 and 10 were skipped.

An error arose in response to step 11 after entering the command mpiexec
-n 5 -f machinefile ./examples/cpi, see below:

hmrc at linuxadmin-Vostro-3550:/tmp/hmrc/mpich2-1.4.1p1$ mpiexec -n 5 -f
machinefile ./examples/cpi

[mpiexec at linuxadmin-Vostro-3550] HYDU_parse_hostfile
(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/utils/args/args.c:303):
unable to open host file: machinefile
[mpiexec at linuxadmin-Vostro-3550] mfile_fn
(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/ui/mpich/utils.c:223):
error parsing hostfile
[mpiexec at linuxadmin-Vostro-3550] match_arg
(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/utils/args/args.c:115):
match handler returned error
[mpiexec at linuxadmin-Vostro-3550] HYDU_parse_array
(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/utils/args/args.c:140):
argument matching returned error
[mpiexec at linuxadmin-Vostro-3550] parse_args
(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/ui/mpich/utils.c:1387):
error parsing input array
[mpiexec at linuxadmin-Vostro-3550] HYD_uii_mpx_get_parameters
(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/ui/mpich/utils.c:1438):
unable to parse user arguments

The various directories and commands used during the installation are as
follows:

files unpacked to : /home/hmrc/Mpich2/mpich2-1.4.1p1
installation directory : /home/hmrc/mpich2-install
build directory : /tmp/hmrc/mpich2-1.4.1p1

configure command : /home/hmrc/Mpich2/mpich2-1.4.1p1/configure
--prefix=/home/hmrc/mpich2-install |& tee c.txt F77=ifort FC=ifort
build mpich2: make 2>&1 | tee m.txt
install mpich2 commands: make install 2>&1 | tee mi.txt
add bin subdirectory to path: PATH=/home/hmrc/mpich2-install/bin:$PATH ;
export PATH

All of these completed without error until an attempt was made to run an
MPI job with mpiexec, see details above.

Any suggestions appreciated.

Best regards,
Niall O'Sullivan





More information about the mpich-discuss mailing list