[petsc-users] Petsc with mingw64

Matthew Knepley knepley at gmail.com
Thu Jun 2 06:33:41 CDT 2022


For any configure error, you need to send configure.log

  Thanks,

     Matt

On Thu, Jun 2, 2022 at 5:38 AM hamid badi <badi.hamid at gmail.com> wrote:

> 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.
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220602/17ef23a6/attachment.html>


More information about the petsc-users mailing list