Are you sure you are providing the correct path? >>>> --with-blaslapack-dir=/tool/pandora64/. package/oneMKL-2021. 3/mkl MKL Path not found. . skipping: /tool/pandora64/. package/oneMKL-2021. 3/mkl/lib/64 MKL Path not found. . skipping: 
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
 
ZjQcmQRYFpfptBannerEnd
Are you sure you are providing the correct path?

>>>>
--with-blaslapack-dir=/tool/pandora64/.package/oneMKL-2021.3/mkl

            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/64
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/ia64
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/em64t
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/intel64
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/64
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/ia64
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/em64t
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/intel64
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/32
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/ia32
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/32
            MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/ia32

<<<

Normally you should see something like the following [wrt the dir you specify to --with-blaslapack-dir]

>>>
balay@cg:~$ env |grep MKL
MKLROOT=/nfs/gce/software/custom/linux-ubuntu22.04-x86_64/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.2.0/intel-oneapi-mkl-2022.0.2-lzrncoj/mkl/2022.0.2
balay@cg:~$ find /nfs/gce/software/custom/linux-ubuntu22.04-x86_64/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.2.0/intel-oneapi-mkl-2022.0.2-lzrncoj/mkl/2022.0.2 -name libmkl_core.so
/nfs/gce/software/custom/linux-ubuntu22.04-x86_64/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.2.0/intel-oneapi-mkl-2022.0.2-lzrncoj/mkl/2022.0.2/lib/ia32/libmkl_core.so
/nfs/gce/software/custom/linux-ubuntu22.04-x86_64/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.2.0/intel-oneapi-mkl-2022.0.2-lzrncoj/mkl/2022.0.2/lib/intel64/libmkl_core.so

Satish

On Wed, 24 Jul 2024, Yongzhong Li wrote:

> Dear PETSc developers,
> 
> Recently, when I configured the PETSc with blas/lapack provided by Intel MKL, I got the following error message,
> 
> 
> [  1%] Performing configure step for 'external_petsc'
> =============================================================================================
>                          Configuring PETSc to compile on your system
> =============================================================================================
> =============================================================================================
>                                      ***** WARNING *****
>   Found environment variable: MAKEFLAGS=s. Ignoring it! Use "./configure
>   MAKEFLAGS=$MAKEFLAGS" if you really want to use this value
> =============================================================================================
> 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-dir=<dir>, but
>   /tool/pandora64/.package/oneMKL-2021.3/mkl cannot be used
> *********************************************************************************************
> 
> make[2]: *** [CMakeFiles/external_petsc.dir/build.make:92: external/builds/petsc-3.21.0/src/external_petsc-stamp/external_petsc-configure] Error 1
> make[1]: *** [CMakeFiles/Makefile2:114: CMakeFiles/external_petsc.dir/all] Error 2
> make: *** [Makefile:91: all] Error 2
> 
> However, I think I was using the correct MKL root address to configure PETSc. I have attached the configure.log file, could you help me look at where might be wrong?
> 
> Thanks!
> Yongzhong
> -----------------------------------------------------------
> Yongzhong Li
> PhD student | Electromagnetics Group
> Department of Electrical & Computer Engineering
> University of Toronto
> https://urldefense.us/v3/__http://www.modelics.org__;!!G_uCfscf7eWS!aa4LdUX0JV3i0ce3Jp20GLg521rd7L25vZSpFhCmlvTUN8EZFjfbk-IsfiTOD3IpCfXCB_zHA8nh1WMIkiHosbwZgv8PzmzPEec$
> 
> 

Reply via email to