'No such file: klu2_simple.h' during installation testing
Created by: bavier
Doing installation testing via Trilinos_INSTALLATION_DIR
for several packages leads to errors during make
about a missing klu2_simple.h
. For example:
cmake \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=NO \
-DTrilinos_INSTALLATION_DIR=/ptmp/trilinos-install \
-DTrilinos_ENABLE_Ifpack2:BOOL=YES \
-DTrilinos_ENABLE_TESTS:BOOL=YES \
-DTrilinos_ENABLE_OpenMP:BOOL=YES \
/ptmp/Trilinos
This seems to be because there is an executable klu2_simple
declared in Amesos2 that is not installed, and cmake attempts to build it during installation testing, but the needed klu2_simple.h header is not installed.
Declaring klu2_simple
as an example, which seems appropriate, fixes the issue. See the attached patch.