[mvapich-discuss] Intel Xeon Phi support?

Jonathan Perkins perkinjo at cse.ohio-state.edu
Sat May 10 13:03:38 EDT 2014


Thanks for the note Nikos.  I think this issue can be fixed by adding
some LDFLAGS to your configure step of mvapich2.  Can you locate the
mic (k1om) version of libimf.so on your system?  It should be
somewhere in your intel compiler installation.

Using the following location as an example:
/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/mic/libimf.so

You should add the following LDFLAGS to configure:
LDFLAGS='-L/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/mic
-Wl,-rpath,/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/mic'

Please also note that CPPFLAGS should not contain -mmic.  That
variable is used by the c pre-processor and should be used for -I and
-D settings.  Let us know if this helps.

On Sat, May 10, 2014 at 11:17 AM, Nikoloutsakos Nikolaos
<nikoloutsa at ceid.upatras.gr> wrote:
> Hi,
>
> Im trying to use mvapich with the new intel xeon phi coprocessor.
> Here is my configure:
> ./configure --prefix=/opt/mvapich_icc_mic/ --disable-mcast --disable-fc
> --disable-f77 --host=i686-linux-gnu --build=x86_64-k1om-linux CC=icc
> CXX=icpc CFLAGS=-mmic CPPFLAGS=-mmic CXXFLAGS=-mmic
>
> If i try to compile anything with mpicc -mmic
> i get this error:
> x86_64-k1om-linux-ld: warning: libimf.so, needed by
> /opt/mvapich_icc_mic/lib/libmpich.so, not found (try using -rpath or
> -rpath-link)
> x86_64-k1om-linux-ld: warning: libsvml.so, needed by
> /opt/mvapich_icc_mic/lib/libmpich.so, not found (try using -rpath or
> -rpath-link)
> x86_64-k1om-linux-ld: warning: libirng.so, needed by
> /opt/mvapich_icc_mic/lib/libmpich.so, not found (try using -rpath or
> -rpath-link)
> x86_64-k1om-linux-ld: warning: libintlc.so.5, needed by
> /opt/mvapich_icc_mic/lib/libmpich.so, not found (try using -rpath or
> -rpath-link)
>
> without the -mmic , compilation/run is ok on host machine but i cannot run
> the binary on xeon phi.
> -bash: ./a.out: cannot execute binary file
>
> If anyone has any hints please share.
>
> Thank you,
> Nikos
>
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>



-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo



More information about the mvapich-discuss mailing list