Looks like that did it - compiled the latest version of gcc and added it as a module. Compile finished without errors. Thanks for the help!
Jon > On Nov 10, 2014, at 1:40 PM, Garth N. Wells <[email protected]> wrote: > > > > On Mon, 10 Nov, 2014 at 6:12 PM, Milby, Jonathan S <[email protected]> wrote: >> gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) > > That's pretty old, and is very unlikely to build the DOLFIN dev version > (which uses C++11). > > Most production RedHat/CentOS systems will have more recent gcc versions > installed by the administrators, possibly available through the module > system. Try a more recent gcc. > > Garth > >> -----Original Message----- >> From: Jan Blechta [mailto:[email protected]] >> Sent: Monday, November 10, 2014 1:09 PM >> It may be a bug in a compiler. There were some in g++. Which version are you >> using? >> Jan >> On Mon, 10 Nov 2014 15:59:03 +0000 >> "Milby, Jonathan S" <[email protected]> wrote: >>> Hi all, >>> I'm having trouble getting the FEniCS suite to compile from CentOS >>> 6.5 (on a Rocks 6.1.1 cluster) using dorsal.sh. I am using the >>> rhel6.platform file as the basis for my config, with >>> STABLE_BUILD=false and boost added to the PACKAGES list. >>> Everything looks OK until it tries to build dolfin, at which point >>> this happens: >>> [ 5%] Building CXX object >>> dolfin/CMakeFiles/dolfin.dir/ale/HarmonicSmoothing.cpp.o In file >>> included from >>> /home/jsmilb0/Work/FEniCS/src/dolfin/dolfin/ale/HarmonicSmoothing.cpp:22: >>> /home/jsmilb0/Work/FEniCS/src/dolfin/dolfin/parameter/GlobalParameters.h: >>> In static member function 'static dolfin::Parameters >>> dolfin::GlobalParameters::default_parameters()': >>> /home/jsmilb0/Work/FEniCS/src/dolfin/dolfin/parameter/GlobalParameters.h:84: >>> error: no matching function for call to 'dolfin::Parameters::add(const >>> char [21], std::string&, <brace-enclosed initializer list>)' >>> It throws 5 of those errors for GlobalParameters.h with a couple of >>> variations on parameters to that function (other variation is const >>> char*, const char*, <brace-enclosed initializer list>). >>> Any idea how to resolve this? >>> Many thanks in advance, >>> Jon >>> _______________________________________________ >>> fenics mailing list >>> [email protected] >>> http://fenicsproject.org/mailman/listinfo/fenics >> _______________________________________________ >> fenics mailing list >> [email protected] >> http://fenicsproject.org/mailman/listinfo/fenics > _______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
