- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm attempting to build a version of Intel OSPRay with MIC support. I encounter this error:
[ 52%] Building CXX object builddir/ospray/intel64/embree-v2.7.1/kernels/xeonphi/CMakeFiles/embree_xeonphi.dir/__/common/scene_subdiv_mesh.cpp.o cd /home/development/OSPRay-0.10.1/build/builddir/ospray/intel64/embree-v2.7.1/kernels/xeonphi && /opt/intel/compilers_and_libraries_2016.3.210/linux/bin/intel64/icpc -DDONT_WARN_INCLUDE_EMBREE_INTERNALS=1 -DOSPRAY_TASKING_TBB -DTASKING_LOCKSTEP -D__TARGET_XEON_PHI__ -Dembree_xeonphi_EXPORTS -I/home/development/OSPRay-0.10.1/build -I/opt/intel/compilers_and_libraries_2016.3.210/linux/tbb/include -I/home/development/OSPRay-0.10.1 -I/home/development/OSPRay-0.10.1/ospray/include -I/home/development/OSPRay-0.10.1/build/builddir/ospray/intel64/embree-v2.7.1 -I/home/development/OSPRay-0.10.1/ospray/embree-v2.7.1/include -I/home/development/OSPRay-0.10.1/ospray/embree-v2.7.1/kernels/xeonphi -I/home/development/OSPRay-0.10.1/build/builddir/ospray/intel64/embree-v2.7.1/kernels/xeonphi -mmic -restrict -Wall -wd177 -fasm-blocks -fPIC -std=c++11 -O3 -g -DNDEBUG -fp-model fast -fimf-precision=low -fasm-blocks -no-inline-max-total-size -inline-factor=200 -fPIC -fma -restrict -no-prec-div -no-prec-sqrt -mGLOB_default_function_attrs="use_vec_for_imul=on;use_fast_math=on;gather_scatter_loop_jknzd=on;gather_scatter_loop_unroll=2;use_gather_scatter_hint=on;c_sch_nop_insertion=on;c_avoid_movz_and_movs=off;c_avoid_integer_ciscization=on;avoid_long_vector_ints=on;avoid_loads_with_extend=on;smart_mem_conflicts=on" -mP2OPT_hlo_prefetch=F -fPIC -o CMakeFiles/embree_xeonphi.dir/__/common/scene_subdiv_mesh.cpp.o -c /home/development/OSPRay-0.10.1/ospray/embree-v2.7.1/kernels/common/scene_subdiv_mesh.cpp /usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/bits/move.h(186): error #137: expression must be a modifiable lvalue __a = _GLIBCXX_MOVE(__b); ^ /usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/bits/move.h(187): error #137: expression must be a modifiable lvalue __b = _GLIBCXX_MOVE(__tmp); ^ /usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/bits/move.h(186): error #137: expression must be a modifiable lvalue __a = _GLIBCXX_MOVE(__b); ^ /usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/bits/move.h(187): error #137: expression must be a modifiable lvalue __b = _GLIBCXX_MOVE(__tmp); ^ /usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/bits/move.h(186): error #137: expression must be a modifiable lvalue __a = _GLIBCXX_MOVE(__b); ^ /usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/bits/move.h(187): error #137: expression must be a modifiable lvalue __b = _GLIBCXX_MOVE(__tmp); ^ /usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/bits/move.h(186): error #137: expression must be a modifiable lvalue __a = _GLIBCXX_MOVE(__b); ^ /usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/include/c++/4.7.0/bits/move.h(187): error #137: expression must be a modifiable lvalue __b = _GLIBCXX_MOVE(__tmp); ^ compilation aborted for /home/development/OSPRay-0.10.1/ospray/embree-v2.7.1/kernels/common/scene_subdiv_mesh.cpp (code 2) make[2]: *** [builddir/ospray/intel64/embree-v2.7.1/kernels/xeonphi/CMakeFiles/embree_xeonphi.dir/__/common/scene_subdiv_mesh.cpp.o] Error 2 make[2]: Leaving directory `/home/development/OSPRay-0.10.1/build' make[1]: *** [builddir/ospray/intel64/embree-v2.7.1/kernels/xeonphi/CMakeFiles/embree_xeonphi.dir/all] Error 2 make[1]: Leaving directory `/home/development/OSPRay-0.10.1/build' make: *** [all] Error 2
Any idea how to resolve? Here's some details about the system: mpss 3.7.1, Ubuntu 14.04, icpc (ICC) 16.0.3 20160415
I set up the mpss on Ubuntu by following these instructions: http://arrayfire.com/getting-started-with-the-intel-xeon-phi-on-ubuntu-14-04linux-kernel-3-13-0/ I'm able to run a test program so I think the installation went successfully.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you post this to the MIC forum: https://software.intel.com/en-us/forums/intel-many-integrated-core
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I created a new topic in the MIC forum: https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/675766
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page