[petsc-users] PETSC configuration on linux with intel MKL

Bruno Ramon Batista Fernande brbfernandes at utexas.edu
Sun Dec 29 19:24:21 CST 2024


Hi Satish,
Thank you for your prompt response.
It seems like it doesn't reach the point of writing the configure.log for
this issue.
The command used is below. I am using mpich and oneAPI both installed from
apt from Ubuntu.

./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90
--with-debugging=0 --download-hypre
--with-blaslapack-libs=["/opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl_blas95_lp64.a",
"/opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl_lapack95_lp64.a","/opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl_gf_lp64.a",
"/opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl_sequential.a","/opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl_core.a"]
--with-scalapack-libs=["/opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl_scalapack_lp64.a","/opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl_blacs_lp64.a"]
--with-scalapack-include=/opt/intel/oneapi/mkl/2025.0/include

Best regards,
Bruno

On Sun, Dec 29, 2024 at 8:15 AM Satish Balay <balay.anl at fastmail.org> wrote:

> Hm - what was the configure command [with options] used here? Can you send
> corresponding configure.log?
>
> Satish
>
> On Sat, 28 Dec 2024, Bruno Ramon Batista Fernande wrote:
>
> > Hi,
> > I am trying to use the oneAPI MKL 2025 into my PETSC configuration on
> > Linux. However, I get the following error as I enter the names of the mkl
> > libraries:
> >
> *********************************************************************************************
> >                         ERROR in COMMAND LINE ARGUMENT to ./configure
> >
> ---------------------------------------------------------------------------------------------
> >   The option
> >
> >
> /opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl_lapack95_lp64.a,/opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl_gf_lp64.a,
> >   should probably be
> >
> >
> /opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl-lapack95-lp64.a,/opt/intel/oneapi/mkl/2025.0/lib/intel64/libmkl-gf-lp64.a,
> >
> *********************************************************************************************
> > As you can see, the configure suggest to use libraries with hyphen in
> their
> > names but the original libraries have underscores in it. Any way to
> bypass
> > this issue without creating links or creating copies of files?
> > Best regards,
> > Bruno
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20241229/77c7fad8/attachment.html>


More information about the petsc-users mailing list