Quantcast
Channel: Intel® Software - Intel® Many Integrated Core Architecture (Intel MIC Architecture)
Viewing all articles
Browse latest Browse all 1789

Compile KNC coprocessor code with KNL host processor

$
0
0

Dear All,

Sorry advance if such similar post is an old topic!

I am trying to compile some existing KNC coprocessor code with KNL host processor using Parallel Studio 2017 but encountered the errors below.

I tried commenting out the "#pragma" code from the source to avoid calling the coprocessor but no helps.

Any good documentation for how to convert KNC coprocessor to KNL host processor?

Better yet, any idea how to fix the below problem?

Thanks much in advance for any pointers!

--Wo

...

mpiicpc -xMIC-AVX512 -O3 -Wall -funroll-all-loops -I /big/Intel/bin/include  -I ../../zlib-1.2.8 -DCOMPRESSED_INPUT  -DMPI_PARALLEL -o objs/AlignCoreTiling.mpi.cpp.o -c src/AlignCoreTiling.cpp

mpiicpc -xMIC-AVX512 -O3 -Wall -funroll-all-loops -I /big/Intel/bin/include  -I ../../zlib-1.2.8 -DCOMPRESSED_INPUT  -o mpi-swaphi-ls  objs/AlignCore.mpi.cpp.o  objs/Align.mpi.cpp.o  objs/main.mpi.cpp.o  objs/SeqFileParser.mpi.cpp.o  objs/Sequence.mpi.cpp.o  objs/Utils.mpi.cpp.o  objs/AlignCoreNaive.mpi.cpp.o  objs/AlignCoreTiling.mpi.cpp.o -lz -lm

ld: warning: libcoi_device.so.0, needed by /big/Intel/bin/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libioffload_target.so.5, not found (try using -rpath or -rpath-link)
/big/Intel/bin/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libioffload_target.so.5: undefined reference to `COIPerfGetCycleFrequency@COI_1.0'
/big/Intel/bin/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libioffload_target.so.5: undefined reference to `COIBufferAddRef@COI_1.0'
/big/Intel/bin/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libioffload_target.so.5: undefined reference to `COIPipelineStartExecutingRunFunctions@COI_1.0'
/big/Intel/bin/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libioffload_target.so.5: undefined reference to `COIEngineGetIndex@COI_1.0'
/big/Intel/bin/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libioffload_target.so.5: undefined reference to `COIBufferReleaseRef@COI_1.0'
/big/Intel/bin/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libioffload_target.so.5: undefined reference to `COIProcessWaitForShutdown@COI_1.0'
make: *** [all] Error 1

 

Zone: 

Thread Topic: 

How-To

Viewing all articles
Browse latest Browse all 1789

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>