← Back to team overview

dolfin team mailing list archive

Re: Where can I find the JIT SWIG generated code ?

 

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