[mpich-discuss] cannot execute binary file

Lu, Huiwei huiweilu at mcs.anl.gov
Wed May 21 22:17:09 CDT 2014


I don’t know what a cross file is either. However, after a second check, I found that you may use ‘—host=’ wrong.

According to the following link, you should force to use ‘--host=i686-linux-gnu’ instead of ‘--host=x86_64-k1om-linux'.
http://lists.mcs.anl.gov/pipermail/mpich-discuss/2012-November/013363.html
—
Huiwei

On May 21, 2014, at 10:02 PM, Yida Wang <yidawa at gmail.com> wrote:

> Yes, I also observed that there's a cross file error during the configuration phase. Actually I have no idea about what a cross file is. Can you illustrate it a little bit?
> 
> Thanks,
> YW
> 
> 
> On Wed, May 21, 2014 at 10:59 PM, Lu, Huiwei <huiweilu at mcs.anl.gov> wrote:
> Something may be wrong with the cross file, but it’s only my guess as I’ve never compiled MPICH on a MIC myself.
> 
> I’ve found some old discusses related to MPICH on MIC. I am listing them just as FYI.
> http://lists.mpich.org/pipermail/discuss/2013-July/001180.html
> http://lists.mcs.anl.gov/pipermail/mpich-discuss/2012-November/013377.html
> 
>> Huiwei
> 
> On May 21, 2014, at 9:43 PM, Yida Wang <yidawa at gmail.com> wrote:
> 
> > Sure. Attached please find it.
> >
> > Thanks,
> > YW
> >
> >
> > On Wed, May 21, 2014 at 10:40 PM, Lu, Huiwei <huiweilu at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at mpich.org
> > > > > To manage subscription options or unsubscribe:
> > > > > https://lists.mpich.org/mailman/listinfo/discuss
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > discuss mailing list     discuss at mpich.org
> > > > > To manage subscription options or unsubscribe:
> > > > > https://lists.mpich.org/mailman/listinfo/discuss
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > discuss mailing list     discuss at mpich.org
> > > > > To manage subscription options or unsubscribe:
> > > > > https://lists.mpich.org/mailman/listinfo/discuss
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > discuss mailing list     discuss at mpich.org
> > > > > To manage subscription options or unsubscribe:
> > > > > https://lists.mpich.org/mailman/listinfo/discuss
> > > > >
> > > > > _______________________________________________
> > > > > discuss mailing list     discuss at mpich.org
> > > > > To manage subscription options or unsubscribe:
> > > > > https://lists.mpich.org/mailman/listinfo/discuss
> > > >
> > > > _______________________________________________
> > > > discuss mailing list     discuss at mpich.org
> > > > To manage subscription options or unsubscribe:
> > > > https://lists.mpich.org/mailman/listinfo/discuss
> > > >
> > > > _______________________________________________
> > > > discuss mailing list     discuss at mpich.org
> > > > To manage subscription options or unsubscribe:
> > > > https://lists.mpich.org/mailman/listinfo/discuss
> > >
> > > _______________________________________________
> > > discuss mailing list     discuss at mpich.org
> > > To manage subscription options or unsubscribe:
> > > https://lists.mpich.org/mailman/listinfo/discuss
> > >
> > > _______________________________________________
> > > discuss mailing list     discuss at mpich.org
> > > To manage subscription options or unsubscribe:
> > > https://lists.mpich.org/mailman/listinfo/discuss
> >
> > _______________________________________________
> > discuss mailing list     discuss at mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
> >
> > <config.log>_______________________________________________
> > discuss mailing list     discuss at mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss




More information about the discuss mailing list