Great! > ./configure --with-x=0 -with-pic --with-make-np=4 --with-mpi-compilers=1 > --with-mpi-dir=/Users/lawkawai/lib/mpich-4.2.3-opt/ --with-scalar-type=real > --with-precision=double --with-mumps=1 --download-mumps --with-scalapack=1 > --download-scalapack --with-blacs=1 --download-blacs --download-fblaslapack > --download-metis --download-hdf5 --with-debugging=no --download-slepc > --prefix=/Users/lawkawai/lib/petsc-3.22.1-opt
I'll just note, one can use system blas on Mac - so --download-fblaslapack is not needed. Also blacs is part of scalapack for the past many releases - so there is no more "--download-blacs" And --download-mumps implies --with-mumps=1 (same with other pkgs) - so this option is not needed [but no harm in also listing it] Satish On Fri, 15 Nov 2024, David Jiawei LUO LIANG wrote: > it works! > Thanks!!! > Try building MPICH with the additional flags: > > 'LDFLAGS=-Wl,-ld_classic -Wl,-commons,use_dylibs'