[petsc-users] installing PETSc with mkl_pardiso solver

Satish Balay balay at mcs.anl.gov
Thu Jun 30 16:36:32 CDT 2016


Our current build works with:

Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions CC=icc CXX=icpc FC=ifort --with-blas-lapack-dir=/soft/com/packages/intel/15/update3/mkl --with-mkl_pardiso-dir=/soft/com/packages/intel/15/update3/mkl --download-mpich=1 --with-no-output -PETSC_ARCH=arch-pardiso -PETSC_DIR=/sandbox/petsc/petsc.clone-2

http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2016/06/26/configure_maint_arch-pardiso_cg.log

Note: You should also see '/opt/intel/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64' in you intel install.

balay at es^/soft/com/packages/intel/16/u3/mkl/lib $ ls -l
total 5
lrwxrwxrwx 1 fritz collab 13 Jun  6 11:00 intel64 -> ./intel64_lin/
drwxr-xr-x 3 fritz collab 62 Jun  6 11:02 intel64_lin/
drwxr-xr-x 3 fritz collab 30 Jun  6 11:03 intel64_lin_mic/
lrwxrwxrwx 1 fritz collab 17 Jun  6 11:02 mic -> ./intel64_lin_mic/
balay at es^/soft/com/packages/intel/16/u3/mkl/lib $ 

The following should also work:
--with-blas-lapack-dir=/opt/intel/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64_lin
--with-mkl_pardiso-dir=/opt/intel/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64_lin

If configure continues to fail - send us the corresponding configure.log

Satish

On Thu, 30 Jun 2016, Hoffman, Galen wrote:

> Greetings,
> 
> I have been trying to install PETSc v3.7.2 with the MKL Pardiso add-on.  I have been using the instructions at the bottom of the webpage at https://www.mcs.anl.gov/petsc/documentation/changes/35.html, which require setting the following options for the PETSc configuration:
> 
> --blas-lapack-dir=LOCATION_OF_INTEL_MKL
> --with-mkl_pardiso-dir=LOCATION_OF_INTEL_MKL
> 
> I have installed the current Intel MKL at the default location in /opt/intel/.  This is version 11.3.3.210.
> 
> My question is to what should I set the location?  The obvious choices don't work, with the configuration failing when it checks the BLAS library:
> 
> 
> /opt/intel/mkl/lib/intel64_lin
> /opt/intel/mkl/lib
> /opt/intel/mkl
> /opt/intel/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64_lin
> /opt/intel/compilers_and_libraries_2016.3.210/linux/mkl
> 
> It will also fail if I set --download-f2cblaslapack=1 when it checks the MKL Pardiso directory.
> 
> The error message says the following:
> 
> ***************
> UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
> -------------------------------------------------------------------------------
> Could not find a functional BLAS. Run with --with-blas-lib=<lib> to indicate the library containing BLAS.
> Or --download-f2cblaslapack=1 to have one automatically downloaded and installed
> **************
> 
> 
> **************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
> -------------------------------------------------------------------------------
> MKL_Paradiso requires Intel MKL. Please rerun configure using --with-blas-lapack-dir=LOCATION_OF_INTEL_MKL
> *************
> 
> For which specific files is configure searching?  Also, is it known whether my installed version of MKL is compatible?
> 
> Regards,
> 
> --Galen
> 
> 
> 
> 
> 



More information about the petsc-users mailing list