[mpich-discuss] Intel Xeon Phi support?

Nikoloutsakos Nikolaos nikoloutsa at ceid.upatras.gr
Fri May 9 14:57:36 CDT 2014


Yes i am familiar with that, have you ever tried it?
I get the following error:
$mpicc -mmic -show mpi_hello_world.c
$icc -mmic mpi_hello_world.c -o mpi_hello_world -I/opt/mpich_icc/include 
-L/opt/mpich_icc/lib -Wl,-rpath -Wl,/opt/mpich_icc/lib -lmpich -lopa 
-lmpl -lrt -lpthread

x86_64-k1om-linux-ld: skipping incompatible 
/opt/mpich_icc/lib/libmpich.so when searching for -lmpich
x86_64-k1om-linux-ld: skipping incompatible 
/opt/mpich_icc/lib/libmpich.a when searching for -lmpich
x86_64-k1om-linux-ld: cannot find -lmpich
x86_64-k1om-linux-ld: skipping incompatible /opt/mpich_icc/lib/libopa.so 
when searching for -lopa
x86_64-k1om-linux-ld: skipping incompatible /opt/mpich_icc/lib/libopa.a 
when searching for -lopa
x86_64-k1om-linux-ld: cannot find -lopa
x86_64-k1om-linux-ld: skipping incompatible /opt/mpich_icc/lib/libmpl.so 
when searching for -lmpl
x86_64-k1om-linux-ld: skipping incompatible /opt/mpich_icc/lib/libmpl.a 
when searching for -lmpl
x86_64-k1om-linux-ld: cannot find -lmp

Without the -mmic argument i dont have any linking problems.

Thanks for the feedback.

Στις 2014-05-09 16:03, Harms, Kevin N. έγραψε:
> add -mmic to the CFLAGS/LDFLAGS if you want to run in native mode.
> 
> kevin
> 
>> Hello,
>> 
>> I just installed MPICH 3.1 "several improvements to Intel Xeon Phi
>> (contributed by Intel and NEC)".
>> I used icc to compile mpich.
>> I can't figure out how to create an executable for xeon phi.
>> Any hints from anyone using mpich with phi?
>> 
>> Thank you all.
>> _______________________________________________
>> 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