This syntax is useful for python - for ex.: config/examples*.py Best to use shell friendly notation - when not using python scripts. i.e.:
--with-blaslapack-lib="/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" or --with-blaslapack-lib="-L/opt/intel/oneapi/mkl/2025.0/lib/intel64/ -lmkl_lapack95_lp64 -lmklblas95_lp64 -lmkl_gf_lp64 -lmkl_sequential -lmkl_lapack95_lp64" Also "--with-blaslapack-dir=/opt/intel/oneapi/mkl/2025.0/lib/intel64" should automatically find and give something like: BlasLapack: Intel MKL Version: 20220000 Includes: -I/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/include Libraries: -Wl,-rpath,/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 -L/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 -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -liomp5 -ldl -lpthread Satish On Sun, 29 Dec 2024, Pierre Jolivet wrote: > I just copied you configure line, you also have a whitespace in the [ ], best > to remove that: libmkl_blas95_lp64.a", "/opt/intel/ -> > libmkl_blas95_lp64.a,/opt/intel/ and so on. > > Thanks, > Pierre > > > On 29 Dec 2024, at 9:09 PM, Bruno Ramon Batista Fernande > > <brbfernan...@utexas.edu> wrote: > > > > Hi Pierre, > > I tried it and got the same error message. Still, no configure.log was > > generated. It seems like it doesn't even start the configuration. > > Best regards, > > Bruno > > > > On Sun, Dec 29, 2024 at 1:45 PM Pierre Jolivet <pie...@joliv.et > > <mailto:pie...@joliv.et>> wrote: > >> > >> > >>> On 30 Dec 2024, at 2:24 AM, Bruno Ramon Batista Fernande > >>> <brbfernan...@utexas.edu <mailto:brbfernan...@utexas.edu>> wrote: > >>> > >>> 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 > >> > >> It’s not -libs=, it’s -lib=, and there is no need for quotation marks. > >> Try again, and if it still does not work, please send configure.log, there > >> is no reason for it not being generated. > >> > >> Thanks, > >> Pierre > >> > >>> Best regards, > >>> Bruno > >>> > >>> On Sun, Dec 29, 2024 at 8:15 AM Satish Balay <balay....@fastmail.org > >>> <mailto:balay....@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 > >>>> > > >>>> > >> > >