PyTrilinos NOX-PETSc interface build issues
Created by: mhoemmen
@leonavery writes in #524 (closed):
The second problem is with PyTrilinos, specifcally with the NOX-PETSc interface. During configuration, there are errors from SWIG about several header files not being found. These headers are present in the source distribution at trilinos-12.6.3-Source/packages/nox/src-petsc, but apparently swig is not told to look for headers there. The same problem occurs during compilation. Compilation of several c++ files fails, because they are unable to find the same headers that swig failed to find. g++ is passed a long list of -I flags for this compilation, but there is no -I/trilinos-12.6.3-Source/packages/nox/src-petsc in the list. I don't know enough about cmake to figure out how it produces the list of include directories, but apparently this one is being left out for PyTrilinos. (I'm now trying to work around it with CMAKE_CXX_FLAGS.)
This is with gcc-6.1.0.