Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
31 Views

icpc -mmic error; ipo: warning #11010: file format not recognized

Jump to solution

[root@amax src]# make -f Makefile.pthreads all /opt/intel/bin/icpc -O3 -funroll-loops -opt-prefetch -fpermissive -fno-exceptions -pthread -D_GNU_SOURCE -D__XOPEN_SOURCE=600 -c pthreads.cpp fluid.hpp(403): warning #1875: offsetof applied to non-POD (Plain Old Data) types is nonstandard char padding[CACHELINE_SIZE - (offsetof(struct Cell_aux, padding) % CACHELINE_SIZE)]; ^ pthreads.cpp(279): warning #1875: offsetof applied to non-POD (Plain Old Data) types is nonstandard assert(offsetof(struct Cell_aux, padding) == offsetof(struct Cell, padding)); ^ pthreads.cpp(279): warning #1875: offsetof applied to non-POD (Plain Old Data) types is nonstandard assert(offsetof(struct Cell_aux, padding) == offsetof(struct Cell, padding)); ^ /opt/intel/bin/icpc -O3 -funroll-loops -opt-prefetch -fpermissive -fno-exceptions -pthread -D_GNU_SOURCE -D__XOPEN_SOURCE=600 -c cellpool.cpp fluid.hpp(403): warning #1875: offsetof applied to non-POD (Plain Old Data) types is nonstandard char padding[CACHELINE_SIZE - (offsetof(struct Cell_aux, padding) % CACHELINE_SIZE)]; ^ /opt/intel/bin/icpc -O3 -funroll-loops -opt-prefetch -fpermissive -fno-exceptions -pthread -D_GNU_SOURCE -D__XOPEN_SOURCE=600 -c parsec_barrier.cpp #/opt/intel/bin/icpc -O3 -funroll-loops -opt-prefetch -fpermissive -fno-exceptions -pthread -D_GNU_SOURCE -D__XOPEN_SOURCE=600 pthreads.o cellpool.o parsec_barrier.o -L/usr/lib64 -L/usr/lib -o fluidanimate icpc -O3 -funroll-loops -opt-prefetch -fpermissive -fno-exceptions -pthread -D_GNU_SOURCE -D__XOPEN_SOURCE=600 pthreads.o cellpool.o parsec_barrier.o -L/usr/lib64 -L/usr/lib -o fluidanimate rm -rf fluidcmp /opt/intel/bin/icpc -O3 -funroll-loops -opt-prefetch -fpermissive -fno-exceptions -pthread -D_GNU_SOURCE -D__XOPEN_SOURCE=600 fluidcmp.cpp -o fluidcmp fluid.hpp(403): warning #1875: offsetof applied to non-POD (Plain Old Data) types is nonstandard char padding[CACHELINE_SIZE - (offsetof(struct Cell_aux, padding) % CACHELINE_SIZE)]; ^ [root@amax src] ------------------ After make clean, CFLAGS adds -mmic, then compile faild. ----------------- [root@amax src]# make -f Makefile.pthreads all #/opt/intel/bin/icpc -O3 -funroll-loops -opt-prefetch -fpermissive -fno-exceptions -pthread -D_GNU_SOURCE -D__XOPEN_SOURCE=600 pthreads.o cellpool.o parsec_barrier.o -L/usr/lib64 -L/usr/lib -o fluidanimate icpc -mmic -O3 -funroll-loops -opt-prefetch -fpermissive -fno-exceptions -pthread -D_GNU_SOURCE -D__XOPEN_SOURCE=600 pthreads.o cellpool.o parsec_barrier.o -L/usr/lib64 -L/usr/lib -o fluidanimate ipo: warning #11010: file format not recognized for pthreads.o ipo: warning #11010: file format not recognized for cellpool.o ipo: warning #11010: file format not recognized for parsec_barrier.o ipo: warning #11010: file format not recognized for /usr/lib64/libm.so ipo: warning #11010: file format not recognized for /lib64/libpthread.so.0 ipo: warning #11010: file format not recognized for /lib64/libc.so.6 ipo: warning #11010: file format not recognized for /lib64/ld-linux-x86-64.so.2 ipo: warning #11010: file format not recognized for /usr/lib64/libdl.so ipo: warning #11010: file format not recognized for /lib64/libc.so.6 ipo: warning #11010: file format not recognized for /lib64/ld-linux-x86-64.so.2 x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libm.so when searching for -lm x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libm.a when searching for -lm x86_64-k1om-linux-ld: skipping incompatible /usr/lib/libm.so when searching for -lm x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libpthread.so when searching for -lpthread x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libpthread.a when searching for -lpthread x86_64-k1om-linux-ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libc.so when searching for -lc x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libc.a when searching for -lc x86_64-k1om-linux-ld: skipping incompatible /usr/lib/libc.so when searching for -lc x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl x86_64-k1om-linux-ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libc.so when searching for -lc x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libc.a when searching for -lc x86_64-k1om-linux-ld: skipping incompatible /usr/lib/libc.so when searching for -lc x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `pthreads.o' is incompatible with k1om output x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `cellpool.o' is incompatible with k1om output x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `parsec_barrier.o' is incompatible with k1om output x86_64-k1om-linux-ld: pthreads.o(.text+0x37): reloc against `_ZSt4cout@@GLIBCXX_3.4': error 4 x86_64-k1om-linux-ld: final link failed: Nonrepresentable section on output make: *** [pthreads] Error 1 [root@amax src]# --------------

0 Kudos

Accepted Solutions
Highlighted
New Contributor I
31 Views
Solved. Something wrong with my Makefile. It stll has wangings, but compile passed. Sorry to bother you. Sorry that I don't know how to close this question.

View solution in original post

0 Kudos
2 Replies
Highlighted
New Contributor I
31 Views

I also changed "-L/usr/lib64 -L/usr/lib" to

"-L/opt/vtune/vtune_amplifier_xe_2015.2.0.393444/lib32 -L/opt/vtune/vtune_amplifier_xe_2015.2.0.393444/lib64"

or 

"-L/opt/intel/lib/mic/"

still failed

0 Kudos
Highlighted
New Contributor I
32 Views
Solved. Something wrong with my Makefile. It stll has wangings, but compile passed. Sorry to bother you. Sorry that I don't know how to close this question.

View solution in original post

0 Kudos