<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Does the response to mpiexec -n 5 indicate that mpich2 is now operational?<br></blockquote>Yeah.<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Also, as at present we are using only one node is it necessary to have the file &quot;machinefile&quot; at all?<br>
</blockquote>no, you can just ignore it. It&#39;s not necessary in your scenario.<br><br>
<div class="gmail_quote">On Thu, May 3, 2012 at 7:42 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">
<div class="im">Thank you for your response.<br><br></div>Does the response to mpiexec -n 5 indicate that mpich2 is now operational?<br><br>Also, as at present we are using only one node is it necessary to have the file &quot;machinefile&quot; at all?<br>

<div class="im"><br>Best regards,<br>Niall O&#39;Sullivan<br><br><br></div>-----Orie ginal Message-----<br>
<div class="im">From: <a href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</a> on behalf of Ju JiaJia<br></div>Sent: Thu 5/3/2012 10:44 AM<br>
<div class="HOEnZb">
<div class="h5">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>If you use -f to specify hosts to use, the file machinefile in your case<br>
has to be exist.<br>Use mpiexec to see all options.<br><br>On Thu, May 3, 2012 at 5:22 PM, O&#39;Sullivan, Niall (HMRC) &lt;<a href="mailto:n.osullivan@ucc.ie">n.osullivan@ucc.ie</a><br>&gt; wrote:<br><br>&gt; Thank you for your response.<br>
&gt;<br>&gt; The file machinefile is not in /temp/hmrc/mpich2-1.4.1p1, see below for<br>&gt; directory listing:<br>&gt;<br>&gt; hmrc@linuxadmin-Vostro-3550:/tmp/hmrc/mpich2-1.4.1p1$ ls -a<br>&gt; .   bin         config.status  c.txt  examples   FC=ifort  lib<br>
&gt; mi.txt   mpich2-doxygen  share  test<br>&gt; ..  config.log  config.system  doc    F77=ifort  include   Makefile<br>&gt;  .mpich2  m.txt           src<br>&gt;<br>&gt; The command mpiexec -n 5 ./examples/cpi seems to work correctly, as<br>
&gt; follows.<br>&gt;<br>&gt; hmrc@linuxadmin-Vostro-3550:/tmp/hmrc/mpich2-1.4.1p1$ mpiexec -n 5<br>&gt; ./examples/cpi<br>&gt; Process 0 of 5 is on linuxadmin-Vostro-3550<br>&gt; Process 3 of 5 is on linuxadmin-Vostro-3550<br>
&gt; Process 4 of 5 is on linuxadmin-Vostro-3550<br>&gt; Process 1 of 5 is on linuxadmin-Vostro-3550<br>&gt; Process 2 of 5 is on linuxadmin-Vostro-3550<br>&gt; pi is approximately 3.1415926544231230, Error is 0.0000000008333298<br>
&gt; wall clock time = 0.000359<br>&gt;<br>&gt; Does this mean that mpich2 has been installed correctly and appears to be<br>&gt; working?<br>&gt;<br>&gt; Best regards,<br>&gt; Niall O&#39;Sullivan<br>&gt;<br>&gt;<br>&gt;<br>
&gt;<br>&gt;  -----Original Message-----<br>&gt; From: <a href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</a> on behalf of Ju JiaJia<br>&gt; Sent: Thu 5/3/2012 9:59 AM<br>&gt; To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
&gt; Subject: Re: [mpich-discuss] Compiling mpich2 using Intel Fortran<br>&gt; Compilerv12<br>&gt;<br>&gt; Do you have file machinefile in your /tmp/hmrc/mpich2-1.4.1p1 ? And what&#39;s<br>&gt; inside?<br>&gt; Since you run on one node, you can try  this: mpiexec -n 5 ./examples/cpi<br>
&gt;<br>&gt; On Thu, May 3, 2012 at 4:38 PM, O&#39;Sullivan, Niall (HMRC) &lt;<br>&gt; <a href="mailto:n.osullivan@ucc.ie">n.osullivan@ucc.ie</a><br>&gt; &gt; wrote:<br>&gt;<br>&gt; &gt; Thank you all for your responses.<br>
&gt; &gt;<br>&gt; &gt; The installer guide instructions in section 2.2 were followed and<br>&gt; &gt; completed up as far as which mpicc and which mpiexec, these outputs as<br>&gt; &gt; follows:<br>&gt; &gt;<br>&gt; &gt; which mpicc<br>
&gt; &gt; /home/hmrc/mpich2-install/bin/mpicc<br>&gt; &gt; which mpiexec<br>&gt; &gt; /home/hmrc/mpich2-install/bin/mpiexec<br>&gt; &gt;<br>&gt; &gt; The installation is on a single PC so steps 9 and 10 were skipped.<br>&gt; &gt;<br>
&gt; &gt; An error arose in response to step 11 after entering the command mpiexec<br>&gt; &gt; -n 5 -f machinefile ./examples/cpi, see below:<br>&gt; &gt;<br>&gt; &gt; hmrc@linuxadmin-Vostro-3550:/tmp/hmrc/mpich2-1.4.1p1$ mpiexec -n 5 -f<br>
&gt; &gt; machinefile ./examples/cpi<br>&gt; &gt;<br>&gt; &gt; [mpiexec@linuxadmin-Vostro-3550] HYDU_parse_hostfile<br>&gt; &gt; (/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/utils/args/args.c:303):<br>&gt; &gt; unable to open host file: machinefile<br>
&gt; &gt; [mpiexec@linuxadmin-Vostro-3550] mfile_fn<br>&gt; &gt; (/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/ui/mpich/utils.c:223):<br>&gt; &gt; error parsing hostfile<br>&gt; &gt; [mpiexec@linuxadmin-Vostro-3550] match_arg<br>
&gt; &gt; (/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/utils/args/args.c:115):<br>&gt; &gt; match handler returned error<br>&gt; &gt; [mpiexec@linuxadmin-Vostro-3550] HYDU_parse_array<br>&gt; &gt; (/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/utils/args/args.c:140):<br>
&gt; &gt; argument matching returned error<br>&gt; &gt; [mpiexec@linuxadmin-Vostro-3550] parse_args<br>&gt; &gt; (/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/ui/mpich/utils.c:1387):<br>&gt; &gt; error parsing input array<br>
&gt; &gt; [mpiexec@linuxadmin-Vostro-3550] HYD_uii_mpx_get_parameters<br>&gt; &gt; (/home/hmrc/Mpich2/mpich2-1.4.1p1/src/pm/hydra/ui/mpich/utils.c:1438):<br>&gt; &gt; unable to parse user arguments<br>&gt; &gt;<br>&gt; &gt; The various directories and commands used during the installation are as<br>
&gt; &gt; follows:<br>&gt; &gt;<br>&gt; &gt; files unpacked to : /home/hmrc/Mpich2/mpich2-1.4.1p1<br>&gt; &gt; installation directory : /home/hmrc/mpich2-install<br>&gt; &gt; build directory : /tmp/hmrc/mpich2-1.4.1p1<br>
&gt; &gt;<br>&gt; &gt; configure command : /home/hmrc/Mpich2/mpich2-1.4.1p1/configure<br>&gt; &gt; --prefix=/home/hmrc/mpich2-install |&amp; tee c.txt F77=ifort FC=ifort<br>&gt; &gt; build mpich2: make 2&gt;&amp;1 | tee m.txt<br>
&gt; &gt; install mpich2 commands: make install 2&gt;&amp;1 | tee mi.txt<br>&gt; &gt; add bin subdirectory to path: PATH=/home/hmrc/mpich2-install/bin:$PATH ;<br>&gt; &gt; export PATH<br>&gt; &gt;<br>&gt; &gt; All of these completed without error until an attempt was made to run an<br>
&gt; &gt; MPI job with mpiexec, see details above.<br>&gt; &gt;<br>&gt; &gt; Any suggestions appreciated.<br>&gt; &gt;<br>&gt; &gt; Best regards,<br>&gt; &gt; Niall O&#39;Sullivan<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>&gt; &gt; mpich-discuss mailing list     <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt; &gt; To manage subscription options or unsubscribe:<br>
&gt; &gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>
&gt; mpich-discuss mailing list     <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt; To manage subscription options or unsubscribe:<br>&gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
&gt;<br>&gt;<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>