← Back to team overview

dolfin team mailing list archive

Re: Scons cannot find boost libraries on ubuntu

 

On Monday 02 February 2009 12:21:23 Jesper Carlsson wrote:
> On Mon, Feb 2, 2009 at 12:19 PM, Jesper Carlsson <jesperc0@xxxxxxxxx> wrote:
> > Hi,
> >
> > export CXXFLAGS="-Wall -pipe -ansi" did not work, so I removed the werror
> > flag from the SConstruct file, and now it seems ok. I used the 0.9.0
> > release btw.

Strange that export CXXFLAGS="-Wall -pipe -ansi" did not work, as that change 
should kick in at this line in the SConstruct file:

  env['CXXFLAGS'] = os.environ.get("CXXFLAGS", "-Wall -pipe -ansi -Werror")

> > Now I have to find out why PETSc crashes when running on multiple
> > kernerls. Any ideas?

Nope :(

Johan


> > /Jesper
> >
> > On Mon, Feb 2, 2009 at 11:57 AM, Johannes Ring <johannr@xxxxxxxxx> wrote:
> >> On Mon, February 2, 2009 11:51, Johan Hake wrote:
> >> > On Monday 02 February 2009 11:00:37 Harish Narayanan wrote:
> >> >> Jesper Carlsson wrote:
> >> >> > Hi,
> >> >> >
> >> >> > I have not added any cxx flags manually.
> >> >>
> >> >> Before running scons to build dolfin, try setting CXX flags manually
> >>
> >> and
> >>
> >> >> explicitly don't set -Werror. i.e,
> >> >>
> >> >> export CXXFLAGS="-Wall -pipe -ansi"
> >> >
> >> > Garth has "fixed" this in the development version, removing any
> >>
> >> appearence
> >>
> >> > of -werror before compiling the swig generated wrapper code.
> >>
> >> Yes, it should have been removed, but it is not. See Jesper's compile
> >> line that fails.
> >>
> >> Johannes
> >>
> >>
> >> _______________________________________________
> >> DOLFIN-dev mailing list
> >> DOLFIN-dev@xxxxxxxxxx
> >> http://www.fenics.org/mailman/listinfo/dolfin-dev




References