<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 7, 2018 at 1:22 PM, Satish Balay <span dir="ltr"><<a target="_blank" href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Its strange that you are getting this error in configure - but not command linke.<br>
<br>
Does the following option make a difference?<br>
<br>
--useThreads=0<br>
or<br>
--useThreads=1<br></blockquote><div><br></div><div>no difference.<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<br>
If you need to workarround this - you can comment out that test (3lines)..<br>
<br>
  File "/home/kongf/workhome/<wbr>projects/petsc-3.7.7/config/<wbr>BuildSystem/config/package.py"<wbr>, line 519, in updateGitDir<br>
    gitdir,err,ret = config.base.Configure.<wbr>executeShellCommand([self.<wbr>sourceControl.git, 'rev-parse','--git-dir'], cwd=self.packageDir, log = self.log)<br><br></blockquote><div><br><br>"#self.updateGitDir()"  works.<br><br></div><div>I still do not understand why.<br></div><div><br><br></div><div>Fande,<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<span class="gmail-im gmail-HOEnZb"><br>
Satish<br>
<br>
On Wed, 7 Mar 2018, Kong, Fande wrote:<br>
<br>
</span><div class="gmail-HOEnZb"><div class="gmail-h5">> [kongf@falcon1 git.hypre]$ git rev-parse  --git-dir<br>
> .git<br>
> [kongf@falcon1 git.hypre]$ echo $?<br>
> 0<br>
> [kongf@falcon1 git.hypre]$<br>
> [kongf@falcon1 git.hypre]$ git fsck<br>
> Checking object directories: 100% (256/256), done.<br>
> Checking objects: 100% (22710/22710), done.<br>
> [kongf@falcon1 git.hypre]$<br>
><br>
><br>
><br>
> But the same  error still persists!<br>
><br>
><br>
> Fande,<br>
><br>
> On Wed, Mar 7, 2018 at 12:33 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
><br>
> > >>>>>>>><br>
> > balay@asterix /home/balay<br>
> > $ git rev-parse --git-dir<br>
> > fatal: Not a git repository (or any parent up to mount point /)<br>
> > Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_<wbr>FILESYSTEM not set).<br>
> > balay@asterix /home/balay<br>
> > $ echo $?<br>
> > 128<br>
> > balay@asterix /home/balay<br>
> > $ cd petsc<br>
> > balay@asterix /home/balay/petsc (next *=)<br>
> > $ git rev-parse --git-dir<br>
> > .git<br>
> > balay@asterix /home/balay/petsc (next *=)<br>
> > $ echo $?<br>
> > 0<br>
> > balay@asterix /home/balay/petsc (next *=)<br>
> > $<br>
> > <<<<<<br>
> ><br>
> > So - for some reason, git is an error in /home/kongf/workhome/projects/<br>
> > petsc-3.7.7/arch-linux2-c-opt-<wbr>64bit/externalpackages/git.<wbr>hypre<br>
> ><br>
> > You can try:<br>
> ><br>
> > cd /home/kongf/workhome/projects/<wbr>petsc-3.7.7/arch-linux2-c-opt-<br>
> > 64bit/externalpackages/git.<wbr>hypre<br>
> > git rev-parse --git-dir<br>
> > echo $?<br>
> > git fsck<br>
> ><br>
> > If this works - you can rerun configure and see if the error persists<br>
> ><br>
> > Satish<br>
> ><br>
> ><br>
> > On Wed, 7 Mar 2018, Kong, Fande wrote:<br>
> ><br>
> > > Hi PETSc team:<br>
> > ><br>
> > > What is the possible reason for this?<br>
> > ><br>
> > > The log file is attached.<br>
> > ><br>
> > ><br>
> > > Fande,<br>
> > ><br>
> ><br>
> ><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>