Dear all,
I upgraded Fenics to 1.6, since I had an upgrade to OSX 10.11, but now I cannot compile my C++ programs using dolfin. The error is simple, but weird:
In file included from /Users/sensei/Documents/Projects/fracture/fenicspp/fenicspp/Utilities.cpp:9:
In file included from /Users/sensei/Documents/Projects/fracture/fenicspp/fenicspp/Utilities.h:12:
In file included from /Applications/FEniCS.app/Contents/Resources/include/dolfin.h:22:
In file included from /Applications/FEniCS.app/Contents/Resources/include/dolfin/la/dolfin_la.h:29:
/Applications/FEniCS.app/Contents/Resources/include/dolfin/la/TpetraMatrix.h:29:10: fatal error: 'Teuchos_GlobalMPISession.hpp' file not found
#include <Teuchos_GlobalMPISession.hpp>
^
1 error generated.
Now that's weird, it worked before perfectly, and now I find that Teuchos isn't part of the package. The problem is, as far as I understand, that dolfin.h
relies indirectly on Tpetra (which is good!), and Tpetra needs Teuchos (as the underlying communication).
How can I correct this error?
Thanks!
PS. I reverted to 1.5, modifying the script to make it run on 10.11, and it compiles/links successfully.