Re: [mpich-discuss] Intel Xeon Phi support?
Hello, You need to build MPICH for the MIC as well, not just the application. So CFLAGS need to be set to -mmic for MPICH’s configure too, and that copy needs to be installed on the MIC. Here’s a rough list of steps: 1. Configure MPICH with -mmic. Build. Install. 2. Copy the install directory to the MIC. 3. Configure MPICH without -mmic (for the host). Build. Install. 4. Make sure the install path for MPICH on both the host and the MIC is the same. — Pavan On May 9, 2014, at 2:57 PM, Nikoloutsakos Nikolaos <[email protected]> wrote:
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 [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
participants (1)
-
Balaji, Pavan