Dealii: rol tests failing

Created on 13 Nov 2017  Â·  7Comments  Â·  Source: dealii/dealii

ROL in Trilinos are failing on this tester https://cdash.kyomu.43-1.org/viewTest.php?onlyfailed&buildid=13149

with errors

In file included from /mnt/data/testsuite/dealii/tests/rol/vector_adaptor_01.cc:21:0:
/mnt/data/testsuite/dealii/include/deal.II/optimization/rol/vector_adaptor.h:226:33: error: ‘Elementwise’ in namespace ‘ROL’ does not name a type
     void applyUnary (const ROL::Elementwise::UnaryFunction<value_type> &f);

this is with TRILINOS_VERSION: 12.2.1.

Probably the interfaces in ROL changed we need to require some minimum version of Trilinos. (certainly works with 12.12.1).

@vishalkenchan could you please try to figure out which version of Trilinos has the interface to ROL you expect?

Tests

All 7 comments

@davydden I tested it with dealii@develop ^[email protected] as well. I couldn't reproduce this error with [email protected]. May be this is because of missing includes in rol/vector_adaptor.h?
Note sure, I will have a look.

strange, could indeed be some includes, like this https://github.com/dealii/dealii/issues/5455#issuecomment-344058180

@vishalkenchan you should try with 12.2.1 instead of 12.12.1.

It seems that the namespace Elementwise was introduced in 12.4.

It seems that the namespace Elementwise was introduced in 12.4.

yes, there are some other issues with 12.2.1, i think @vishalkenchan is working on a fix

The easiest fix would probably be to only enable DEAL_II_TRILINOS_WITH_ROL if we have at least Trilinos-12.4.

@masterleinad I intend to do very similar to this. I wanted to test before I push any changes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tamiko picture tamiko  Â·  5Comments

tjhei picture tjhei  Â·  6Comments

Esfahani120 picture Esfahani120  Â·  5Comments

jppelteret picture jppelteret  Â·  4Comments

adamqc picture adamqc  Â·  3Comments