<div dir="ltr">Thanks a lot for your help. I will keep investigating and maybe give a follow-up later.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 21, 2014 at 11:22 PM, Lu, Huiwei <span dir="ltr"><<a href="mailto:huiweilu@mcs.anl.gov" target="_blank">huiweilu@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry, I was wrong. You command line was right according to the newest README.<br>
I guess I am running out of ideas.<br>
<br>
—<br>
<span class="HOEnZb"><font color="#888888">Huiwei<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On May 21, 2014, at 10:19 PM, Yida Wang <<a href="mailto:yidawa@gmail.com">yidawa@gmail.com</a>> wrote:<br>
<br>
> Why is that? I am running 64-bit OS, it looks like i686 is a 32-bit setting.<br>
><br>
><br>
> On Wed, May 21, 2014 at 11:17 PM, Lu, Huiwei <<a href="mailto:huiweilu@mcs.anl.gov">huiweilu@mcs.anl.gov</a>> wrote:<br>
> I don’t know what a cross file is either. However, after a second check, I found that you may use ‘—host=’ wrong.<br>
><br>
> According to the following link, you should force to use ‘--host=i686-linux-gnu’ instead of ‘--host=x86_64-k1om-linux'.<br>
> <a href="http://lists.mcs.anl.gov/pipermail/mpich-discuss/2012-November/013363.html" target="_blank">http://lists.mcs.anl.gov/pipermail/mpich-discuss/2012-November/013363.html</a><br>
> —<br>
> Huiwei<br>
><br>
> On May 21, 2014, at 10:02 PM, Yida Wang <<a href="mailto:yidawa@gmail.com">yidawa@gmail.com</a>> wrote:<br>
><br>
> > 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?<br>
> ><br>
> > Thanks,<br>
> > YW<br>
> ><br>
> ><br>
> > On Wed, May 21, 2014 at 10:59 PM, Lu, Huiwei <<a href="mailto:huiweilu@mcs.anl.gov">huiweilu@mcs.anl.gov</a>> wrote:<br>
> > Something may be wrong with the cross file, but it’s only my guess as I’ve never compiled MPICH on a MIC myself.<br>
> ><br>
> > I’ve found some old discusses related to MPICH on MIC. I am listing them just as FYI.<br>
> > <a href="http://lists.mpich.org/pipermail/discuss/2013-July/001180.html" target="_blank">http://lists.mpich.org/pipermail/discuss/2013-July/001180.html</a><br>
> > <a href="http://lists.mcs.anl.gov/pipermail/mpich-discuss/2012-November/013377.html" target="_blank">http://lists.mcs.anl.gov/pipermail/mpich-discuss/2012-November/013377.html</a><br>
> ><br>
> > —<br>
> > Huiwei<br>
> ><br>
> > On May 21, 2014, at 9:43 PM, Yida Wang <<a href="mailto:yidawa@gmail.com">yidawa@gmail.com</a>> wrote:<br>
> ><br>
> > > Sure. Attached please find it.<br>
> > ><br>
> > > Thanks,<br>
> > > YW<br>
> > ><br>
> > ><br>
> > > On Wed, May 21, 2014 at 10:40 PM, Lu, Huiwei <<a href="mailto:huiweilu@mcs.anl.gov">huiweilu@mcs.anl.gov</a>> wrote:<br>
> > > Could you send us your config.log in mpich directory?<br>
> > ><br>
> > > —<br>
> > > Huiwei<br>
> > ><br>
> > > On May 21, 2014, at 9:20 PM, Yida Wang <<a href="mailto:yidawa@gmail.com">yidawa@gmail.com</a>> wrote:<br>
> > ><br>
> > > > No. But even using root, I will get the same error.<br>
> > > ><br>
> > > ><br>
> > > > On Wed, May 21, 2014 at 10:19 PM, Lu, Huiwei <<a href="mailto:huiweilu@mcs.anl.gov">huiweilu@mcs.anl.gov</a>> wrote:<br>
> > > > Looks like you have installed mpich under root.<br>
> > > > Just to confirm, are you running mpiexec.hydra under root too?<br>
> > > > —<br>
> > > > Huiwei<br>
> > > ><br>
> > > > On May 21, 2014, at 9:14 PM, Yida Wang <<a href="mailto:yidawa@gmail.com">yidawa@gmail.com</a>> wrote:<br>
> > > ><br>
> > > > > 1. -rwxr-xr-x 1 root root 1460092 May 21 20:41 mpiexec.hydra<br>
> > > > > 2.  not a dynamic executable<br>
> > > > ><br>
> > > > > Thanks,<br>
> > > > > YW<br>
> > > > ><br>
> > > > ><br>
> > > > > On Wed, May 21, 2014 at 10:11 PM, Lu, Huiwei <<a href="mailto:huiweilu@mcs.anl.gov">huiweilu@mcs.anl.gov</a>> wrote:<br>
> > > > > This looks more like a Linux problem rather than a MPICH problem.<br>
> > > > > Could you give us the output of the following commands?<br>
> > > > > 1. ls -la mpiexec.hydra<br>
> > > > > 2. ldd -r mpiexec.hydra<br>
> > > > ><br>
> > > > > —<br>
> > > > > Huiwei<br>
> > > > ><br>
> > > > > On May 21, 2014, at 8:53 PM, Yida Wang <<a href="mailto:yidawa@gmail.com">yidawa@gmail.com</a>> wrote:<br>
> > > > ><br>
> > > > > > The same error:<br>
> > > > > > -bash: ./mpiexec.hydra: cannot execute binary file<br>
> > > > > ><br>
> > > > > ><br>
> > > > > > On Wed, May 21, 2014 at 9:52 PM, Junchao Zhang <<a href="mailto:jczhang@mcs.anl.gov">jczhang@mcs.anl.gov</a>> wrote:<br>
> > > > > > You can go to the directory with mpiexec.hydra, and type ./mpiexec.hydra, to see what happens.<br>
> > > > > ><br>
> > > > > > --Junchao Zhang<br>
> > > > > ><br>
> > > > > ><br>
> > > > > > On Wed, May 21, 2014 at 8:48 PM, Yida Wang <<a href="mailto:yidawa@gmail.com">yidawa@gmail.com</a>> wrote:<br>
> > > > > > 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<br>
> > > > > ><br>
> > > > > ><br>
> > > > > > On Wed, May 21, 2014 at 9:46 PM, Junchao Zhang <<a href="mailto:jczhang@mcs.anl.gov">jczhang@mcs.anl.gov</a>> wrote:<br>
> > > > > > What is the output of "uname -a" on your machine?<br>
> > > > > ><br>
> > > > > > --Junchao Zhang<br>
> > > > > ><br>
> > > > > ><br>
> > > > > > On Wed, May 21, 2014 at 8:05 PM, Yida Wang <<a href="mailto:yidawa@gmail.com">yidawa@gmail.com</a>> wrote:<br>
> > > > > > Hi Guys,<br>
> > > > > ><br>
> > > > > > 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.<br>

> > > > > ><br>
> > > > > > Any ideas of this error?<br>
> > > > > ><br>
> > > > > > Thanks,<br>
> > > > > > YW<br>
> > > > > ><br>
> > > > > > _______________________________________________<br>
> > > > > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > > > > To manage subscription options or unsubscribe:<br>
> > > > > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > _______________________________________________<br>
> > > > > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > > > > To manage subscription options or unsubscribe:<br>
> > > > > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > _______________________________________________<br>
> > > > > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > > > > To manage subscription options or unsubscribe:<br>
> > > > > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > _______________________________________________<br>
> > > > > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > > > > To manage subscription options or unsubscribe:<br>
> > > > > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> > > > > ><br>
> > > > > > _______________________________________________<br>
> > > > > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > > > > To manage subscription options or unsubscribe:<br>
> > > > > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> > > > ><br>
> > > > > _______________________________________________<br>
> > > > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > > > To manage subscription options or unsubscribe:<br>
> > > > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> > > > ><br>
> > > > > _______________________________________________<br>
> > > > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > > > To manage subscription options or unsubscribe:<br>
> > > > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > > To manage subscription options or unsubscribe:<br>
> > > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > > To manage subscription options or unsubscribe:<br>
> > > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> > ><br>
> > > _______________________________________________<br>
> > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > To manage subscription options or unsubscribe:<br>
> > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> > ><br>
> > > <config.log>_______________________________________________<br>
> > > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > > To manage subscription options or unsubscribe:<br>
> > > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> ><br>
> > _______________________________________________<br>
> > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > To manage subscription options or unsubscribe:<br>
> > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> ><br>
> > _______________________________________________<br>
> > discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> > To manage subscription options or unsubscribe:<br>
> > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
><br>
> _______________________________________________<br>
> discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
><br>
> _______________________________________________<br>
> discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</div></div></blockquote></div><br></div>