← Back to team overview

dolfin team mailing list archive

[Fwd: Re: [Dorsal] dorsal on leopard]

 

-------- Forwarded Message --------
> From: Garth N. Wells <gnw20@xxxxxxxxx>
> To: barbone@xxxxxx
> Cc: dolfin@xxxxxxxxxxxxxxxxxxx, dorsal@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Dorsal] dorsal on leopard
> Date: Tue, 03 Aug 2010 17:52:30 +0100
> 
> On Tue, 2010-08-03 at 12:26 -0400, Paul Barbone wrote:
> > Hello all,
> > 
> > I'm excited to give this a try. 
> > 
> > In the meantime, I've been (trying) to install dorsal on leopard 
> > (10.5.8).  The snowleopard.package seems to almost work with the 
> > following modifications:
> > 
> > default PETSC_ARCH=darwin9.2.0-cxx-opt
> > default GMP_ARCH=none-apple-darwin
> > 
> > 
> > I also had to comment out the scotch package (per Garth Wells' advice). 
> > 
> > 
> > I'm now stuck at compiling DofMapBuilder.cpp, which ends with the 
> > message (among many):
> > 
> > /usr/include/c++/4.0.0/tr1/hashtable:1363: warning: control reaches end 
> > of non-void function
> > scons: *** [dolfin/fem/DofMapBuilder.os] Error 1
> > scons: building terminated because of errors.
> > dolfin/fem/DofMapBuilder.os failed: Error 1
> > 
> 
> We use a new feature of C++ which is broken in older compilers (e.g. gcc
> 4.0.0).
> 

We were stuck a while back between using tr1 or Boost for unordered sets
since the old Boost version distributed with Hardy doesn't support
unordered sets, and the older OSX gcc versions are broken for
tr1::unordered_set. Hardy is getting long in the tooth now and I added
something else recently that doesn't work with the old Boost, so I
suggest that we use boost:: rather than tr1::, and drop support for
Hardy.

Garth 

> Harish: macports has loads of gcc (and openmpi) versions. Can Dorsal
> tell user to get gcc from macports and then use that?
> 
> Garth
> 
> > 
> > I'd appreciate suggestions.  Thanks! 
> > 
> > -Paul
> > 
> > 
> > 
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dorsal
> > Post to     : dorsal@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~dorsal
> > More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dorsal
> Post to     : dorsal@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dorsal
> More help   : https://help.launchpad.net/ListHelp