Oh, that makes sense now. But could it work as Intel-MPI? That is, running in the host machine but can launch processes in MIC.

Thanks,
YW


On Thu, May 22, 2014 at 10:40 AM, "Antonio J. Peña" <apenya@mcs.anl.gov> wrote:

If you have compiled MPICH for the MIC, it'll only work on the MIC. That's why mpich.hydra is not an executable on your host machine. ssh to the MIC and try from there directly.

  Antonio



On 05/21/2014 09:43 PM, Yida Wang wrote:
Sure. Attached please find it.

Thanks,
YW


On Wed, May 21, 2014 at 10:40 PM, Lu, Huiwei <huiweilu@mcs.anl.gov> wrote:
Could you send us your config.log in mpich directory?


Huiwei

On May 21, 2014, at 9:20 PM, Yida Wang <yidawa@gmail.com> wrote:

> No. But even using root, I will get the same error.
>
>
> On Wed, May 21, 2014 at 10:19 PM, Lu, Huiwei <huiweilu@mcs.anl.gov> wrote:
> Looks like you have installed mpich under root.
> Just to confirm, are you running mpiexec.hydra under root too?
> —
> Huiwei
>
> On May 21, 2014, at 9:14 PM, Yida Wang <yidawa@gmail.com> wrote:
>
> > 1. -rwxr-xr-x 1 root root 1460092 May 21 20:41 mpiexec.hydra
> > 2.  not a dynamic executable
> >
> > Thanks,
> > YW
> >
> >
> > On Wed, May 21, 2014 at 10:11 PM, Lu, Huiwei <huiweilu@mcs.anl.gov> wrote:
> > This looks more like a Linux problem rather than a MPICH problem.
> > Could you give us the output of the following commands?
> > 1. ls -la mpiexec.hydra
> > 2. ldd -r mpiexec.hydra
> >
> > —
> > Huiwei
> >
> > On May 21, 2014, at 8:53 PM, Yida Wang <yidawa@gmail.com> wrote:
> >
> > > The same error:
> > > -bash: ./mpiexec.hydra: cannot execute binary file
> > >
> > >
> > > On Wed, May 21, 2014 at 9:52 PM, Junchao Zhang <jczhang@mcs.anl.gov> wrote:
> > > You can go to the directory with mpiexec.hydra, and type ./mpiexec.hydra, to see what happens.
> > >
> > > --Junchao Zhang
> > >
> > >
> > > On Wed, May 21, 2014 at 8:48 PM, Yida Wang <yidawa@gmail.com> wrote:
> > > Linux xxx 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> > >
> > >
> > > On Wed, May 21, 2014 at 9:46 PM, Junchao Zhang <jczhang@mcs.anl.gov> wrote:
> > > What is the output of "uname -a" on your machine?
> > >
> > > --Junchao Zhang
> > >
> > >
> > > On Wed, May 21, 2014 at 8:05 PM, Yida Wang <yidawa@gmail.com> wrote:
> > > Hi Guys,
> > >
> > > I just finished installing mpich. But when I tried to run it, it returned "cannot execute binary file". I double checked the file type by "file mpiexec.hydra", which got "mpiexec.hydra: ELF 64-bit LSB executable, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped". I am running 64-bit CentOS.
> > >
> > > Any ideas of this error?
> > >
> > > Thanks,
> > > YW
> > >
> > > _______________________________________________
> > > discuss mailing list     discuss@mpich.org
> > > To manage subscription options or unsubscribe:
> > > https://lists.mpich.org/mailman/listinfo/discuss
> > >
> > >
> > > _______________________________________________
> > > discuss mailing list     discuss@mpich.org
> > > To manage subscription options or unsubscribe:
> > > https://lists.mpich.org/mailman/listinfo/discuss
> > >
> > >
> > > _______________________________________________
> > > discuss mailing list     discuss@mpich.org
> > > To manage subscription options or unsubscribe:
> > > https://lists.mpich.org/mailman/listinfo/discuss
> > >
> > >
> > > _______________________________________________
> > > discuss mailing list     discuss@mpich.org
> > > To manage subscription options or unsubscribe:
> > > https://lists.mpich.org/mailman/listinfo/discuss
> > >
> > > _______________________________________________
> > > discuss mailing list     discuss@mpich.org
> > > To manage subscription options or unsubscribe:
> > > https://lists.mpich.org/mailman/listinfo/discuss
> >
> > _______________________________________________
> > discuss mailing list     discuss@mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
> >
> > _______________________________________________
> > discuss mailing list     discuss@mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
>
> _______________________________________________
> discuss mailing list     discuss@mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
> _______________________________________________
> discuss mailing list     discuss@mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss



_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


-- 
Antonio J. Peña
Postdoctoral Appointee
Mathematics and Computer Science Division
Argonne National Laboratory
9700 South Cass Avenue, Bldg. 240, Of. 3148
Argonne, IL 60439-4847
apenya@mcs.anl.gov
www.mcs.anl.gov/~apenya

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss