[petsc-users] compilation error of petsc-3.2-p7 with metis

Kyunghoon Lee aeronova.mailing at gmail.com
Sun Jun 10 21:10:28 CDT 2012


Hi all,

I configured petsc-3.2-p7 with the following options:

./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++

, which threw an error saying

*******************************************************************************
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
details):
-------------------------------------------------------------------------------
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":

In configure.log, there are some messages related to metis:

================================================================================
TEST configureLibrary from
config.packages.metis(/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py:417)
TESTING: configureLibrary from
config.packages.metis(config/BuildSystem/config/package.py:417)
  Find an installation and check if it can work with PETSc
==================================================================================
        Checking for a functional metis
                Looking for METIS in directory starting with metis
                Found a copy of METIS in metis-4.0.3
                  Pushing language C
                  Popping language C
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

===============================================================================
                        Compiling & installing Metis; this may take several
minutes

===============================================================================

sh: cd
/Users/aeronova/Development/local/src/petsc-3.2-p7/externalpackages/metis-4.0.3
&& make clean && make library && make minstall && make clean
Executing: cd
/Users/aeronova/Development/local/src/petsc-3.2-p7/externalpackages/metis-4.0.3
&& make clean && make library && make minstall && make clean
sh: (cd Lib ; make clean )
rm -f *.o
(cd Programs ; make clean )
rm -f *.o
(cd Test ; make clean )
rm -f *.o

*******************************************************************************
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
details):
-------------------------------------------------------------------------------
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":
(cd Lib ; make clean )
rm -f *.o
(cd Programs ; make clean )
rm -f *.o
(cd Test ; make clean )
rm -f *.o
make: *** No rule to make target `library'.  Stop.
*******************************************************************************
  File "./config/configure.py", line 283, in petsc_configure
    framework.configure(out = sys.stdout)
  File
"/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/framework.py",
line 925, in configure
    child.configure()
  File
"/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py",
line 506, in configure
    self.executeTest(self.configureLibrary)
  File
"/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/base.py",
line 115, in executeTest
    ret = apply(test, args,kargs)
  File
"/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py",
line 433, in configureLibrary
    for location, directory, lib, incl in self.generateGuesses():
  File
"/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py",
line 228, in generateGuesses
    d = self.checkDownload(1)
  File
"/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py",
line 313, in checkDownload
    return self.getInstallDir()
  File
"/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/package.py",
line 183, in getInstallDir
    return os.path.abspath(self.Install())
  File
"/Users/aeronova/Development/local/src/petsc-3.2-p7/config/BuildSystem/config/packages/metis.py",
line 64, in Install
    raise RuntimeError('Error running make on Metis: '+str(e))

I think the error was raised by missing target 'library,' but I'm not sure
how to fix it.  I'd appreciate any suggestions.

K. Lee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120611/657b4323/attachment.html>


More information about the petsc-users mailing list