[CIG-LONG] compiling Gale on a supercomputer
Robert Gray
graywacke at gmail.com
Wed May 23 10:55:53 PDT 2012
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.
Any advice would help me out a ton.
Cheers,
Rob
On Tue, May 22, 2012 at 12:45 PM, Walter Landry <wlandry at caltech.edu> wrote:
> Robert Gray <graywacke at gmail.com> wrote:
> > Hey guys,
> > I'm trying, unsuccessfully, to compile Gale on the supercomputer here in
> > Toronto. I have all the necessary modules loaded but Gale can't find
> > petsc3.2 and, as a result, can't configure.
> > I've attached the config.log file. Any help is much appreciated.
>
> It looks like the configure script is failing when trying to link in
> Petsc because it can not find the X11 libraries. Try adding the
> option
>
> --linkflags=-lX11
>
> Cheers,
> Walter Landry
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-long/attachments/20120523/ea854f55/attachment.htm
More information about the CIG-LONG
mailing list