I send you the contents of “configure.log” because of the error.
The following is the result.
Executing: uname -s
stdout: Darwin
=============================================================================================
Configuring PETSc to compile on your system
=============================================================================================
================================================================================
================================================================================
Starting configure run at Wed, 12 Apr 2023 14:20:35 +0900
Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --prefix=/usr/local/ff-petsc/r --with-debugging=0 COPTFLAGS=“-O3 -mtune=native” CXXOPTFLAGS=“-O3 -mtune=native” FOPTFLAGS=“-O3 -mtune=native” --with-ssl=0 --with-x=0 --with-fortran-bindings=0 --with-cudac=0 --with-tau-perfstubs=0 --download-slepc --download-hpddm --download-slepc-commit=4aa7bc16b5f5adead49296eedfacc504ccc5cb71 --with-cc=/usr/local/ff-petsc/r/bin/mpicc --with-cxx=/usr/local/ff-petsc/r/bin/mpicxx --with-fc=/usr/local/ff-petsc/r/bin/mpif90 --with-scalar-type=real --with-blaslapack-include= --with-blaslapack-lib=“-framework Accelerate” --download-metis --download-ptscotch --download-hypre --download-parmetis --download-superlu --download-suitesparse --download-tetgen --download-mmg --download-parmmg --download-slepc-configure-arguments=–download-arpack --download-scalapack --download-mumps PETSC_ARCH=fr
Working directory: /Users/iberico/my_program/02_Freefem/FreeFem-sources/3rdparty/ff-petsc/petsc-3.19.0
Machine platform:
uname_result(system=‘Darwin’, node=‘ibericonoMac-mini.local’, release=‘22.4.0’, version=‘Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:58 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6020’, machine=‘arm64’)
Python version:
3.9.6 (default, Mar 10 2023, 20:16:38)
[Clang 14.0.3 (clang-1403.0.22.14.1)]
================================================================================
Environmental variables
MANPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man:/Library/Developer/CommandLineTools/Toolchains/XcodeDefault.xctoolchain/usr/share/man:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man:/Library/Developer/CommandLineTools/Toolchains/XcodeDefault.xctoolchain/usr/share/man:
TERM=xterm-256color
SHELL=/bin/sh
USER=root
SUDO_USER=iberico
SUDO_UID=501
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.2taFNXOxvG/Listeners
__CF_USER_TEXT_ENCODING=0x0:1:14
MAKELEVEL=1
MFLAGS=
MAIL=/var/mail/root
PATH=/Applications/FreeFem++.app/Contents/ff-4.12/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
PWD=/Users/iberico/my_program/02_Freefem/FreeFem-sources/3rdparty/ff-petsc/petsc-3.19.0
LANG=en_US.UTF-8
SHLVL=1
HOME=/Users/iberico
SUDO_COMMAND=/usr/bin/make petsc-slepc
LOGNAME=root
SUDO_GID=20
OLDPWD=/Users/iberico/my_program/02_Freefem/FreeFem-sources/3rdparty/ff-petsc
_=./configure
SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
CPATH=/usr/local/include
LIBRARY_PATH=/usr/local/lib
Files in path provided by default path
Warning accessing /Applications/FreeFem++.app/Contents/ff-4.12/bin gives errors: [Errno 2] No such file or directory: ‘/Applications/FreeFem++.app/Contents/ff-4.12/bin’