← Back to team overview

dolfin team mailing list archive

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

 

On 05/14/2012 12:03 PM, Anders Logg wrote:
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.

Yupp, that is where it supposed to be.

Johan	

--
Anders

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp



References