It is reporting 

    ld: cannot find -lmkl_intel_ilp64

    Please send the output from 

ls 
/mnt/disks/intel-2018-3-222-blade-runtime-env-2018-1-07-08-2018-132838/2019.3/intel/compilers_and_libraries_2019.3.199/linux/mkl
ls 
/mnt/disks/intel-2018-3-222-blade-runtime-env-2018-1-07-08-2018-132838/2019.3/intel/compilers_and_libraries_2019.3.199/linux/mkl/lib
ls 
/mnt/disks/intel-2018-3-222-blade-runtime-env-2018-1-07-08-2018-132838/2019.3/intel/compilers_and_libraries_2019.3.199/linux/mkl/lib/intel64

Also you are mixing using the Intel MPI and OpenMPI, I am not sure this will 
work. 

/opt/openmpi_4.0.3_intel2019.3/lib   
> -lmkl_blacs_intelmpi_lp64




> On Jun 15, 2020, at 12:11 PM, Kun Jiao via petsc-users 
> <petsc-users@mcs.anl.gov> wrote:
> 
> Hi,
>  
> Lately I run into a configure error with intel compiler+openmpi+lapack,
>  
> Error message as:
> ===============================================================================
>                                                                               
>                TESTING: checkLib from 
> config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:114)
>                                                                      
> *******************************************************************************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for 
> details):
> -------------------------------------------------------------------------------
> You set a value for --with-blaslapack-lib=<lib>, but 
> ['-L/mnt/disks/intel-2018-3-222-blade-runtime-env-2018-1-07-08-2018-132838/2019.3/intel/compilers_and_libraries_2019.3.199/linux/mkl/lib/intel64',
>  '-Wl,', '--no-as-needed', '-lmkl_intel_ilp64', '-lmkl_intel_thread', 
> '-lmkl_core', '-liomp5', '-lpthread', '-lm', '-ldl'] cannot be used
> *******************************************************************************
>  
>  
> Here is my configure parameters:
>  
> ./configure --configModules=PETSc.Configure 
> --optionsModule=config.compilerOptions --configModules=PETSc.Configure 
> --optionsModule=config.compilerOptions PETSC_ARCH=linux-gnu-intel 
> --with-precision=single --with-cc=icc --with-cxx=icc --with-fc=ifort 
> --with-mpi-include=/opt/openmpi_4.0.3_intel2019.3/include 
> --with-mpi-lib="-L/opt/openmpi_4.0.3_intel2019.3/lib -lmpi_usempif08 
> -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi" 
> --with-blaslapack-include="/mnt/disks/intel-2018-3-222-blade-runtime-env-2018-1-07-08-2018-132838/2019.3/intel/compilers_and_libraries_2019.3.199/linux/mkl/include"
>  
> --with-blaslapack-lib="-L/mnt/disks/intel-2018-3-222-blade-runtime-env-2018-1-07-08-2018-132838/2019.3/intel/compilers_and_libraries_2019.3.199/linux/mkl/lib/intel64
>  -Wl, --no-as-needed -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -liomp5 
> -lpthread -lm -ldl" 
> --with-scalapack-lib="-L/mnt/disks/intel-2018-3-222-blade-runtime-env-2018-1-07-08-2018-132838/2019.3/intel/compilers_and_libraries_2019.3.199/linux/mkl/lib/intel64
>  -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64" 
> --with-scalapack-include=/mnt/disks/intel-2018-3-222-blade-runtime-env-2018-1-07-08-2018-132838/2019.3/intel/compilers_and_libraries_2019.3.199/linux/mkl/include
>  --with-cmake=1 --prefix=/opt/petsc_3.10.4_intel2019.3 --known-endian=big 
> --with-debugging=0 --COPTFLAGS=" -Ofast -xHost" --CXXOPTFLAGS=" -Ofast 
> -xHost" --FOPTLAGS=" -Ofast -xHost" --with-x=0 --with-64-bit-indices
>  
> And configure.log attached. 
>  
> Any suggestion will be great?
>  
> Regards,
> Kun
>  
> 
> Schlumberger-Private
> <configure.log>

Reply via email to