On Thu, Mar 06, 2008 Anders Logg wrote: > On Thu, Mar 06, 2008 at 04:34:40PM +0100, Anders Logg wrote: >> On Thu, Mar 06, 2008 at 01:12:17PM +0100, [EMAIL PROTECTED] wrote: >> > On Tue, February 19, 2008 Anders Logg wrote: >> > > On Tue, Feb 19, 2008 at 11:18:01AM +0000, Garth N. Wells wrote: >> > >> >> > >> >> > >> Ola Skavhaug wrote: >> > >> > Johannes Ring skrev den 19/02-2008 følgende: >> > >> >> On Mon, Feb 18, Anders Logg wrote: >> > >> >>> On Mon, Feb 18, 2008 at 02:33:40PM +0000, Garth N. Wells wrote: >> > >> >>>> This is good juncture at which re-focus on important goals for >> a >> > >> >>>> hopefully not too distant next release. Three priorities that >> I see >> > >> are: >> > >> >>>> >> > >> >>>> - New build system. >> > >> >>> I think Johannes (http://simula.no/portal_memberdata/johannr) >> has >> > >> >>> started looking at this. >> > >> >> Unfortunately, I haven't had very much time to look at this >> lately. >> > >> >> Hopefully I will get some time later this week so I can start >> working >> > >> on >> > >> >> this (if that is what Ola wants me to do). >> > >> > >> > >> > Sure, this is relatively high on the priority list. As a nice >> side >> > >> effect, you >> > >> > will become an expert SCons user, useful in lots of other >> projects :) >> > >> > >> > >> >> > >> Give that a release has just been made, this could be a good moment >> to >> > >> bite the bullet and implement the new build system in dolfin-dev, >> and >> > >> accept that things will be broken for a little while. It would be >> good >> > >> to have the build system largely sorted out before getting stuck >> into >> > >> parallelisation. >> > >> >> > >> Garth >> > > >> > > Yes, it's the only way to get it tested. As long as the scons-based >> > > DOLFIN is in a separate repository, it will be ignored by everyone. >> > > >> > > So let's break things as quickly as possible so we can fix them. >> > > >> > > Johannes, tell us as soon as you have something that "works" (for >> > > you). Then everyone can take a quick look and if there are no >> > > objections we push it to the main repository and work from there. >> > >> > The SCons build system for DOLFIN should be in a more or less >> "working" >> > state right now. I have updated the instructions at >> > http://www.fenics.org/wiki/Compiling_DOLFIN_with_SCons >> > >> > Please, have a go! >> >> Very nice! (I haven't checked it yet but I assume it is...) >> >> I suggest we set a deadline for next Friday (March 14) for comments on >> the new build system. So let's everyone try it out and see if it >> works. If there are no major objections, we'll push this to dolfin-dev >> next Friday. > > I get the following error when running scons: > > scons: Reading SConscript files ... > AttributeError: 'module' object has no attribute 'defaultPythonLib': > File "/scratch/src/dolfin/dolfin-scons/SConstruct", line 50: > scons.defaultPythonLib(prefix="$prefix")),
I am not sure way this happens. Is it possible that you have an old version of simula-scons on your system? Try to use the simula-scons that is available under dolfin-scons/scons explicitly: export PYTHONPATH=/path/to/dolfin-scons/scons/simula-scons:$PYTHONPATH Johannes _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
