[petsc-users] error configuring petsc+mpich

Matthew Knepley knepley at gmail.com
Tue Dec 3 13:53:09 CST 2013


On Tue, Dec 3, 2013 at 1:16 PM, Gideon Simpson <gideon.simpson at gmail.com>wrote:

> I'm trying to get a petsc installation going on a Linux machine, and I'm
> getting the following error when building with --download-mpich=yes
>

I am assuming you are on Linux? You are missing install, which should be
part of the coreutils package. But
install-sh should be created by autoconf. Not sure why this is going wrong.
Can you send configure.log?

  Thanks,

     Matt


>
> *******************************************************************************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> details):
>
> -------------------------------------------------------------------------------
> Error running configure on MPICH: Could not execute "cd
> /home/simpson/software/petsc-3.4.3/externalpackages/mpich-3.0.4-106 &&
> ./configure --prefix=/home/simpson/software/petsc-3.4.3/arch-linux2-c-debug
> CC="gcc" CFLAGS=" -Wall -Wwrite-strings -Wno-strict-aliasing
> -Wno-unknown-pragmas -g3 -fno-inline -O0 " CXX="g++" CXXFLAGS=" -Wall
> -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g    "
> FC="gfortran" FCFLAGS=" -Wall -Wno-unused-variable
> -Wno-unused-dummy-argument -g  " F77="gfortran" FFLAGS=" -Wall
> -Wno-unused-variable -Wno-unused-dummy-argument -g  "
> --with-device=ch3:sock --without-mpe --with-pm=hydra --enable-g=meminit
> --enable-fast":
> Configuring MPICH version 3.0.4 with
>  '--prefix=/home/simpson/software/petsc-3.4.3/arch-linux2-c-debug' 'CC=gcc'
> 'CFLAGS= -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas
> -g3 -fno-inline -O0 ' 'CXX=g++' 'CXXFLAGS= -Wall -Wwrite-strings
> -Wno-strict-aliasing -Wno-unknown-pragmas -g    ' 'FC=gfortran' 'FCFLAGS=
> -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g  ' 'F77=gfortran'
> 'FFLAGS= -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g  '
> '--with-device=ch3:sock' '--without-mpe' '--with-pm=hydra'
> '--enable-g=meminit' '--enable-fast'
> Running on system: Linux pegasus 3.2.0-41-generic #66-Ubuntu SMP Thu Apr
> 25 03:27:11 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> configure: error: cannot find install-sh, install.sh, or shtool in confdb
> "."/confdb
>
> *******************************************************************************
>   File "./config/configure.py", line 293, in petsc_configure
>     framework.configure(out = sys.stdout)
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/framework.py",
> line 933, in configure
>     child.configure()
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/package.py",
> line 556, in configure
>     self.executeTest(self.configureLibrary)
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/base.py",
> line 115, in executeTest
>     ret = apply(test, args,kargs)
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py",
> line 748, in configureLibrary
>     config.package.Package.configureLibrary(self)
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/package.py",
> line 484, in configureLibrary
>     for location, directory, lib, incl in self.generateGuesses():
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/package.py",
> line 232, in generateGuesses
>     d = self.checkDownload(1)
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py",
> line 351, in checkDownload
>     return config.package.Package.checkDownload(self, requireDownload)
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/package.py",
> line 340, in checkDownload
>     return self.getInstallDir()
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/package.py",
> line 187, in getInstallDir
>     return os.path.abspath(self.Install())
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py",
> line 366, in Install
>     return self.InstallMPICH()
>   File
> "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py",
> line 555, in InstallMPICH
>     raise RuntimeError('Error running configure on MPICH: '+str(e))
>
>
>
> -gideon
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131203/be6a2ea7/attachment.html>


More information about the petsc-users mailing list