Dear Praveen, Unfortunately I don't have any suggestions about CMake hanging. I've just reinstalled deal.II through Spack on both my Apple and Linux machines and I didn't run into the problem you're experiencing. Denis has some experience with installing deal.II though spack on a number of different systems/architectures, so perhaps he has some additional advice for you. Maybe you could try to work out where in the test its stuck?
On your other point, I personally use filesystem views because I find modules and `spack location -i` to be far too slow when you're loading many packages. The views also ensure a consistent library path for all of the dependencies. I know that you can build your own "custom" local package thats easily updated. There's a post on the spack forum about it, and its definitely a discussion worth having there instead of here because it might be quite involved. My current work-around for this complexity is to install dealii@develop through spack, to make sure that I've got all of the possible dependencies for a feature-complete deal.II installed, and then build my own cloned version of deal.II somewhere else. With the filesystem views, one simply points deal.II to a single directory to find all of the packages: cmake \ -DDEAL_II_COMPONENT_DOCUMENTATION=OFF \ -DDEAL_II_WITH_BOOST=ON \ -DBOOST_DIR=$SPACK_VIEW_DIR \ -DDEAL_II_WITH_BZIP2=TRUE \ -DBZIP2_DIR=$SPACK_VIEW_DIR \ -DDEAL_II_WITH_UMFPACK=ON \ -DUMFPACK_DIR=$SPACK_VIEW_DIR \ -DDEAL_II_WITH_MPI=ON \ -DMPI_DIR=$SPACK_VIEW_DIR \ -DDEAL_II_WITH_METIS=ON \ -DMETIS_DIR=$SPACK_VIEW_DIR \ -DDEAL_II_WITH_P4EST=ON \ -DP4EST_DIR=$SPACK_VIEW_DIR \ -DDEAL_II_WITH_PETSC=ON \ -DPETSC_DIR=$SPACK_VIEW_DIR \ -DDEAL_II_WITH_TRILINOS=ON \ -DTRILINOS_DIR=$SPACK_VIEW_DIR \ -DCMAKE_INSTALL_PREFIX=<PATH>/install \ ../dealii Best, Jean-Paul On Friday, December 16, 2016 at 4:34:29 AM UTC+1, Praveen C wrote: > > Additionally I added Fortran compiler and fixed "suitesparse" to > "suite-sparse", but I am still stuck at the same place as before. > > Should I use "Filesystem View" to compile my own dealii with spack > packages ? > > If I install dealii@develop using spack, how do I update dealii in future ? > > Thanks > praveen > -- 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.
