<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<span class="" style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;">Hi PETSc,</span>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;">
<br class="">
</div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;">
I am trying to configure the PETSC environment in MacOS (Apple M1 pro chip, macOS 12.1), but something went wrong when I executing those command below. I tried many methods but failed to solve it. Could you help me to solve it? </div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;">
<br class="">
</div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;">
I’ve been following this instruction to install PETSc and configure the environment, but I can’t do it after changing to the new chip.</div>
<div class=""><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif" class=""><span class="" style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-size: 14px;"><a href="https://www.pflotran.org/documentation/user_guide/how_to/installation/linux.html#linux-install" class="">https://www.pflotran.org/documentation/user_guide/how_to/installation/linux.html#linux-install</a></span></font></div>
<div class=""><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif" class=""><span class="" style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-size: 14px;"><br class="">
</span></font></div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;">
Error is as follows:</div>
<div class="">
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><font color="#669c35" class="">von@MacBook-Pro-VON petsc % ./configure --CFLAGS='-O3' --CXXFLAGS='-O3' --FFLAGS='-O3' --with-debugging=no --download-mpich=yes --download-hdf5=yes --download-fblaslapack=yes
--download-cmake=yes --download-metis=yes --download-parmetis=yes --download-hdf5-fortran-bindings=yes --download-hdf5-configure-arguments="--with-zlib=yes"</font></span></div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><font color="#ff2600" class="">=============================================================================================</font></span></div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><font color="#ff2600" class=""> Configuring PETSc to compile on your system </font></span></div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><font color="#ff2600" class="">=============================================================================================</font></span></div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><font color="#ff2600" class="">=============================================================================================
***** WARNING: You have a version of GNU make older than 4.0. It will work, but may not support all the parallel testing options. You can install the
latest GNU make with your package manager, such as brew or macports, or use
the --download-make option to get the latest GNU make ***** =============================================================================================
============================================================================================= Running
configure on CMAKE; this may take several minutes =============================================================================================
*******************************************************************************</font></span></div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><font color="#ff2600" class=""> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):</font></span></div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><font color="#ff2600" class="">-------------------------------------------------------------------------------</font></span></div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><font color="#ff2600" class="">Error running configure on CMAKE</font></span></div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><font color="#ff2600" class="">*******************************************************************************</font></span></div>
<div class="" style="caret-color: rgba(0, 0, 0, 0.87); font-family: Menlo; font-size: 11px; color: rgb(38, 38, 38); margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255); min-height: 13px;">
</div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255); min-height: 13px;">
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;">*******************************************************************************</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;">-------------------------------------------------------------------------------</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;">Error running configure on CMAKE</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;">*******************************************************************************</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/configure.py", line 465, in petsc_configure</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> framework.configure(out = sys.stdout)</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/framework.py", line 1385, in configure</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> self.processChildren()</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/framework.py", line 1373, in processChildren</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> self.serialEvaluation(self.childGraph)</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/framework.py", line 1348, in serialEvaluation</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> child.configure()</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/packages/cmake.py", line 75, in configure</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> config.package.GNUPackage.configure(self)</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/package.py", line 1189, in configure</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> self.executeTest(self.configureLibrary)</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/base.py", line 138, in executeTest</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> ret = test(*args,**kargs)</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/package.py", line 935, in configureLibrary</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> for location, directory, lib, incl in self.generateGuesses():</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/package.py", line 509, in generateGuesses</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> d = self.checkDownload()</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/package.py", line 643, in checkDownload</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> return self.getInstallDir()</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/package.py", line 405, in getInstallDir</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> installDir = self.Install()</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/packages/cmake.py", line 47, in Install</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> retdir = config.package.GNUPackage.Install(self)</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> File "/Users/von/petsc/config/BuildSystem/config/package.py", line 1733, in Install</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;"> raise RuntimeError('Error running configure on ' + self.PACKAGE)</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;">================================================================================</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;">Finishing configure run at Tue, 25 Jan 2022 16:21:58 -0500</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Menlo" class="" color="#2700f4"><span class="" style="caret-color: rgba(0, 0, 0, 0.87); font-size: 11px;">================================================================================</span></font></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<br class="">
</div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<span class="" style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;">Thanks,</span></div>
<div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;">
<font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif" class=""><span class="" style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-size: 14px;">Kang</span></font></div>
</div>
</div>
</body>
</html>