Xpetra: link error ("file truncated"): GCC 4.9.3, MPI_DEBUG, OpenMP enabled
Created by: mhoemmen
I'm trying to add a new test to Ifpack2. Ifpack2 depends optionally on Xpetra. When building Ifpack2's unit tests, I get the following link error:
Scanning dependencies of target belostpetra
[ 87%] Linking CXX shared library libxpetra.so
[ 87%] Linking CXX shared library libbelosepetra.so
CMakeFiles/xpetra.dir/Utils/Xpetra_Utils.cpp.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [packages/xpetra/src/libxpetra.so.12.13] Error 1
CMakeFiles/belosepetra.dir/BelosEpetraAdapter.cpp.o: file not recognized: make[1]: File truncated*** [packages/xpetra/src/CMakeFiles/xpetra.dir/all] Error 2
This is an MPI_DEBUG
build, with GCC 4.9.3 and OpenMP enabled. The corresponding MPI_RELEASE
build does not have this issue.
@trilinos/xpetra @trilinos/muelu