<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class="">The blue word in the last Email is part of the configure.log file, this time I put the whole file in the attachment.</div>
<div class="">I actually tried to install it via brew, but it still failed. And I could follow Pflotran's installation tutorial on my old computer before, but I don't know why it doesn't work now.</div>
<div></div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div><br class="">
<blockquote type="cite" class="">
<div class="">2022年1月25日 16:57,Stefano Zampini <<a href="mailto:stefano.zampini@gmail.com" class="">stefano.zampini@gmail.com</a>> 写道:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="" style="word-wrap:break-word; line-break:after-white-space"><font color="red" class=""><b class="">This e-mail originated from outside the UMass Lowell network.</b></font></div>
</div>
</blockquote>
<blockquote type="cite" class="">
<div class="">
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<hr class="">
You should attach configure.log if you want us to take a look at the failure. In any case, you should use gmake that you can install via brew<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 26, 2022, at 12:53 AM, Peng, Kang <<a href="mailto:Kang_Peng@uml.edu" class="">Kang_Peng@uml.edu</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="" style="word-wrap:break-word; line-break:after-white-space"><span class="" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif; font-size:14px">Hi PETSc,</span>
<div class="" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif; font-size:14px">
<br class="">
</div>
<div class="" style="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="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif; font-size:14px">
<br class="">
</div>
<div class="" style="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="font-size:14px"><a href="https://urldefense.com/v3/__https://www.pflotran.org/documentation/user_guide/how_to/installation/linux.html*linux-install__;Iw!!PVKG_VDCxu5g!6y-kcFG7ScjxFIz3MDNNqeQcRa_acHzAh8K-XeflKjdgncNiRv0NQc_1Bg3urZphgg$" 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="font-size:14px"><br class="">
</span></font></div>
<div class="" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif; font-size:14px">
Error is as follows:</div>
<div class="">
<div class="" style="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="font-size:14px">Kang</span></font></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>