[CIG-LONG] compiling Gale on a supercomputer

Walter Landry wlandry at caltech.edu
Wed May 23 11:07:57 PDT 2012


Robert Gray <graywacke at gmail.com> wrote:
> Hey Walter,
> That option got me through the configuration process.  However, when I try
> to compile it it fails with the message:
> 
> compilation aborted for StGermain/Base/IO/src/IO_Handler.cxx (code 2)
> scons: *** [build/StGermain/Base/IO/src/IO_Handler.os] Error 2
> scons: building terminated because of errors.
> 
> Early on after:
> 
> scons: Building targets ...
> 
> I get:
> 
> mpicxx -o build/StGermain/Base/IO/src/IO_Handler.os -c -g -O -Wall -fPIC
> -DCURR_MODULE_NAME="\"BaseIO\"" -DDEBUG -DHAVE_LIBXML2 -DHAVE_MPI
> -DHAVE_HDF5 -DHAVE_PETSC -DSYSTEM_SIZEOF_LONG=8 -DMODULE_EXT="\"so\""
> -DLIB_DIR="\"/scratch/r/russ/rgray/GALE/build/lib\"" -DNOSHARED
> -DVERSION="\"unknown\"" -DREAD_HDF5 -DWRITE_HDF5 -Ibuild/include/muparserx
> -Ibuild/include/json_parser -Ibuild/include/json_spirit
> -I/usr/include/libxml2
> -I/scinet/gpc/Libraries/HDF5-1.8.7/v18-serial-gcc/include
> -I/scinet/gpc/Libraries/petsc-3.2-p2-openmpi-centos6/include
> -I/scinet/gpc/Libraries/petsc-3.2-p2-openmpi-centos6/linux-gnu-c-opt/include
> -I/scinet/gpc/mpi/openmpi/1.4.3-intel-v12.0/include -Ibuild/include
> -Ibuild/include/StGermain StGermain/Base/IO/src/IO_Handler.cxx
> build/include/boost/type_traits/is_rvalue_reference.hpp(21): error:
> expected a ">"
>   BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC1_1(typename
> T,is_rvalue_reference,T&&,true)
> 
> and more "error: expected a ">"" messages before the compilation aborts.

Try adding

  --cxxflags="-std=c++0x"

to the configure line.

Cheers,
Walter Landry


More information about the CIG-LONG mailing list