Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doku:petsc-vsc2 [2014/08/07 10:18] jzdoku:petsc [2022/02/01 21:16] (current) – ↷ Page name changed from doku:petsc-vsc2 to doku:petsc goldenberg
Line 1: Line 1:
 ===== Installation of PETSc ===== ===== Installation of PETSc =====
  
-=== petsc 3.2-p7 ===+==== PETSc 3.2-p7 ====
  
-  * without debugging and optimised+  * without debuggingoptimised
   * with Intel Compiler   * with Intel Compiler
   * with Intel MKL   * with Intel MKL
Line 12: Line 12:
   * with Parmetis   * with Parmetis
  
-<code>./configure -with-cc=mpiicc --with-cxx=mpiicpc --with-fc=mpiifort COPTFLAGS='-O3 -xHost' CXXOPTFLAGS='-O3-xHost' FOPTFLAGS='-O3 -xHost' --download-superlu --download-mumps --download-parmetis --with-blas-lapack-dir=/opt/intel/mkl/lib/intel64 PETSC_ARCH=intel_opt_32 --with-shared-libraries=yes --with-blacs-lib=/opt/intel/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a --with-blacs-include=/opt/intel/mkl/include --with-scalapack-lib=/opt/intel/mkl/lib/intel64/libmkl_scalapack_lp64.a --with-scalapack-include=/opt/intel/mkl/include --prefix=/opt/sw/petsc/3.2-p7  --with-valgrind-dir=/opt/sw/valgrind/3.9.0 --with-scalar-type=complex --with-debugging=0+<code>./configure -with-cc=mpiicc --with-cxx=mpiicpc --with-fc=mpiifort CFLAGS='-O3 -xHost' CXXFLAGS='-O3-xHost' FFLAGS='-O3 -xHost' --download-superlu --download-mumps --download-parmetis --with-blas-lapack-dir=/opt/intel/mkl/lib/intel64 PETSC_ARCH=intel_opt_32 --with-shared-libraries=yes --with-blacs-lib=/opt/intel/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a --with-blacs-include=/opt/intel/mkl/include --with-scalapack-lib=/opt/intel/mkl/lib/intel64/libmkl_scalapack_lp64.a --with-scalapack-include=/opt/intel/mkl/include --prefix=/opt/sw/petsc/3.2-p7  --with-valgrind-dir=/opt/sw/valgrind/3.9.0 --with-scalar-type=complex --with-debugging=0
  
 make PETSC_ARCH=intel_opt_32 all test make PETSC_ARCH=intel_opt_32 all test
Line 27: Line 27:
   * with Parmetis   * with Parmetis
  
-<code>./configure -with-cc=mpiicc --with-cxx=mpiicpc --with-fc=mpiifort COPTFLAGS='-O3 -xHost' CXXOPTFLAGS='-O3-xHost' FOPTFLAGS='-O3 -xHost' --download-superlu --download-mumps --download-parmetis --with-blas-lapack-dir=/opt/intel/mkl/lib/intel64 PETSC_ARCH=intel_debug_32 --with-shared-libraries=yes --with-blacs-lib=/opt/intel/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a --with-blacs-include=/opt/intel/mkl/include --with-scalapack-lib=/opt/intel/mkl/lib/intel64/libmkl_scalapack_lp64.a --with-scalapack-include=/opt/intel/mkl/include --prefix=/opt/sw/petsc/3.2-p7_debug  --with-valgrind-dir=/opt/sw/valgrind/3.9.0 --with-scalar-type=complex+<code>./configure -with-cc=mpiicc --with-cxx=mpiicpc --with-fc=mpiifort --download-superlu --download-mumps --download-parmetis --with-blas-lapack-dir=/opt/intel/mkl/lib/intel64 PETSC_ARCH=intel_debug_32 --with-shared-libraries=yes --with-blacs-lib=/opt/intel/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a --with-blacs-include=/opt/intel/mkl/include --with-scalapack-lib=/opt/intel/mkl/lib/intel64/libmkl_scalapack_lp64.a --with-scalapack-include=/opt/intel/mkl/include --prefix=/opt/sw/petsc/3.2-p7_debug  --with-valgrind-dir=/opt/sw/valgrind/3.9.0 --with-scalar-type=complex
  
 make PETSC_ARCH=intel_debug_32 all test make PETSC_ARCH=intel_debug_32 all test
  
 make PETSC_DIR=/opt/src/petsc/petsc-3.2-p7 PETSC_ARCH=intel_debug_32 install</code> make PETSC_DIR=/opt/src/petsc/petsc-3.2-p7 PETSC_ARCH=intel_debug_32 install</code>
 +
 +==== PETSc 3.4.5 ====
 +
 +  * without debugging; optimised
 +  * with Intel Compiler
 +  * with Intel MKL
 +  * with Intel Blacs/Scalapack
 +  * with Valgrind
 +  * with SuperLU
 +  * with MUMPS
 +  * with Parmetis
 +
 +<code>./configure --prefix=/opt/sw/petsc/3.4.5  --with-cxx=mpiicpc --with-cc=mpiicc --with-fc=mpiifort --with-debugging=0 CFLAGS="-O3 -xHOST" FFLAGS="-O3 -xHOST" CXXFLAGS='-O3 -xHost' --with-scalar-type=complex --with-fortran-kernels=1 --with-blas-lapack-dir=/opt/intel/mkl/lib/intel64 --download-mumps=yes --download-metis=yes --download-parmetis=yes --download-spooles=yes --download-plapack=1 --download-superlu_dist=1 --with-shared-libraries=1 --with-scalapack-lib="-L/opt/intel/mkl/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64" --with-scalapack-include=/opt/intel/mkl/include --with-valgrind-dir=/opt/sw/valgrind/3.9.0 PETSC_ARCH=intel_opt_34
 +
 +make PETSC_DIR=/opt/src/petsc/petsc-3.4.5 PETSC_ARCH=intel_opt_34 all
 +
 +make PETSC_DIR=/opt/src/petsc/petsc-3.4.5 PETSC_ARCH=intel_opt_34 install</code>
 +
 +  * with debugging
 +  * with Intel Compiler
 +  * with Intel MKL
 +  * with Intel Blacs/Scalapack
 +  * with Valgrind
 +  * with SuperLU
 +  * with MUMPS
 +  * with Parmetis
 +
 +<code>./configure --prefix=/opt/sw/petsc/3.4.5_debug  --with-cxx=mpiicpc --with-cc=mpiicc --with-fc=mpiifort --with-scalar-type=complex --with-fortran-kernels=1 --with-blas-lapack-dir=/opt/intel/mkl/lib/intel64 --download-mumps=yes --download-metis=yes --download-parmetis=yes --download-spooles=yes --download-plapack=1 --download-superlu_dist=1 --with-shared-libraries=1 --with-scalapack-lib="-L/opt/intel/mkl/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64" --with-scalapack-include=/opt/intel/mkl/include --with-valgrind-dir=/opt/sw/valgrind/3.9.0 PETSC_ARCH=intel_debug_34
 +
 +make PETSC_DIR=/opt/src/petsc/petsc-3.4.5 PETSC_ARCH=intel_debug_34 all
 +
 +make PETSC_DIR=/opt/src/petsc/petsc-3.4.5 PETSC_ARCH=intel_debug_34 install</code>
  • doku/petsc.1407406726.txt.gz
  • Last modified: 2014/08/07 10:18
  • by jz