POV-Ray : Newsgroups : povray.unix : Compiling POVRay RC6 for the Stampede Cluster : Compiling POVRay RC6 for the Stampede Cluster Server Time
30 Apr 2024 03:53:37 EDT (-0400)
  Compiling POVRay RC6 for the Stampede Cluster  
From: waggy
Date: 10 Jan 2013 18:55:00
Message: <web.50ef5487407b567421be1230@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.