<div>If you use -f to specify hosts to use, the file machinefile in your case has to be exist.</div>
<div>Use mpiexec to see all options.<br><br></div>
<div class="gmail_quote">On Thu, May 3, 2012 at 5:22 PM, O'Sullivan, Niall (HMRC) <span dir="ltr"><<a href="mailto:n.osullivan@ucc.ie" target="_blank">n.osullivan@ucc.ie</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Thank you for your response.<br><br>The file machinefile is not in /temp/hmrc/mpich2-1.4.1p1, see below for directory listing:<br>
<br>hmrc@linuxadmin-Vostro-3550:/tmp/hmrc/mpich2-1.4.1p1$ ls -a<br>. bin config.status c.txt examples FC=ifort lib mi.txt mpich2-doxygen share test<br>.. config.log config.system doc F77=ifort include Makefile .mpich2 m.txt src<br>
<br>The command mpiexec -n 5 ./examples/cpi seems to work correctly, as follows.<br><br>hmrc@linuxadmin-Vostro-3550:/tmp/hmrc/mpich2-1.4.1p1$ mpiexec -n 5 ./examples/cpi<br>Process 0 of 5 is on linuxadmin-Vostro-3550<br>Process 3 of 5 is on linuxadmin-Vostro-3550<br>
Process 4 of 5 is on linuxadmin-Vostro-3550<br>Process 1 of 5 is on linuxadmin-Vostro-3550<br>Process 2 of 5 is on linuxadmin-Vostro-3550<br>pi is approximately 3.1415926544231230, Error is 0.0000000008333298<br>wall clock time = 0.000359<br>
<br>Does this mean that mpich2 has been installed correctly and appears to be working?<br>
<div class="im HOEnZb"><br>Best regards,<br>Niall O'Sullivan<br><br><br><br><br></div>
<div class="HOEnZb">
<div class="h5">-----Original Message-----<br>From: <a href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</a> on behalf of Ju JiaJia<br>Sent: Thu 5/3/2012 9:59 AM<br>To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
Subject: Re: [mpich-discuss] Compiling mpich2 using Intel Fortran Compilerv12<br><br>Do you have file machinefile in your /tmp/hmrc/mpich2-1.4.1p1 ? And what's<br>inside?<br>Since you run on one node, you can try this: mpiexec -n 5 ./examples/cpi<br>
<br>On Thu, May 3, 2012 at 4:38 PM, O'Sullivan, Niall (HMRC) <<a href="mailto:n.osullivan@ucc.ie">n.osullivan@ucc.ie</a><br>> wrote:<br><br>> 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 |& tee c.txt F77=ifort FC=ifort<br>> build mpich2: make 2>&1 | tee m.txt<br>> install mpich2 commands: make install 2>&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>><br>> Best regards,<br>
> Niall O'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>><br><br><br>
</div></div><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><br></blockquote></div><br>