[petsc-users] Petsc with mingw64
Barry Smith
bsmith at petsc.dev
Thu Jun 2 09:55:17 CDT 2022
Configure should error with a very helpful message if --with-openblas or --with-openblas-dir are provided on the command line
> On 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.
More information about the petsc-users
mailing list