Denis, I am here $ pwd
/home/spack/var/spack/stage/dealii-develop-hrrbqysxwyuio7nj3aqsdpgkk7zrbkiz/dealii/spack-build/CMakeFiles/CMakeTmp $ ls CMakeCache.txt *CMakeFiles* cmake_install.cmake CMakeLists.txt macro_configure_feature.tmp Makefile src.cxx $ ls CMakeFiles/ cmake.check_cache CMakeDirectoryInformation.cmake *cmTC_4e156.dir* Makefile2 Makefile.cmake *Progress* progress.marks TargetDirectories.txt If I type "make" here, it tries to do this [ 50%] Linking CXX executable cmTC_4e156 /home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/cmake-3.7.1-erobxw7bh6cbnaqfzaqwvzk6crnj5ojy/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4e156.dir/link.txt --verbose=1 /home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/openmpi-2.0.1-asdjmd22cnyktv2athcx3ouhrozknk22/bin/mpic++ -DDEAL_II_HAVE_USABLE_FLAGS_DEBUG -pedantic -fPIC -Wall -Wextra -Wpointer-arith -Wwrite-strings -Wsynth -Wsign-compare -Wswitch -Woverloaded-virtual -Wno-long-long -Wno-placement-new -Wno-deprecated-declarations -Wno-literal-suffix -fopenmp-simd -std=c++14 -Wno-unused-local-typedefs -Og -ggdb -Wa,--compress-debug-sections CMakeFiles/cmTC_4e156.dir/src.cxx.o -o cmTC_4e156 ...... and never finishes. All the flags should be available in these files, right ? Would it help to look into these ? Best praveen On Mon, Dec 19, 2016 at 7:45 PM, Denis Davydov <[email protected]> wrote: > 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 > > # 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 > 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]> 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]. >> >> 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]> >> 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_fin >>> alize.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 >>> 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/ma >>> cro_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/ >>> For mailing list/forum options, see https://groups.google.com/d/fo >>> rum/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. >>> >> >> > > -- > 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/eG75p2TVNNQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit 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. > -- 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.
