← Back to team overview

dolfin team mailing list archive

Re: Plans

 

On Tue, Mar 11, 2008 Anders Logg wrote:
> On Tue, Mar 11, 2008 at 04:46:33PM +0000, Garth N. Wells wrote:
>>
>>
>> Anders Logg wrote:
>> > On Thu, Mar 06, 2008 at 06:03:52PM +0100, Anders Logg wrote:
>> >> On Thu, Mar 06, 2008 at 05:34:36PM +0100, Åsmund Ødegård wrote:
>> >>> On Thu, Mar 6, 2008 at 5:04 PM, Anders Logg <logg@xxxxxxxxx> wrote:
>> >>>> On Thu, Mar 06, 2008 at 04:34:40PM +0100, Anders Logg wrote:
>> >>>>  > On Thu, Mar 06, 2008 at 01:12:17PM +0100, johannr@xxxxxxxxx
>> 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")),
>> >>> Try hg pull/update and show me the output of 'scons' (there should
>> be
>> >>> some debug-print towards the top).
>> >>>
>> >>> Åsmund
>> >> scons: Reading SConscript files ...
>> >> /usr/lib/python2.5/site-packages/simula_scons/__init__.pyc
>> >> AttributeError: 'module' object has no attribute 'defaultPythonLib':
>> >>   File "/scratch/src/dolfin/dolfin-scons/SConstruct", line 52:
>> >>     scons.defaultPythonLib(prefix="$prefix")),
>> >
>> > ok, I see now what the problem is. I do have an old version of
>> > simula_scons.
>> >
>>
>> Where was the old version installed? I have the same error but I can't
>> find the old files.
>>
>> Garth
>
> It was under /usr/lib/python2.5/site-packages/simula-scons.
>
> I remember, since when I removed it, I made a mistake and wrote
>
>   rm -r /usr/lib/python2.5/site-packages
>
> which was not so good...

Oops... :)

The location of the running simula-scons can be found at the top of the
log file simula_scons.log which is located under the scons folder.

Johannes

> --
> Anders
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>




References