<div>Do you have file machinefile in your /tmp/hmrc/mpich2-1.4.1p1 ? And what&#39;s inside?</div>
<div>Since you run on one node, you can try  this: mpiexec -n 5 ./examples/cpi<br><br></div>
<div class="gmail_quote">On Thu, May 3, 2012 at 4:38 PM, O&#39;Sullivan, Niall (HMRC) <span dir="ltr">&lt;<a href="mailto:n.osullivan@ucc.ie" target="_blank">n.osullivan@ucc.ie</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Thank you all for your responses.<br><br>The installer guide instructions in section 2.2 were followed and<br>completed up as far as which mpicc and which mpiexec, these outputs as<br>
follows:<br><br>which mpicc<br>/home/hmrc/mpich2-install/bin/mpicc<br>which mpiexec<br>/home/hmrc/mpich2-install/bin/mpiexec<br><br>The installation is on a single PC so steps 9 and 10 were skipped.<br><br>An error arose in response to step 11 after entering the command mpiexec<br>
-n 5 -f machinefile ./examples/cpi, see below:<br><br>hmrc@linuxadmin-Vostro-3550:/tmp/hmrc/mpich2-1.4.1p1$ mpiexec -n 5 -f<br>machinefile ./examples/cpi<br><br>[mpiexec@linuxadmin-Vostro-3550] HYDU_parse_hostfile<br>(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/utils/args/args.c:303):<br>
unable to open host file: machinefile<br>[mpiexec@linuxadmin-Vostro-3550] mfile_fn<br>(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/ui/mpich/utils.c:223):<br>error parsing hostfile<br>[mpiexec@linuxadmin-Vostro-3550] match_arg<br>
(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/utils/args/args.c:115):<br>match handler returned error<br>[mpiexec@linuxadmin-Vostro-3550] HYDU_parse_array<br>(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/utils/args/args.c:140):<br>
argument matching returned error<br>[mpiexec@linuxadmin-Vostro-3550] parse_args<br>(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/ui/mpich/utils.c:1387):<br>error parsing input array<br>[mpiexec@linuxadmin-Vostro-3550] HYD_uii_mpx_get_parameters<br>
(/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/ui/mpich/utils.c:1438):<br>unable to parse user arguments<br><br>The various directories and commands used during the installation are as<br>follows:<br><br>files unpacked to : /home/hmrc/Mpich2/mpich2-1.4.1p1<br>
installation directory : /home/hmrc/mpich2-install<br>build directory : /tmp/hmrc/mpich2-1.4.1p1<br><br>configure command : /home/hmrc/Mpich2/mpich2-1.4.1p1/configure<br>--prefix=/home/hmrc/mpich2-install |&amp; tee c.txt F77=ifort FC=ifort<br>
build mpich2: make 2&gt;&amp;1 | tee m.txt<br>install mpich2 commands: make install 2&gt;&amp;1 | tee mi.txt<br>add bin subdirectory to path: PATH=/home/hmrc/mpich2-install/bin:$PATH ;<br>export PATH<br><br>All of these completed without error until an attempt was made to run an<br>
MPI job with mpiexec, see details above.<br><br>Any suggestions appreciated.<br>
<div class="HOEnZb">
<div class="h5"><br>Best regards,<br>Niall O&#39;Sullivan<br><br><br><br>_______________________________________________<br>mpich-discuss mailing list     <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
To manage subscription options or unsubscribe:<br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br></div></div></blockquote>
</div><br>