Hi all,<br><br>I configured petsc-3.2-p7 with the following options:<br><br>./configure --prefix=/Users/aeronova/Development/local/lib64/petsc/petsc-3.2-p7 --download-mpich=1 --download-blacs=1 --download-parmetis=1 --download-metis=1 --download-scalapack=1 --download-mumps=1 --download-umfpack=1 --with-clanguage=C++ <br>
<br>, which threw an error saying<br> *******************************************************************************<br>
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>-------------------------------------------------------------------------------<br>Error running make on Metis: Could not execute "cd /Users/aeronova/Development/local/src/petsc-3.2-p7/externalpackages/metis-4.0.3 && make clean && make library && make minstall && make clean":<br>
<br>In configure.log, there are some messages related to metis:<br><br>================================================================================<br>TEST configureLibrary from config.packages.metis(/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py:417)<br>
TESTING: configureLibrary from config.packages.metis(config/BuildSystem/config/package.py:417)<br> Find an installation and check if it can work with PETSc<br>==================================================================================<br>
Checking for a functional metis<br> Looking for METIS in directory starting with metis<br> Found a copy of METIS in metis-4.0.3<br> Pushing language C<br> Popping language C<br>
Have to rebuild metis, /Users/aeronova/Development/local/src/petsc-3.2-p7/externalpackages/metis-4.0.3/make.inc != /Users/aeronova/Development/local/src/petsc-3.2-p7/arch-darwin-cxx-debug/conf/metis<br> ===============================================================================<br>
Compiling & installing Metis; this may take several minutes<br> ===============================================================================<br><br>sh: cd /Users/aeronova/Development/local/src/petsc-3.2-p7/externalpackages/metis-4.0.3 && make clean && make library && make minstall && make clean<br>
Executing: cd /Users/aeronova/Development/local/src/petsc-3.2-p7/externalpackages/metis-4.0.3 && make clean && make library && make minstall && make clean<br>sh: (cd Lib ; make clean )<br>rm -f *.o<br>
(cd Programs ; make clean )<br>rm -f *.o<br>(cd Test ; make clean )<br>rm -f *.o<br><br>*******************************************************************************<br> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>
-------------------------------------------------------------------------------<br>Error running make on Metis: Could not execute "cd /Users/aeronova/Development/local/src/petsc-3.2-p7/externalpackages/metis-4.0.3 && make clean && make library && make minstall && make clean":<br>
(cd Lib ; make clean )<br>rm -f *.o<br>(cd Programs ; make clean )<br>rm -f *.o<br>(cd Test ; make clean )<br>rm -f *.o<br>make: *** No rule to make target `library'. Stop.<br>*******************************************************************************<br>
File "./config/configure.py", line 283, in petsc_configure<br> framework.configure(out = sys.stdout)<br> File "/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/framework.py", line 925, in configure<br>
child.configure()<br> File "/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py", line 506, in configure<br> self.executeTest(self.configureLibrary)<br> File "/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/base.py", line 115, in executeTest<br>
ret = apply(test, args,kargs)<br> File "/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py", line 433, in configureLibrary<br> for location, directory, lib, incl in self.generateGuesses():<br>
File "/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py", line 228, in generateGuesses<br> d = self.checkDownload(1)<br> File "/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py", line 313, in checkDownload<br>
return self.getInstallDir()<br> File "/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py", line 183, in getInstallDir<br> return os.path.abspath(self.Install())<br> File "/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/packages/metis.py", line 64, in Install<br>
raise RuntimeError('Error running make on Metis: '+str(e))<br><br>I think the error was raised by missing target 'library,' but I'm not sure how to fix it. I'd appreciate any suggestions.<br><br>
K. Lee.<br>