[petsc-users] petsc configuer time

Dharmendar Reddy dharmareddy84 at gmail.com
Thu Mar 13 15:29:48 CDT 2014


Hello,
         How long does it take to configure petsc ? I understand that
it depends on the options, but i am find the particular version i have
is taking very long time (nearly 2 hours) before it begins configuring
packages.

I am using intel MPI and intel compilers.

I am using the following config opts:
PETSC_VERSION   = petsc-3.4.3
MPICC=mpiicc
MPIF90=mpiifort
MPICXX=mpiicpc
COMPILERS = --with-cc="$(MPICC)" --with-fc="$(MPIF90)"
--with-cxx="$(MPICXX)" COPTFLAGS="$(O_LEVEL)" CXXOPTFLAGS="$(O_LEVEL)"
FOPTFLAGS="$(O_LEVEL)"
# COMPILERS = --with-mpi-dir=$(MPI_HOME)

BLAS_LAPACK     = $(PETSC_BLAS_LAPACK_DIR)
PETSCExtPackagePath = /home/reddy/libs/petsc
METISPATH=$(PETSCExtPackagePath)/metis-5.0.2-p3.tar.gz
MUMPSPATH=$(PETSCExtPackagePath)/MUMPS_4.10.0-p3.tar.gz
PARMETISPATH=$(PETSCExtPackagePath)/parmetis-4.0.2-p5.tar.gz
SUPERLUPATH=$(PETSCExtPackagePath)/superlu_dist_3.3.tar.gz
SCALPACKINC=$(MKLHOME)/include
SCALPACKLIB="$(MKLROOT)/lib/intel64/libmkl_scalapack_lp64.a
-Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a
$(MKLROOT)/lib/intel64/libmkl_core.a
$(MKLROOT)/lib/intel64/libmkl_sequential.a -Wl,--end-group
$(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_lp64.a -lpthread -lm"
#BLACSINC=$(MKLHOME)/include
#BLACSLIB=$(MKLHOME)/lib/intel64/libmkl_blacs_intelmpi_lp64.a
confOptsCommon = --with-x=0 --with-make-np=12 --with-hdf5
--with-hdf5-dir=$(HDF5_DIR) --with-single-library=0  --with-pic=1
--with-shared-libraries=0 --with-blas-lapack-dir=$(BLAS_LAPACK)
--with-clanguage=C++ --with-fortran --with-debugging=1 $(COMPILERS)
--download-metis=$(METISPATH) --download-parmetis=$(PARMETISPATH)
--download-superlu_dist=$(SUPERLUPATH) --download-mumps=$(MUMPSPATH)
--with-scalapack-include=$(SCALPACKINC)
--with-scalapack-lib=$(SCALPACKLIB)
#--with-blacs-include=$(BLACSINC) --with-blacs-lib=$(BLACSLIB)

### configure command
./configure --with-scalar-type=real $(confOptsCommon)


More information about the petsc-users mailing list