[petsc-users] Petsc with mingw64

hamid badi badi.hamid at gmail.com
Thu Jun 2 04:38:32 CDT 2022


Hi,

I want to compile petsc with openblas & mumps (sequential) under mingw64.
To do so, I compiled openblas and mumps without any problem. But when it
comes to petsc, configure can't find my mumps.

I use the following configuration  options :

--with-shared-libraries=1
--with-openmp=1
--with-mpi=0
--with-debugging=0
--with-scalar-type=real
--with-x=0
--COPTFLAGS=-O3
--CXXOPTFLAGS=-O3
--FOPTFLAGS=-O3
--with-windows-graphics=0
--with-openblas=1
--with-openblas-dir=/mingw64/
--with-mumps=1
--with-mumps-include=~/mumps-git/build/include
--with-mumps-lib="-L~/mumps-git/build/lib -lsmumps -ldmumps -lmumps_common
-lpord -lmpiseq"
--with-mumps-serial=1

i get the following error :

         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
details):
-------------------------------------------------------------------------------
--with-mumps-lib=['-L~/mumps-git/build/lib', '-lsmumps', '-ldmumps',
'-lmumps_common', '-lpord', '-lmpiseq'] and
--with-mumps-include=['~/mumps-git/build/include'] did not work
*******************************************************************************

I also tried using --with-mumps-dir=~/mumps-git/build without success.

Thanks for helping.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220602/1aaec8bd/attachment-0001.html>


More information about the petsc-users mailing list