Hi Praveen, I am glad that you at least have the whole stack of packages installed via Spack (although with minor issues due to missing "patch" on the system). As for the compilation of your own deal.II from github, the simplest way is supposed to be `spack setup dealii@develop` (see http://spack.readthedocs.io/en/latest/workflows.html#build-with-spack), but a recent PRs broke it, see https://github.com/LLNL/spack/issues/2597 The next simplest way is described in the WiKi page of deal.II: https://github.com/dealii/dealii/wiki/deal.II-in-Spack#develop-using-spack You would essentially symlink the whole stack into some folder and work with (it is similar using `/usr/local`).
As for your original problem, I can only speculate that there could be some issues with wrong MPI compiler wrappers being picked up. I presume that `spack install dealii@develop` works for you and you additionally want to have a self-compiled version with some private changes? Let use know if using FilesystemViews solves the problem. You can also do `spack load openmpi` to make sure that <prefix/bin> of OpenMPI is before your other paths like `/usr/bin`. Otherwise we need to dig deeper and see why config does not work... Regards, Denis. On Thursday, December 15, 2016 at 4:54:48 PM UTC+1, Praveen C wrote: > > Dear all > > I am trying to install on a new machine running opensuse tumbleweed. > > I installed packages using spack > > $ spack find > > *==>* 37 installed packages. > > -- linux-opensuse20161212-x86_64 / gcc@6 ------------------------ > > arpack-ng@3.4.0 m4@1.4.17 pkg-config@0.29.1 > > autoconf@2.69 matio@1.5.9 python@2.7.12 > > automake@1.15 metis@5.1.0 readline@6.3 > > boost@1.62.0 mumps@5.0.2 slepc@3.7.3 > > bzip2@1.0.6 ncurses@6.0 sqlite@3.8.5 > > cmake@3.6.1 netcdf@4.4.1 suite-sparse@4.5.3 > > glm@0.9.7.1 netlib-scalapack@2.0.2 superlu-dist@5.1.1 > > hdf5@1.10.0-patch1 openblas@0.2.19 tbb@4.4.4 > > hwloc@1.11.4 openmpi@2.0.1 trilinos@12.10.1 > > hypre@2.11.1 openssl@1.0.2j util-macros@1.19.0 > > libpciaccess@0.13.4 p4est@1.1 zlib@1.2.8 > > libsigsegv@2.10 parmetis@4.0.3 > > libtool@2.4.6 petsc@3.7.4 > > > I would like to compile deal.II from git on my own. I configure deal.II > like this > > DEAL_II_DIR=/opt/deal.II > > TRILINOS_DIR=`spack location -i trilinos` > > P4EST_DIR=`spack location -i p4est` > > METIS_DIR=`spack location -i metis` > > HDF5_DIR=`spack location -i hdf5` > > PETSC_DIR=`spack location -i petsc` > > SLEPC_DIR=`spack location -i slepc` > > UMFPACK_DIR=`spack location -i suitesparse` > > > cmake -DCMAKE_INSTALL_PREFIX=$DEAL_II_DIR \ > > -DCMAKE_C_COMPILER="mpicc" \ > > -DCMAKE_CXX_COMPILER="mpicxx" \ > > -DDEAL_II_COMPONENT_DOCUMENTATION=OFF \ > > -DDEAL_II_WITH_UMFPACK=ON \ > > -DUMFPACK_DIR=$UMFPACK_DIR \ > > -DDEAL_II_WITH_THREADS=ON \ > > -DDEAL_II_WITH_TRILINOS=ON \ > > -DTRILINOS_DIR=$TRILINOS_DIR \ > > -DDEAL_II_WITH_PETSC=ON \ > > -DPETSC_DIR=$PETSC_DIR \ > > -DDEAL_II_WITH_SLEPC=ON \ > > -DSLEPC_DIR=$SLEPC_DIR \ > > -DDEAL_II_WITH_MPI=ON \ > > -DDEAL_II_WITH_P4EST=ON \ > > -DP4EST_DIR=$P4EST_DIR \ > > -DDEAL_II_WITH_METIS=ON \ > > -DMETIS_DIR=$METIS_DIR \ > > -DDEAL_II_WITH_HDF5=ON \ > > -DHDF5_DIR=$HDF5_DIR \ > > -DDEAL_II_WITH_NETCDF=OFF \ > > -DDEAL_II_WITH_OPENCASCADE=OFF \ > > -DOPENCASCADE_DIR=$CASROOT \ > > -DDEAL_II_WITH_GSL=OFF \ > > .. > > > While running cmake, it is stuck at > > -- Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG > > Do you know what could be the problem ? > > 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 dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.