[mpich-discuss] cannot execute binary file

"Antonio J. Peña" apenya at mcs.anl.gov
Thu May 22 09:40:22 CDT 2014


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 at mcs.anl.gov 
> <mailto: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
>     <mailto: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 <mailto: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
>     <mailto: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 <mailto: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
>     <mailto: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 <mailto: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
>     <mailto: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 <mailto: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
>     <mailto: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
>     <mailto:discuss at mpich.org>
>     > > > To manage subscription options or unsubscribe:
>     > > > https://lists.mpich.org/mailman/listinfo/discuss
>     > > >
>     > > >
>     > > > _______________________________________________
>     > > > discuss mailing list discuss at mpich.org
>     <mailto:discuss at mpich.org>
>     > > > To manage subscription options or unsubscribe:
>     > > > https://lists.mpich.org/mailman/listinfo/discuss
>     > > >
>     > > >
>     > > > _______________________________________________
>     > > > discuss mailing list discuss at mpich.org
>     <mailto:discuss at mpich.org>
>     > > > To manage subscription options or unsubscribe:
>     > > > https://lists.mpich.org/mailman/listinfo/discuss
>     > > >
>     > > >
>     > > > _______________________________________________
>     > > > discuss mailing list discuss at mpich.org
>     <mailto:discuss at mpich.org>
>     > > > To manage subscription options or unsubscribe:
>     > > > https://lists.mpich.org/mailman/listinfo/discuss
>     > > >
>     > > > _______________________________________________
>     > > > discuss mailing list discuss at mpich.org
>     <mailto:discuss at mpich.org>
>     > > > To manage subscription options or unsubscribe:
>     > > > https://lists.mpich.org/mailman/listinfo/discuss
>     > >
>     > > _______________________________________________
>     > > discuss mailing list discuss at mpich.org <mailto:discuss at mpich.org>
>     > > To manage subscription options or unsubscribe:
>     > > https://lists.mpich.org/mailman/listinfo/discuss
>     > >
>     > > _______________________________________________
>     > > discuss mailing list discuss at mpich.org <mailto:discuss at mpich.org>
>     > > To manage subscription options or unsubscribe:
>     > > https://lists.mpich.org/mailman/listinfo/discuss
>     >
>     > _______________________________________________
>     > discuss mailing list discuss at mpich.org <mailto:discuss at mpich.org>
>     > To manage subscription options or unsubscribe:
>     > https://lists.mpich.org/mailman/listinfo/discuss
>     >
>     > _______________________________________________
>     > discuss mailing list discuss at mpich.org <mailto:discuss at mpich.org>
>     > To manage subscription options or unsubscribe:
>     > https://lists.mpich.org/mailman/listinfo/discuss
>
>     _______________________________________________
>     discuss mailing list discuss at mpich.org <mailto: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


-- 
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 at mcs.anl.gov
www.mcs.anl.gov/~apenya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140522/cad8fb49/attachment.html>


More information about the discuss mailing list