dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12045
Re: FunctionSpace error in python
On Tue, Feb 10, 2009 at 1:31 PM, Anders Logg <logg@xxxxxxxxx> wrote:
> On Tue, Feb 10, 2009 at 01:19:29PM +0100, Johannes Ring wrote:
>> On Tue, February 10, 2009 13:18, Johan Hake wrote:
>> > On Tuesday 10 February 2009 13:12:37 Johannes Ring wrote:
>> >> On Fri, January 23, 2009 10:32, Johan Hake wrote:
>> >> > On Friday 23 January 2009 10:09:12 Martin Sandve Alnæs wrote:
>> >> >> On Fri, Jan 23, 2009 at 9:39 AM, Johannes Ring <johannr@xxxxxxxxx>
>> >> >>
>> >> >> wrote:
>> >> >> > On Thu, January 22, 2009 19:10, Johan Hake wrote:
>> >> >> >> On Thursday 22 January 2009 17:02:41 A Navaei wrote:
>> >> >> >>> Johan,
>> >> >> >>>
>> >> >> >>> Thanks, instant-clean did the trick! Maybe this should be somehow
>> >> >> >>> automated.
>> >> >> >>
>> >> >> >> Yes, I have thought about it.
>> >> >> >>
>> >> >> >> Is it possible to add a call to instant-clean in the install
>> >> script
>> >> >>
>> >> >> of
>> >> >>
>> >> >> >> the ffc
>> >> >> >> and dolfin packages Johannes?
>> >> >> >
>> >> >> > Yes, it is possible to add post installation scripts to the FFC and
>> >> >> > DOLFIN packages (and perhaps Instant) that runs instant-clean.
>> >> Should
>> >> >>
>> >> >> I
>> >> >>
>> >> >> > add this?
>> >> >> >
>> >> >> > Johannes
>> >> >>
>> >> >> Can you add it to SyFi as well please? But we don't want this in
>> >> >> development versions though, we should at least have an option
>> >> >> to avoid it.
>> >> >
>> >> > I think it will be sufficient to add the automatic cleaning in the
>> >> ubuntu
>> >> > scripts.
>> >>
>> >> Hi,
>> >>
>> >> I had to remove the post installation scripts that did the automatic
>> >> cleaning of the Instant cache as it is not very nice (security vise) to
>> >> remove files from a users home directory without the users permission
>> >> (drift told me). This should be solved at a different level, not by the
>> >> Ubuntu packages.
>> >
>> > Ok, sounds reasonable.
>> >
>> > I do not think this will bring any compatability problems for ubuntu
>> > users,
>> > with the recently added swig checks.
>>
>> Ok, good.
>>
>> Johannes
>
> The only problem is the Instant cache might start to fill up, but that
> might happen even with a single installation and solving lots of
> different models (or even a single complex model).
>
> Maybe at some point, Instant can issue a warning if the cache grows
> out of proportions.
>
> --
> Anders
It could even clean up the cache when adding new contents
by removing the modules that hasn't been used for the longest
time such that a max size limit is respected.
Martin
References