On 10/3/23 16:15, Giselle Sosa Jones wrote:

I am trying to configure deal II with options:

cmake -DDEAL_II_WITH_PETSC=ON -DCMAKE_INSTALL_PREFIX=/Users/gisellesosajones/Documents/deal_ii_95 -DPETSC_DIR=$PETSC_DIR -DPETSC_ARCH=$PETSC_ARCH -DDEAL_II_WITH_MPI=ON -DDEAL_II_WITH_HDF5=OFF


I am getting this error

CMake Error at cmake/setup_finalize.cmake:126 (message):


     Configuration error: Cannot compile a test program with the final set of

     compiler and linker flags:

      CXX flags (DEBUG): -openmp-simd -ftemplate-depth=1024 -ffp-exception-behavior=strict -Og -ggdb -Wa,--compress-debug-sections

       LD flags  (DEBUG):  -ggdb

       LIBRARIES (DEBUG): ;


Could it be related to my PETSc installation?

It could be, but it's futile to speculate without seeing the actual error message. Can you look into CMakeFiles/CMakeError.txt and search for "Cannot compile a test program with the final set of compiler and linker flags"? Above or below, you should then probably find what the compiler is complaining about.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/


--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/e32090e0-4df2-2ee4-ff7f-2563a5b52f17%40colostate.edu.

Reply via email to