dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #25635
Re: Where can I find the JIT SWIG generated code ?
-
To:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
From:
Anders Logg <logg@xxxxxxxxx>
-
Date:
Mon, 14 May 2012 12:03:39 +0200
-
Cc:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAA4C66MK0_RySS8hJ_hwei3tjHrAhEku-OXAaUO+g=_HWV0vFA@mail.gmail.com>
-
User-agent:
Mutt/1.5.21 (2010-09-15)
On Mon, May 14, 2012 at 10:59:30AM +0100, Garth N. Wells wrote:
> On 14 May 2012 10:54, Anders Logg <logg@xxxxxxxxx> wrote:
> > On Mon, May 14, 2012 at 08:37:20AM +0100, Garth N. Wells wrote:
> >> Where the is the JIT SWIG generated code placed, especially when it
> >> fails to compile? I can find the log, but not the code itself. Is it
> >> deleted?
> >>
> >> Garth
> >
> > If the log file is
> >
> > /home/<user>/.instant/error/dolfin_compile_code_<hash>/compile.log
> >
> > then the code is in
> >
> > /home/<user>/.instant/error/dolfin_compile_code_<hash>/dolfin_compile_code_<hash>_wrap.cxx
> >
>
> I don't think that it's there when the compilation fails. Instant
> seems to remove it. I had to hack instant to not remove the generated
> code from /tmp.
Strange. I intentionally created an error in an Expression and that is
where the failing code went.
--
Anders
Follow ups
References