Log file pointing to wrong file

Issue #6 new
Prof Garth Wells created an issue

When the jit compiler fails, it points the user to the log file located somewhere under ~/.instant/error. That log file lists an error for a file that does not exist since it was created in /tmp and then removed. The file does exist but in another location, namely in the same directory as the log file.

Comments (6)

  1. Jan Blechta

    This bug makes usage of debugger inside of a compiled module very unplesant, e.g.

    from dolfin import *
    ...
    module = compile_extension_module(code, cppargs='-g -O2')
    ...
    

    Debgger then cannot find the source file of the module although the code supports debugging.

    Does anybody know how to fix it?

  2. Jan Blechta

    Ok, I did not explained well what does it have in common with log file. The point is that module is compiled in /tmp and then moved to ~/.instant/ which is the common problem of both issues.

  3. Log in to comment