[Trilinos-Users] [12.2.1] Amesos2 does not see SLU::superlu_options_t etc

Denis Davydov davydden at gmail.com
Fri Sep 4 10:08:04 EDT 2015


Dear all, 

It seems some namespace wrapping for Superlu is inconsistent within Amesos2:

In file included from /Users/davydden/Downloads/trilinos-12.2.1-Source/packages/amesos2/src/Amesos2_Factory.cpp:44:
In file included from /Users/davydden/Downloads/trilinos-12.2.1-Source/packages/amesos2/src/Amesos2_Factory.hpp:108:
In file included from /Users/davydden/Downloads/trilinos-12.2.1-Source/packages/amesos2/src/Amesos2_Superlu.hpp:47:
In file included from /Users/davydden/Downloads/trilinos-12.2.1-Source/packages/amesos2/src/Amesos2_Superlu_decl.hpp:58:
/Users/davydden/Downloads/trilinos-12.2.1-Source/packages/amesos2/src/Amesos2_Superlu_FunctionMap.hpp:83:14: error: no type named 'superlu_options_t' in namespace 'SLU'; did you mean 'SLUD::superlu_options_t'?
      sgssvx(SLU::superlu_options_t *, SLU::SuperMatrix *, int *, int *, int *,
                  ^~~~~~~~~~~~~~~~~~~~~~
                  SLUD::superlu_options_t
/usr/local/opt/superlu_dist/include/superlu_dist/superlu_defs.h:540:3: note: 'SLUD::superlu_options_t' declared here
} superlu_options_t;
  ^

And there are other similar errors for all kind SuperLU objects.
It could also be due to include SuperLU include directory not provided as compiler flag. 
But I suppose in that case the error would rather be at 
#include “slu_util.h"

p.s. superlu_options_t is there in #include “slu_util.h” (v4.3).

Regards,
Denis.


More information about the Trilinos-Users mailing list