Dijitso Compilation error

Hello everyone,

I’m using legacy dolfin to develop my code. I did some modifications on a working code, basically I added another equation to my system.

I am getting a Dijitso compilation error at the solving stage of the code

df.solve(self.a_form ==  self.b_form, du)

which reads:

DijitsoError: Dijitso JIT compilation failed, see \path\...

This is the error.log file that I get:

/tmp/tmp547ftl4y/ffc_form_d897fdf1eb75feac776e34bc78dc54c3fd9b5587.cpp: In member function ‘virtual void ffc_form_d897fdf1eb75feac776e34bc78dc54c3fd9b5587_exterior_facet_integral_main_2::tabulate_tensor(double*, const double* const*, const double*, std::size_t, int) const’:
/tmp/tmp547ftl4y/ffc_form_d897fdf1eb75feac776e34bc78dc54c3fd9b5587.cpp:711:57: error: ‘inf’ was not declared in this scope; did you mean ‘ynf’?
  711 |     alignas(32) static const double weights133[133] = { inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf };
      |                                                         ^~~
      |                                                         ynf

I know it’s difficult to know what’s going on without a MWE, however, my code is pretty involved already, so thanks in advance for any help.

Without a code that produces this error, there is no way anyone can point out the potential issue.

The only general suggestion might be to clear out the cache,
dijitso clean

2 Likes