[CIG-LONG] compiling Gale on a supercomputer

Robert Gray graywacke at gmail.com
Wed May 23 11:41:30 PDT 2012


Hey Walter,
That option definitely helped, but the compiling process is still aborting.
Now I get the message:

/scinet/gpc/Libraries/petsc-3.2-p2-openmpi-centos6/linux-gnu-c-opt/lib/libpetsc.a(gs.o):gs.c:(.text+0x903):
more undefined references to `
dcopy_' follow
/scinet/gpc/Libraries/petsc-3.2-p2-openmpi-centos6/linux-gnu-c-opt/lib/libpetsc.a(gs.o):
In function `gs_gop_vec_pairwise_plus':
gs.c:(.text+0x1456): undefined reference to `daxpy_'
scons: *** [build/bin/Gale] Error 1
scons: building terminated because of errors.

Thanks for all your help.
Rob

On Wed, May 23, 2012 at 2:07 PM, Walter Landry <wlandry at caltech.edu> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-long/attachments/20120523/cc3a949e/attachment.htm 


More information about the CIG-LONG mailing list