<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Dec 3, 2013 at 1:16 PM, Gideon Simpson <span dir="ltr"><<a href="mailto:gideon.simpson@gmail.com" target="_blank">gideon.simpson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">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</div>
</blockquote><div><br></div><div>I am assuming you are on Linux? You are missing install, which should be part of the <span style="background-color:rgb(230,230,230);color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px">coreutils </span>package. But</div>
<div>install-sh should be created by autoconf. Not sure why this is going wrong. Can you send configure.log?</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div>*******************************************************************************</div><div> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):</div>
<div>-------------------------------------------------------------------------------</div><div>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":</div>
<div>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'</div>
<div>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</div><div>configure: error: cannot find install-sh, install.sh, or shtool in confdb "."/confdb</div>
<div>*******************************************************************************</div><div> File "./config/configure.py", line 293, in petsc_configure</div><div> framework.configure(out = sys.stdout)</div>
<div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/framework.py", line 933, in configure</div><div> child.configure()</div><div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/package.py", line 556, in configure</div>
<div> self.executeTest(self.configureLibrary)</div><div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/base.py", line 115, in executeTest</div><div> ret = apply(test, args,kargs)</div>
<div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py", line 748, in configureLibrary</div><div> config.package.Package.configureLibrary(self)</div><div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/package.py", line 484, in configureLibrary</div>
<div> for location, directory, lib, incl in self.generateGuesses():</div><div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/package.py", line 232, in generateGuesses</div><div> d = self.checkDownload(1)</div>
<div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py", line 351, in checkDownload</div><div> return config.package.Package.checkDownload(self, requireDownload)</div><div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/package.py", line 340, in checkDownload</div>
<div> return self.getInstallDir()</div><div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/package.py", line 187, in getInstallDir</div><div> return os.path.abspath(self.Install())</div>
<div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py", line 366, in Install</div><div> return self.InstallMPICH()</div><div> File "/home/simpson/software/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py", line 555, in InstallMPICH</div>
<div> raise RuntimeError('Error running configure on MPICH: '+str(e))</div><span class=""><font color="#888888"><div> </div></font></span></div><span class=""><font color="#888888"><div><br></div><div><br><div>
<div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">-gideon</span>
</div>
<br></div></div></font></span></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>