<div dir="ltr">Hi all,<div><br></div><div>I'm trying to configure PETSc on Mac OS X with gcc-4.9. Currently, it's configured with gcc that comes with Xcode, but I want to use gcc-4.9 that I installed myself. I try:</div>
<div><br></div><div>







<p class="">







</p><p class="">./configure --with-cc=gcc-4.9 --with-fc=gfortran --download-f-blas-lapack --download-mpich</p><p class=""><br></p><p class="">But while configuring MPICH it gets stuck indefinitely. I've included the output below after I terminate the process. I don't have this issue if I just configure with cc=gcc. Any ideas what the problem is here?</p>
<p class=""><br></p><p class="">^CTraceback (most recent call last):</p><p class="">  File "./configure", line 10, in <module></p><p class="">    execfile(os.path.join(os.path.dirname(__file__), 'config', 'configure.py'))</p>
<p class="">  File "./config/configure.py", line 372, in <module></p><p class="">    petsc_configure([])</p><p class="">  File "./config/configure.py", line 287, in petsc_configure</p><p class="">
    framework.configure(out = sys.stdout)</p><p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/framework.py", line 933, in configure</p><p class="">    child.configure()</p>
<p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/package.py", line 558, in configure</p><p class="">    self.executeTest(self.configureLibrary)</p><p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/base.py", line 115, in executeTest</p>
<p class="">    ret = apply(test, args,kargs)</p><p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/packages/MPI.py", line 748, in configureLibrary</p><p class="">    config.package.Package.configureLibrary(self)</p>
<p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/package.py", line 486, in configureLibrary</p><p class="">    for location, directory, lib, incl in self.generateGuesses():</p>
<p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/package.py", line 232, in generateGuesses</p><p class="">    d = self.checkDownload(1)</p><p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/packages/MPI.py", line 351, in checkDownload</p>
<p class="">    return config.package.Package.checkDownload(self, requireDownload)</p><p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/package.py", line 340, in checkDownload</p>
<p class="">    return self.getInstallDir()</p><p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/package.py", line 187, in getInstallDir</p><p class="">    return os.path.abspath(self.Install())</p>
<p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/packages/MPI.py", line 366, in Install</p><p class="">    return self.InstallMPICH()</p><p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/config/packages/MPI.py", line 544, in InstallMPICH</p>
<p class="">    output,err,ret  = config.base.Configure.executeShellCommand('cd '+mpichDir+' && ./configure '+args, timeout=2000, log = self.framework.log)</p><p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/script.py", line 254, in executeShellCommand</p>
<p class="">    (output, error, status) = runInShell(command, log, cwd)</p><p class="">  File "/Users/justindong/Classes/CAAMResearch/petsc-3.4.4/config/BuildSystem/script.py", line 243, in runInShell</p><p class="">
    thread.join(timeout)</p><p class="">  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 958, in join</p><p class="">    self.__block.wait(delay)</p><p class="">
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 358, in wait</p><p class="">    _sleep(delay)</p><p class="">












































</p><p class="">KeyboardInterrupt</p><p class=""><br></p><p class=""><br></p><p class="">Sincerely,</p><p class="">Justin</p></div></div>