[mpich-discuss] Compiling mpich2 using Intel Fortran Compilerv12

Ju JiaJia jujj603 at gmail.com
Thu May 3 08:28:43 CDT 2012


>
> Does the response to mpiexec -n 5 indicate that mpich2 is now operational?
>
Yeah.

> Also, as at present we are using only one node is it necessary to have the
> file "machinefile" at all?
>
no, you can just ignore it. It's not necessary in your scenario.

On Thu, May 3, 2012 at 7:42 PM, O'Sullivan, Niall (HMRC) <n.osullivan at ucc.ie
> wrote:

> Thank you for your response.
>
> Does the response to mpiexec -n 5 indicate that mpich2 is now operational?
>
> Also, as at present we are using only one node is it necessary to have the
> file "machinefile" at all?
>
> Best regards,
> Niall O'Sullivan
>
>
> -----Orie ginal Message-----
> From: mpich-discuss-bounces at mcs.anl.gov on behalf of Ju JiaJia
> Sent: Thu 5/3/2012 10:44 AM
>  To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] Compiling mpich2 using Intel Fortran
> Compilerv12
>
> If you use -f to specify hosts to use, the file machinefile in your case
> has to be exist.
> Use mpiexec to see all options.
>
> On Thu, May 3, 2012 at 5:22 PM, O'Sullivan, Niall (HMRC) <
> n.osullivan at ucc.ie
> > wrote:
>
> > Thank you for your response.
> >
> > The file machinefile is not in /temp/hmrc/mpich2-1.4.1p1, see below for
> > directory listing:
> >
> > hmrc at linuxadmin-Vostro-3550:/tmp/hmrc/mpich2-1.4.1p1$ ls -a
> > .   bin         config.status  c.txt  examples   FC=ifort  lib
> > mi.txt   mpich2-doxygen  share  test
> > ..  config.log  config.system  doc    F77=ifort  include   Makefile
> >  .mpich2  m.txt           src
> >
> > The command mpiexec -n 5 ./examples/cpi seems to work correctly, as
> > follows.
> >
> > hmrc at linuxadmin-Vostro-3550:/tmp/hmrc/mpich2-1.4.1p1$ mpiexec -n 5
> > ./examples/cpi
> > Process 0 of 5 is on linuxadmin-Vostro-3550
> > Process 3 of 5 is on linuxadmin-Vostro-3550
> > Process 4 of 5 is on linuxadmin-Vostro-3550
> > Process 1 of 5 is on linuxadmin-Vostro-3550
> > Process 2 of 5 is on linuxadmin-Vostro-3550
> > pi is approximately 3.1415926544231230, Error is 0.0000000008333298
> > wall clock time = 0.000359
> >
> > Does this mean that mpich2 has been installed correctly and appears to be
> > working?
> >
> > Best regards,
> > Niall O'Sullivan
> >
> >
> >
> >
> >  -----Original Message-----
> > From: mpich-discuss-bounces at mcs.anl.gov on behalf of Ju JiaJia
> > Sent: Thu 5/3/2012 9:59 AM
> > To: mpich-discuss at mcs.anl.gov
> > Subject: Re: [mpich-discuss] Compiling mpich2 using Intel Fortran
> > Compilerv12
> >
> > Do you have file machinefile in your /tmp/hmrc/mpich2-1.4.1p1 ? And
> what's
> > inside?
> > Since you run on one node, you can try  this: mpiexec -n 5 ./examples/cpi
> >
> > On Thu, May 3, 2012 at 4:38 PM, O'Sullivan, Niall (HMRC) <
> > n.osullivan at ucc.ie
> > > wrote:
> >
> > > 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
> > >
> > >
> > >
> > > _______________________________________________
> > > mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> > > To manage subscription options or unsubscribe:
> > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> > >
> >
> >
> >
> > _______________________________________________
> > mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> > To manage subscription options or unsubscribe:
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> >
>
>
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120503/a9a42124/attachment.htm>


More information about the mpich-discuss mailing list