Zhenlin, Before installation, I had loaded modules intel/15.0.2 and cxx11, and was using mvapich2/2.1.
For Trilinos, here is the cmake command: cmake \ -D Trilinos_ENABLE_CXX11=ON \ -D Trilinos_ENABLE_Sacado=ON \ -D Trilinos_ENABLE_MueLu:BOOL=ON \ -D Trilinos_ENABLE_Stratimikos=ON \ -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_CXX_FLAGS="-mkl -std=c++11 -O3" \ -D CMAKE_C_FLAGS="-mkl -O3" \ -D CMAKE_FORTRAN_FLAGS="-03" \ -D Trilinos_EXTRA_LINK_FLAGS="-lgfortran" \ -D CMAKE_VERBOSE_MAKEFILE=FALSE \ -D Trilinos_VERBOSE_CONFIGURE=FALSE \ -D TPL_ENABLE_MPI=ON \ -D BUILD_SHARED_LIBS=ON \ -D CMAKE_C_COMPILER=`which mpicc` \ -D CMAKE_CXX_COMPILER=`which mpicxx` \ -D CMAKE_Fortran_COMPILER=`which mpif90` \ -D MPI_EXEC=`which mpiexec` \ -D BLAS_LIBRARY_DIRS:PATH="/opt/apps/intel/15/composer_xe_2015.2.164/mkl/lib/intel64" \ -D BLAS_LIBRARY_NAMES:STRING="mkl_intel_lp64; mkl_intel_thread; mkl_core;" \ -D LAPACK_LIBRARY_DIRS:PATH="/opt/apps/intel/15/composer_xe_2015.2.164/mkl/lib/intel64" \ -D LAPACK_LIBRARY_NAMES:STRING="mkl_intel_lp64; mkl_intel_thread; mkl_core;" \ -D CMAKE_INSTALL_PREFIX:PATH=<Installation Path> You need MueLu, but I cannot remember if the other two libraries were necessary. Configuring PETSc was fairly straightforward. Here's a version with some optimization: ./configure \ --with-scalar-type=complex \ --with-mpi=1 \ --with-clanguage=c++ \ --with-cc=mpicc \ --with-fc=gfortran \ --with-cxx=mpic++ \ --with-fc=mpif90 \ --download-mumps \ --download-scalapack \ --with-fortran-kernels=1 \ --with-debugging=0 COPTFLAGS='-O3 -march=native -mtune=native' CXXOPTFLAGS='-O3 -march=native -mtune=native' FOPTFLAGS='-O3 -march=native -mtune=native' \ --download-fblaslapack=1 \ I did not link deal.2 to PETSc though - not sure what is going to happen if you do. cmake \ -D CMAKE_INSTALL_PREFIX=<Installation Path> \ -D DEAL_II_WITH_MPI=ON \ -D CMAKE_C_COMPILER=`which mpicc` \ -D CMAKE_CXX_COMPILER=`which mpicxx` \ -D CMAKE_Fortran_COMPILER=`which mpif90` \ -D DEAL_II_WITH_TRILINOS=ON \ -D DEAL_II_WITH_PETSC=OFF \ -D DEAL_II_WITH_P4EST=ON \ -D DEAL_II_WITH_METIS=ON \ -D METIS_DIR=/opt/apps/intel15/metis/5.0.2 \ -D P4EST_DIR=/opt/apps/intel15/mvapich2_2_1/p4est/1.1 \ -D TRILINOS_DIR=<Trilinos Path> \ -D DEAL_II_COMPONENT_DOCUMENTATION=OFF \ -D DEAL_II_COMPONENT_EXAMPLES=OFF \ -D DEAL_II_COMPONENT_MESH_CONVERTER=OFF \ .. Best, Artur -- 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.