[mvapich-discuss] mvapich2-mic cannot execute binary file on MIC

Jonathan Perkins perkinjo at cse.ohio-state.edu
Wed Sep 30 18:44:25 EDT 2015


Hello Collin.  For MVAPICH2-MIC you should use mpirun_rsh.  Please take a
look at
http://mvapich.cse.ohio-state.edu/static/media/mvapich/MV2-MIC-README.txt for
some examples of how to use mpirun_rsh to run on MIC systems.

On Wed, Sep 30, 2015 at 4:39 PM Collin Guan <guan.collin at gmail.com> wrote:

> --===============3832120466584829026==
> Content-Type: multipart/alternative;
> boundary="e89a8f642720d039510520fc3812"
>
> --e89a8f642720d039510520fc3812
> Content-Type: text/plain; charset="UTF-8"
>
> Greeting!
>
> I have installed mvapich2-mic 2.0 binding with Intel complier 14 on a
> cluster that each compute node has a MIC card. The code I want to test is a
> pure MPI program. I can compile the code on host or by turning on -mmic for
> the MIC architecture without any error/warning messages. However, when I
> run the mic version by "ssh mic0 mpiexec.hydra -n 4 ./hello.mic
> >hello.mic.out &", I got an error like:
>
> bash: mpiexec.hydra: cannot execute binary file
>
> I am sure that the executable file is the mic version. I don't understand
> why it complains "cannot execute binary file. I also run "ldd -r
> hello.mic", this shows
>         not a dynamic executable.
>
> "Not a dynamics executable" seems very normal and doesn't indicate anything
> wrong with the mic version. Maybe I am missing something here, and need to
> make other setting. I appreciate it very much if you have any hints and
> advice.
>
> Thanks!
>
> Collin
>
> --e89a8f642720d039510520fc3812
> Content-Type: text/html; charset="UTF-8"
> Content-Transfer-Encoding: quoted-printable
>
> <div dir=3D"ltr">Greeting!<div><br></div><div>I have installed
> mvapich2-mic=
>  2.0 binding with Intel complier 14 on a cluster that each compute node
> has=
>  a MIC card. The code I want to test is a pure MPI program. I can compile
> t=
> he code on host or by turning on -mmic for the MIC architecture without
> any=
>  error/warning messages. However, when I run the mic version by "ssh
> m=
> ic0=C2=A0mpiexec.hydra -n 4 ./hello.mic =C2=A0 >hello.mic.out
> &&quot=
> ;, I got an error like:</div><div><br></div><div>bash: mpiexec.hydra:
> canno=
> t execute binary file<br></div><div><br></div><div>I am sure that the
> execu=
> table file is the mic version. I don't understand why it complains
> &quo=
> t;cannot execute binary file. I also run "ldd -r hello.mic",
> this=
>  shows=C2=A0</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 not a dynamic
> executable=
> .<br></div><div><br></div><div>"Not a dynamics executable" seems
> =
> very normal and doesn't indicate anything wrong with the mic version.
> M=
> aybe I am missing something here, and need to make other setting. I
> appreci=
> ate it very much if you have any hints and
> advice.</div><div><br></div><div=
>
> >Thanks!</div><div><br></div><div>Collin</div><div><br></div><div><br></div=
> ></div>
>
> --e89a8f642720d039510520fc3812--
>
> --===============3832120466584829026==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
> --===============3832120466584829026==--
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20150930/b5ec4174/attachment-0001.html>


More information about the mvapich-discuss mailing list