libxstream error during building

TheShabbyblue ddd... at gmail.com
Thu Jun 16 12:34:45 UTC 2016


I have tried to compile cp2k for xeon phi with 
thishttps://github.com/hfp/libxstream/blob/master/documentation/cp2k.md 
guide.I replaced 

Linux-x86-64-intel with Linux-x86-64-intel-mic and I got this error:

icc: command line remark #10411: option '-offload-attribute-target=mic' is 
deprecated and will be removed in a future release. Please use the 
replacement option '-qoffload-attribute-target=mic'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
In file included from /home/vmilev/cp2k3/cp2k-3.0/src/acc/mic/libmicacc.c(12
):
/home/vmilev/cp2k3/cp2k-3.0/src/acc/mic/libmicacc.h(16): catastrophic error: 
cannot open source file "libxstream.h"
  #include <libxstream.h>
                         ^

compilation aborted for /home/vmilev/cp2k3/cp2k-3.0/src/acc/mic/libmicacc.c 
(code 4)
make[3]: *** [libmicacc.o] Error 4
make[3]: *** Waiting for unfinished jobs....
In file included from /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm.h(16),
                 from /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm.hpp(15),
                 from /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm_transpose.cpp(12):
/home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/libmicsmm/../../../acc/mic/
libmicacc.h(16): catastrophic error: cannot open source file "libxstream.h"
  #include <libxstream.h>
                         ^

In file included from /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm.h(16),
                 from /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm.hpp(15),
                 from /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm.cpp(12):
/home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/libmicsmm/../../../acc/mic/
libmicacc.h(16): catastrophic error: cannot open source file "libxstream.h"
  #include <libxstream.h>
                         ^

compilation aborted for /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm_transpose.cpp (code 4)
compilation aborted for /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm.cpp (code 4)
make[3]: *** [libmicsmm_transpose.o] Error 4
make[3]: *** [libmicsmm.o] Error 4
In file included from /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm.h(16),
                 from /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm.hpp(15),
                 from /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm_process.cpp(12):
/home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/libmicsmm/../../../acc/mic/
libmicacc.h(16): catastrophic error: cannot open source file "libxstream.h"
  #include <libxstream.h>
                         ^

compilation aborted for /home/vmilev/cp2k3/cp2k-3.0/src/dbcsr/libsmm_acc/
libmicsmm/libmicsmm_process.cpp (code 4)
make[3]: *** [libmicsmm_process.o] Error 4
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
ifort: command line remark #10411: option 
'-offload-option,mic,compiler,-openmp' is deprecated and will be removed in 
a future release. Please use the replacement option 
'-qoffload-option,mic,compiler,-openmp'
make[2]: *** [all] Error 2
make[1]: *** [sopt] Error 2
make: *** [all] Error 2


How I can solve this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20160616/11eafbdf/attachment.htm>


More information about the CP2K-user mailing list