I am not getting POVRay to compile, neither for the usual E5 mainboard, nor for
runing on the 61-core teraflop coprocessor. I'd like some idea if I've made one
or more boneheaded mistakes before submitting a support ticket to the admins
here. Thanks!
http://www.tacc.utexas.edu/user-services/user-guides/stampede-user-guide#appdev-compiling
I can get it configured fine for running on the E5 mainboard.
module load boost/1.51.0
export CC=icc
export CFLAGS="-O3 -xhost"
export CXX="${CC}"
export CXXFLAGS="${CFLAGS}"
export NON_REDISTRIBUTABLE_BUILD=yes
../configure COMPILED_BY="My Name <abc### [at] myutsaedu>" \
--prefix=$HOME/e5/bin \
--with-boost=$TACC_BOOST_DIR \
--without-libjpeg \
--without-libtiff \
--enable-static
But make stops at this.
icc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../source -I../../source
-I../../source/base -I../../unix -I../../vfe -I../../vfe/unix -pthread
-I/opt/apps/intel13/boost/1.51.0/include -I/usr/include -pipe -Wno-multichar
-Wno-write-strings -s -O3 -ip -xHost -O3 -xhost -pthread -MT view.o -MD -MP -MF
..deps/view.Tpo -c -o view.o `test -f 'scene/view.cpp' || echo
'./'`scene/view.cpp
scene/view.cpp(1553): error: namespace "boost" has no member "TIME_UTC"
boost::xtime_get (&t, boost::TIME_UTC);
^
compilation aborted for scene/view.cpp (code 2)
[The caret is pointing to the T in TIME_UTC.]
Configure recognizes that I am attempting to cross-compile when I add the -mmic
flag.
export CFLAGS="-O3 -mmic"
export CXXFLAGS="${CFLAGS}"
../configure COMPILED_BY="My Name <abc### [at] myutsaedu>" \
--host=x86_64-unknown-linux-gnu \
--prefix=$HOME/mic/bin \
--with-boost=$TACC_BOOST_DIR \
--without-libjpeg \
--without-libtiff \
--enable-static
But configure aborts with this.
checking for boostlib >= 1.37... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread... no
checking for exit in -lboost_thread... (cached) no
checking for exit in -lboost_thread... (cached) no
configure: error: Could not link against boost_thread !
Post a reply to this message
|