On Thu, 2 Jun 2022, hamid badi 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/
The option here should be --with-blaslapack-dir [not --with-openblas=1 --with-openblas-dir=/mingw64/]. But then - the compiler would automatically search this path? If so - avoid specifying this option. > --with-mumps=1 > --with-mumps-include=~/mumps-git/build/include > --with-mumps-lib="-L~/mumps-git/build/lib -lsmumps -ldmumps -lmumps_common use '$HOME' instead of '~' Satish > -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. >
