Is "-- Configuring incomplete, errors occurred!" OK?

34 views
Skip to first unread message

Yuxiang Wang

unread,
Oct 10, 2018, 5:33:27 PM10/10/18
to deal.II User Group
Again sorry for asking this novice question.


I just cloned the latest git repo (git clone https://github.com/dealii/dealii) and ran cmake in a clean folder ("build") with the following command:

shwang@ComputerName:/mnt/e/dealii/abq1d/dealii/build$ cmake -DCMAKE_INSTALL_PREFIX=/mnt/e/dealii/abq1d/installed ../.

And then I saw at the end of the screen:

###
#
#  deal.II configuration:
#        CMAKE_BUILD_TYPE:       DebugRelease
#        BUILD_SHARED_LIBS:      ON
#        CMAKE_INSTALL_PREFIX:   /mnt/e/dealii/abq1d/installed
#        CMAKE_SOURCE_DIR:       /mnt/e/dealii/abq1d/dealii
#                                (version 9.1.0-pre, shortrev 1af0a57c9d)
#        CMAKE_BINARY_DIR:       /mnt/e/dealii/abq1d/dealii/build
#        CMAKE_CXX_COMPILER:     GNU 7.3.0 on platform Linux x86_64
#                                /usr/bin/c++
#
#  Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION = ON):
#      ( DEAL_II_WITH_64BIT_INDICES = OFF )
#      ( DEAL_II_WITH_ADOLC = OFF )
#        DEAL_II_WITH_ARPACK set up with external dependencies
#      ( DEAL_II_WITH_ASSIMP = OFF )
#        DEAL_II_WITH_BOOST set up with external dependencies
#      ( DEAL_II_WITH_CUDA = OFF )
#        DEAL_II_WITH_CXX14 = ON
#        DEAL_II_WITH_CXX17 = ON
#      ( DEAL_II_WITH_GMSH = OFF )
#      ( DEAL_II_WITH_GSL = OFF )
#      ( DEAL_II_WITH_HDF5 = OFF )
#        DEAL_II_WITH_LAPACK set up with external dependencies
#      ( DEAL_II_WITH_METIS = OFF )
#      ( DEAL_II_WITH_MPI = OFF )
#        DEAL_II_WITH_MUPARSER set up with bundled packages
#      ( DEAL_II_WITH_NANOFLANN = OFF )
#        DEAL_II_WITH_NETCDF set up with external dependencies
#      ( DEAL_II_WITH_OPENCASCADE = OFF )
#      ( DEAL_II_WITH_P4EST = OFF )
#      ( DEAL_II_WITH_PETSC = OFF )
#      ( DEAL_II_WITH_SCALAPACK = OFF )
#      ( DEAL_II_WITH_SLEPC = OFF )
#      ( DEAL_II_WITH_SUNDIALS = OFF )
#        DEAL_II_WITH_THREADS set up with bundled packages
#      ( DEAL_II_WITH_TRILINOS = OFF )
#        DEAL_II_WITH_UMFPACK set up with external dependencies
#        DEAL_II_WITH_ZLIB set up with external dependencies
#
#  Component configuration:
#      ( DEAL_II_COMPONENT_DOCUMENTATION = OFF )
#        DEAL_II_COMPONENT_EXAMPLES
#      ( DEAL_II_COMPONENT_PACKAGE = OFF )
#      ( DEAL_II_COMPONENT_PYTHON_BINDINGS = OFF )
#
#  Detailed information (compiler flags, feature configuration) can be found in detailed.log
#
#  Run  $ make info  to print a help message with a list of top level targets
#
###
-- Configuring incomplete, errors occurred!
See also "/mnt/e/dealii/abq1d/dealii/build/CMakeFiles/CMakeOutput.log".


Is this OK and just indicating that there are external dependencies not met (which is OK for me)? My intent is not to build deal.ii with all dependencies (I have candi for that), but just to build a minimal build. I have also attached the CMakeOutput.log and CMakeError.log, just in case.

Thank you in advance!

Best,
Shawn
CMakeOutput.log
CMakeError.log

Wolfgang Bangerth

unread,
Oct 12, 2018, 6:19:01 PM10/12/18
to dea...@googlegroups.com
On 10/10/2018 03:33 PM, Yuxiang Wang wrote:
>
> -- Configuring incomplete, errors occurred!
> See also "/mnt/e/dealii/abq1d/dealii/build/CMakeFiles/CMakeOutput.log".
>
>
>
> Is this OK and just indicating that there are external dependencies not
> met (which is OK for me)? My intent is not to build deal.ii with all
> dependencies (I have candi for that), but just to build a minimal build.
> I have also attached the CMakeOutput.log and CMakeError.log, just in case.

No, these errors are not good.

I can't see from the files that you attached what the error really is.
But if you run the cmake command again and carefully scroll through the
output produced before the "Configuring incomplete" message, you should
be able to find which place produced the error message, and that should
help figure out why that happened.

Best
W.


--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Yuxiang Wang

unread,
Oct 12, 2018, 6:37:04 PM10/12/18
to dea...@googlegroups.com
Thank you Prof. Bangerth for the response!

Actually I kept that window open so I still have the original message. I looked into it and saw quite a few optional packages not found, but I thought that would be fine. Other than that, I wasn't able to pin-point where the problem is. I have attached the entire message sent from cmake as attached. I'd really appreciate any feedback!

Best,
Shawn

--
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 a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/qfXQ8ZcM89Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Yuxiang "Shawn" Wang, PhD
shell_output.txt

Matthias Maier

unread,
Oct 12, 2018, 7:59:06 PM10/12/18
to dea...@googlegroups.com
You have a faulty trilinos installation, in particular the project
configuration file

/usr/lib/x86_64-linux-gnu/cmake/Trilinos/TrilinosConfig.cmake

is broken (See lines 355 - 2432 of your output file). You can either

* disable Trilinos for the time being by configuring with
-DWITH_TRILINOS=OFF,

* or compile and install a Trilinos version that has a sane
configuration file and configure with
-DWITH_TRILINOS=ONF -DTRILINOS_DIR="...",
(where you replace "..." with a path to your trilinos installation.

Best,
Matthias

Yuxiang Wang

unread,
Oct 12, 2018, 9:03:43 PM10/12/18
to dea...@googlegroups.com
Thank you so much Matthias! Sorry that I thought it would just compile without Trilinos in that case. 

I did: cmake -DCMAKE_INSTALL_PREFIX=/mnt/e/dealii/abq1d/installed -DDEAL_II_WITH_TRILINOS=OFF

And it ran perfectly.

Best,
Shawn
Reply all
Reply to author
Forward
0 new messages