HPL over Xeon Phi compilation error

HPL over Xeon Phi compilation error

Dear all,

I'm trying to compile HPL-2.1 on a system which has two Intel Xeon Phi.

The sytem has CentOS 6.3 and I've installed the following Intel tools: l_ccompxe_2013.2.146, l_fcompxe_2013.2.146, l_mpi_p_4.1.0.030.

I have set manually the follogind variables:

source /opt/intel/bin/iccvars.sh intel64
source /opt/intel/bin/ifortvars.sh intel64
source /opt/intel/mkl/bin/mklvars.sh intel64
source /opt/intel/impi/4.1.0/mic/bin/mpivars.sh
export LD_LIBRARY_PATH=/opt/intel/impi/4.1.0/mic/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/intel/mkl/lib/mic:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/intel/composer_xe_2013.2.146/compiler/lib/mic:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/intel/composer_xe_2013.2.146/compiler/lib/intel64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/intel/composer_xe_2013.2.146/compiler/lib/ia32:$LD_LIBRARY_PATH

and in the HPL make file I've set the variable values as you can see from the make.Intel file attached.

I tried to compile but, after some time, it returned this error:

x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `/opt/hpl-2.1/lib/mic/libhpl.a(HPL_dlamch.o)' is incompatible with k1om output
make[2]: *** [dexe.grd] Error 1
make[2]: Leaving directory `/opt/hpl-2.1/testing/ptest/Intel'
make[1]: *** [build_tst] Error 2
make[1]: Leaving directory `/opt/hpl-2.1'
make: *** [build] Error 2

I've also put in attachment the output file.

Do you have any suggestion about how to solve this issue?

Thank you very much in advance!

Downloadtext/plain output.txt45.75 KB
Downloadtext/plain make-intel.txt9.29 KB
3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Looking at your output.txt, it appears that all the code except HPL_dlamch.o is compiled using the -mmic option. It looks like that routine compiled with "CCFLAGS = $(HPL_DEFS)"  rather than  "CCFLAGS  = $(HPL_DEFS) -mmic -O3 –openmp"

Dear Frances,

thank you very much for your observation, actually it helped me a lot, now I've just compiled HPL successfully.

Thanks again

Leave a Comment

Please sign in to add a comment. Not a member? Join today