$ 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
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 \
..
-- Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG
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
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
Alternative, is to add the view to your path, i.e.PATH=${DEAL_II_VIEW}/bin:${PATH}then-DCMAKE_C_COMPILER="mpicc"would also be ok.
DEAL_II_VIEW=/home/soft
cmake \
-DCMAKE_FIND_FRAMEWORK=LAST \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=FALSE \
-DCMAKE_INSTALL_RPATH=${DEAL_II_VIEW} \
-DCMAKE_BUILD_TYPE=DebugRelease \
-DDEAL_II_COMPONENT_EXAMPLES=ON \
-DDEAL_II_WITH_THREADS:BOOL=ON \
-DBOOST_DIR=${DEAL_II_VIEW} \
-DBZIP2_DIR=${DEAL_II_VIEW} \
-DMUPARSER_DIR=${DEAL_II_VIEW} \
-DUMFPACK_DIR=${DEAL_II_VIEW} \
-DTBB_DIR=${DEAL_II_VIEW} \
-DZLIB_DIR=${DEAL_II_VIEW} \
-DDEAL_II_WITH_MPI:BOOL=ON \
-DCMAKE_C_COMPILER=${DEAL_II_VIEW}/bin/mpicc \
-DCMAKE_CXX_COMPILER=${DEAL_II_VIEW}/bin/mpic++ \
-DCMAKE_Fortran_COMPILER=${DEAL_II_VIEW}/bin/mpif90 \
-DGSL_DIR=${DEAL_II_VIEW} \
-DDEAL_II_WITH_GSL:BOOL=ON \
-DHDF5_DIR=${DEAL_II_VIEW} \
-DDEAL_II_WITH_HDF5:BOOL=ON \
-DP4EST_DIR=${DEAL_II_VIEW} \
-DDEAL_II_WITH_P4EST:BOOL=ON \
-DPETSC_DIR=${DEAL_II_VIEW} \
-DDEAL_II_WITH_PETSC:BOOL=ON \
-DSLEPC_DIR=${DEAL_II_VIEW} \
-DDEAL_II_WITH_SLEPC:BOOL=ON \
-DTRILINOS_DIR=${DEAL_II_VIEW} \
-DDEAL_II_WITH_TRILINOS:BOOL=ON \
-DMETIS_DIR=${DEAL_II_VIEW} \
-DDEAL_II_WITH_METIS:BOOL=ON \
-DDEAL_II_COMPONENT_DOCUMENTATION=OFF \
-DARPACK_DIR=${DEAL_II_VIEW} \
-DDEAL_II_WITH_ARPACK=ON \
-DDEAL_II_ARPACK_WITH_PARPACK=ON \
-DNETCDF_DIR=${DEAL_II_VIEW} \
-DOPENCASCADE_DIR=${DEAL_II_VIEW} \
-DDEAL_II_WITH_OPENCASCADE=ON \
../
==> gsl is already installed in /home/spack/opt/spack/linux-opensuse20161212-x86_64/gcc-6/gsl-2.2.1-rqhjfsomxyrou5mdrtedrtbamhh5msic
==> openblas is already installed in /home/spack/opt/spack/linux-opensuse20161212-x86_64/gcc-6/openblas-0.2.19-i6qy7tgdqwl3i4vfkl2ao6e4rxg5ylyt
==> Already fetched /home/spack/var/spack/stage/dealii-develop-2rljl3eutxbdurgdrk656j3hutisl7a5/dealii
==> No checksum needed when fetching with git
==> Already staged dealii-develop-2rljl3eutxbdurgdrk656j3hutisl7a5 in /home/spack/var/spack/stage/dealii-develop-2rljl3eutxbdurgdrk656j3hutisl7a5
==> No patches needed for dealii
==> Building dealii [CMakePackage]
==> Executing phase : 'cmake'
--
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+unsubscribe@googlegroups.com.
-- Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUGso I killed it. Let me know if you want me to wait longer with hope of getting some error message.
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.
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}}
)
--
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 dealii+un...@googlegroups.com.
<cmake_procs.txt>
$ 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
[ 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 ......
Kind regards,Denis
To unsubscribe from this group and all its topics, send an email to dealii+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<cmake_procs.txt>
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
spack install dealii@develop~gsland alsospack install dealii@develop~python+mpi^boost+python
On 19 Dec 2016, at 17:02, Praveen C <cpra...@gmail.com> wrote:
Kind regards,Denis
To unsubscribe from this group and all its topics, send an email to dealii+unsubscribe@googlegroups.com.
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 dealii+unsubscribe@googlegroups.com.
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 dealii+un...@googlegroups.com.
/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_427e9.dir/src.cxx.o -o cmTC_427e9
$ sh CMakeFiles/cmTC_a2bf5.dir/link.txt
Using built-in specs.
COLLECT_GCC=/usr/bin/g++
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/6/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada,go --enable-offload-targets=hsa --enable-checking=release --with-gxx-include-dir=/usr/include/c++/6 --enable-ssp --disable-libssp --disable-libvtv --disable-libcc1 --enable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-6 --without-system-libunwind --enable-multilib --with-arch-32=x86-64 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 6.2.1 20161209 [gcc-6-branch revision 243481] (SUSE Linux)
COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/6/:/usr/lib64/gcc/x86_64-suse-linux/6/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/6/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/6/../../../../x86_64-suse-linux/bin/
LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/6/:/usr/lib64/gcc/x86_64-suse-linux/6/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib64/gcc/x86_64-suse-linux/6/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/6/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-D' 'DEAL_II_HAVE_USABLE_FLAGS_DEBUG' '-Wpedantic' '-fPIC' '-Wall' '-Wextra' '-Wpointer-arith' '-Wwrite-strings' '-Wsynth' '-Wsign-compare' '-Wswitch' '-Woverloaded-virtual' '-Wno-long-long' '-Wplacement-new=0' '-Wno-deprecated-declarations' '-Wno-literal-suffix' '-fopenmp-simd' '-std=c++14' '-Wno-unused-local-typedefs' '-Og' '-ggdb' '-o' 'cmTC_a2bf5' '-L/home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/tbb-2017.3-zeacdx23pi4h4lrlo5xxg7p3ihx5qt4q/lib' '-rdynamic' '-rdynamic' '-ggdb' '-I' '/home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/openmpi-2.0.1-asdjmd22cnyktv2athcx3ouhrozknk22/include' '-pthread' '-L/home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/hwloc-1.11.4-7osold4o3nkppdzghwo5fjlgmxpsqb4h/lib' '-L/home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/openmpi-2.0.1-asdjmd22cnyktv2athcx3ouhrozknk22/lib64' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
On 20 Dec 2016, at 11:32, Praveen C <cpra...@gmail.com> wrote:Without Trilinos, the linking takes 0.307sSo I am adding one library from Trilinos after another. I find that as I add more Trilinos libraries, the linking takes increasing time.until libifpack.so ==> 3m 47suntil libzoltan2.so ==> 3m 54suntil libaztecoo.so ==> 10m 6sThese times are already too high. So there is no single library in Trilinos that is causing problem. Whole of Trilinos seems to be problematic.
==> Using cached archive: /home/spack/var/spack/cache/boost/boost-1.62.0.tar.bz2
==> Already staged boost-1.62.0-iha4a5u6hustzchy6iglss5gbz2ujrvc in /home/spack/var/spack/stage/boost-1.62.0-iha4a5u6hustzchy6iglss5gbz2ujrvc
==> No patches needed for boost
==> Building boost [Package]
==> Executing phase : 'install'
==> Error: ProcessError: ./bootstrap.sh: No such file or directory
Command: './bootstrap.sh' '--prefix=/home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/boost-1.62.0-iha4a5u6hustzchy6iglss5gbz2ujrvc' '--with-toolset=gcc' '--with-libraries=locale,random,wave,atomic,serialization,mpi,iostreams,regex,date_time,log,thread,chrono,system,timer,signals,program_options,filesystem,test,math'
/home/spack/var/spack/repos/builtin/packages/boost/package.py:309, in install: