./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpifort
--prefix=/opt/libs/petsc/3.10.3
--with-valgrind-dir=/opt/apps/valgrind/3.14.0
--with-blas-lapack-dir=/opt/intel/18.0/mkl/lib/intel64
./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpifort
--prefix=/opt/libs/petsc/3.10.3
--with-valgrind-dir=/opt/apps/valgrind/3.14.0
--with-blas-lapack-dir=/opt/libs/netlib/3.8.0/lib64
./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpifort
--prefix=/opt/libs/petsc/3.10.3
--with-valgrind-dir=/opt/apps/valgrind/3.14.0
--with-blas-lapack-dir=/opt/intel/18.0/mkl/lib/intel64
--with-p4-dir=...
--with-scalar-type=complex --with-shared=1 --with-x=0
--with-hypre-dir=...
make all test make install
- Fortran compiler is ftn
- FFLAGS needs
-hPIC
as it may not yield position independent format - Not
-fPIC
. configure script will not understand it --with-batch
might be necessary--with-mpiexec
might be defined using srun or aprun
- Fortran compiler option or fortran optimization option may need
-w -fallow-argument-mismatch