This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

In instant.recompile: The module did not compile with command 'make VERBOSE=1'

0 votes

I am trying to simply import a python module, called fenicstools. However I get the error

In instant.recompile: The module did not compile with command 'make VERBOSE=1'

I ran instant-clean, and tried again, but got the same error. I checked the instant.recompile file and this was there :

In file included from /tmp/tmppHFwHz2014-5-15-10-21_instant_a2cd44bd0587b1494dfd351c55f7a2d06402f036/dolfin_compile_code_81c70be75d9c6745ab2e66980ac24393/Probe.cpp:1:0:
/usit/abel/u1/imranal/my_modules/lib/python2.7/site-packages/fenicstools/Probe/Probe.h:73:5: error: 'shared_ptr' in namespace 'std' does not name a type
/usit/abel/u1/imranal/my_modules/lib/python2.7/site-packages/fenicstools/Probe/Probe.h:79:5: error: 'unique_ptr' in namespace 'std' does not name a type
/tmp/tmppHFwHz2014-5-15-10-21_instant_a2cd44bd0587b1494dfd351c55f7a2d06402f036/dolfin_compile_code_81c70be75d9c6745ab2e66980ac24393/Probe.cpp: In constructor 'dolfin::Probe::Probe(const dolfin::Array&, const dolfin::FunctionSpace&)':
/tmp/tmppHFwHz2014-5-15-10-21_instant_a2cd44bd0587b1494dfd351c55f7a2d06402f036/dolfin_compile_code_81c70be75d9c6745ab2e66980ac24393/Probe.cpp:11:3: error: class 'dolfin::Probe' does not have any field named '_element'

What seems to be the issue here ?

Imran

asked May 15, 2014 by imranal FEniCS Novice (240 points)

I'm guessing that you try to use a fenicstools version that is not compatible with your installed FEniCS. If you can, the easiest match would be using the 1.3.0 release of both FEniCS and fenicstools.

Thanks Øyvind Evju. I had forgotten about that!

However I reinstalled the 1.3.0 release. Still got the same error. I did instant-clean, and now its working properly!

Imran

1 Answer

0 votes

As Øyvind Evju commented, I was using the wrong version of fenicstools. The 1.3.0 release is available here :

https://github.com/mikaem/fenicstools/releases

Installing it fixed the issue (after running instant-clean).

Thanks Øyvind Evju.

answered May 15, 2014 by imranal FEniCS Novice (240 points)
...