New Build Error? Usable debug flags failed

37 views
Skip to first unread message

Zachary 42!

unread,
Dec 18, 2020, 11:00:20 AM12/18/20
to dea...@googlegroups.com
Hello,

I recently tried to build deal.II locally because the cluster is down and I have the error below. How can I attack this? I appreciate any guidance in advance!

-- Include /Users/zachary/Documents/Coding/dealii/cmake/setup_finalize.cmake
-- Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG
-- Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG - Failed
CMake Error at cmake/setup_finalize.cmake:137 (MESSAGE):


Configuration error: Cannot compile a test program with the final set of
compiler and linker flags:
CXX flags (DEBUG): -openmp-simd -std=c++14 -O0
LD flags (DEBUG): -Wl,--as-needed
LIBRARIES (DEBUG): /opt/local/lib/libz.dylib;rt;/opt/local/lib/libmetis.dylib;/opt/local/lib/libgsl.dylib;/opt/local/lib/libgslcblas.dylib;/opt/local/lib/libscalapack.dylib;/opt/intel/compilers_and_libraries_2020.2.258/mac/mkl/lib/libmkl_intel_lp64.dylib;/opt/intel/compilers_and_libraries_2020.2.258/mac/mkl/lib/libmkl_intel_thread.dylib;/opt/intel/compilers_and_libraries_2020.2.258/mac/mkl/lib/libmkl_core.dylib;/opt/intel/compilers_and_libraries_2020.2.258/mac/compiler/lib/libiomp5.dylib;-lm;-ldl;/opt/local/lib/slepc/lib/libslepc.dylib;/opt/local/lib/petsc/lib/libpetsc.dylib;/opt/local/lib/libvecLibFort.dylib;/opt/local/lib/mpich-mp/libmpifort.dylib;/opt/local/lib/mpich-mp/libmpi.dylib;/opt/local/lib/mpich-mp/libpmpi.dylib;gfortran;quadmath;m;dl;




Call Stack (most recent call first):
cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)
CMakeLists.txt:132 (VERBOSE_INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/Users/zachary/Documents/Coding/dealii/build/CMakeFiles/CMakeOutput.log".
See also "/Users/zachary/Documents/Coding/dealii/build/CMakeFiles/CMakeError.log”.

-Zachary

Daniel Arndt

unread,
Dec 18, 2020, 12:42:41 PM12/18/20
to dea...@googlegroups.com
Zachary,

are you using CMake 3.19 by any chance? We have had some problems with that recently but a recent develop version should work.

Best,
Daniel

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/60BC375B-6080-45ED-ACC3-A602506C691F%40gmail.com.

Zachary Streeter

unread,
Dec 22, 2020, 6:38:57 PM12/22/20
to deal.II User Group
So it does seem to be the Cmake version.  The problem showed up with Cmake 3.19.1 and updating to 3.19.2 fixed it apparently.  Wanted to share if anyone else comes across this.
Reply all
Reply to author
Forward
0 new messages