That’s obviously a linking stage of a simple “int main(){ return0;}”, see
https://github.com/dealii/dealii/blob/master/cmake/macros/macro_check_compiler_setup.cmake
<https://github.com/dealii/dealii/blob/master/cmake/macros/macro_check_compiler_setup.cmake>
# This macro tries to compile and link a simple "int main(){ return 0; }
# with the given set of provided compiler and linker flags and an optional
# list of libraries to link against.
I have no idea why linker hangs, I never saw such issues (ideas anyone?).
I would still suggest adding extra CMake output, just move
https://github.com/dealii/dealii/blob/master/cmake/setup_finalize.cmake#L95-L102
<https://github.com/dealii/dealii/blob/master/cmake/setup_finalize.cmake#L95-L102>
infront of `CHECK_COMPILER_SETUP` to see what are the final values of all flags
and if they make any sense.
Kind regards,
Denis
> On 19 Dec 2016, at 15:08, Praveen C <[email protected]> wrote:
>
> Looking at "ps -ef" I can see which process cmake is stuck at. I have
> attached the currently running processes during "Performing Test
> DEAL_II_HAVE_USABLE_FLAGS_DEBUG".
>
> i.e., output of "ps -ef | grep spack"
>
> The test seems to be with this file
>
> cmTC_4e156
>
> It was stuck at process 71700 which is "ld".
>
> Does this give any clue ?
>
> Best
> praveen
>
> On Mon, Dec 19, 2016 at 12:25 PM, Praveen C <[email protected]
> <mailto:[email protected]>> wrote:
> Dear all
>
> I am trying to to this debugging, but I need to clean my spack installation.
> I ended up with multiple installations of some packages. E.g., I have two
> versions of [email protected]. <mailto:[email protected].>
>
> Maybe I will uninstall everything and do a fresh install of dealii@develop.
>
> Best
> praveen
>
> On Sun, Dec 18, 2016 at 9:00 PM, Denis Davydov <[email protected]
> <mailto:[email protected]>> wrote:
> Hi Praveen,
>
> It looks like it hands up in cmake/setup_finalize.cmake, more precisely in
> "CHECK_COMPILER_SETUP" inside:
>
> FOREACH(build ${DEAL_II_BUILD_TYPES})
>
> CHECK_COMPILER_SETUP(
>
> "${DEAL_II_CXX_FLAGS} ${DEAL_II_CXX_FLAGS_${build}}"
>
> "${DEAL_II_LINKER_FLAGS} ${DEAL_II_LINKER_FLAGS_${build}}"
>
> DEAL_II_HAVE_USABLE_FLAGS_${build}
>
> ${DEAL_II_LIBRARIES} ${DEAL_II_LIBRARIES_${build}}
>
> )
>
>
> ...
> ENDFOREACH()
>
>
> For now I would suggest to debug it as follows:
> (i) use FilesystemViews to setup build from a locally checkout .git folder of
> deal.II@develop
> (ii) add some output (MESSAGE()) to CMake scripts to determine where exactly
> it hangs.
> I would start with putting
> https://github.com/dealii/dealii/blob/master/cmake/setup_finalize.cmake#L95-L102
>
> <https://github.com/dealii/dealii/blob/master/cmake/setup_finalize.cmake#L95-L102>
> (and remove "FATAL_ERROR")
> right in front of this line
> https://github.com/dealii/dealii/blob/master/cmake/setup_finalize.cmake#L87
> <https://github.com/dealii/dealii/blob/master/cmake/setup_finalize.cmake#L87>
> If you see that it hangs indeed in CHECK_COMPILER_SETUP, then start putting
> messages in
> https://github.com/dealii/dealii/blob/master/cmake/macros/macro_check_compiler_setup.cmake
>
> <https://github.com/dealii/dealii/blob/master/cmake/macros/macro_check_compiler_setup.cmake>
>
> That should eventually lead to to a single line which hangs on your system.
>
> Regards,
> Denis.
>
>
> On Saturday, December 17, 2016 at 4:16:08 PM UTC+1, Praveen C wrote:
>
>
> On Sat, Dec 17, 2016 at 8:41 PM, Denis Davydov <[email protected] <>> wrote:
> That looks like something is wrong in deal.II configuration tests.
> Correct me if I am wrong, but 8.4.2 installs ok for you with Spack but the
> current @develop fails,
> so the changes must have been introduced after 8.4.2 release.
>
> Yes, 8.4.2 install fine with spack but develop does not.
>
> Best
> praveen
>
> --
> The deal.II project is located at http://www.dealii.org/
> <http://www.dealii.org/>
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> <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]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
>
> --
> The deal.II project is located at http://www.dealii.org/
> <http://www.dealii.org/>
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> <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/eG75p2TVNNQ/unsubscribe
> <https://groups.google.com/d/topic/dealii/eG75p2TVNNQ/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to
> [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
> <cmake_procs.txt>
--
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].
For more options, visit https://groups.google.com/d/optout.