[petsc-users] Could not execute "['git', 'rev-parse', '--git-dir']"

Satish Balay balay at mcs.anl.gov
Wed Mar 7 13:33:08 CST 2018


>>>>>>>>
balay at asterix /home/balay
$ git rev-parse --git-dir
fatal: Not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
balay at asterix /home/balay
$ echo $?
128
balay at asterix /home/balay
$ cd petsc
balay at asterix /home/balay/petsc (next *=)
$ git rev-parse --git-dir
.git
balay at asterix /home/balay/petsc (next *=)
$ echo $?
0
balay at asterix /home/balay/petsc (next *=)
$ 
<<<<<

So - for some reason, git is an error in /home/kongf/workhome/projects/petsc-3.7.7/arch-linux2-c-opt-64bit/externalpackages/git.hypre

You can try:

cd /home/kongf/workhome/projects/petsc-3.7.7/arch-linux2-c-opt-64bit/externalpackages/git.hypre
git rev-parse --git-dir
echo $?
git fsck

If this works - you can rerun configure and see if the error persists

Satish


On Wed, 7 Mar 2018, Kong, Fande wrote:

> Hi PETSc team:
> 
> What is the possible reason for this?
> 
> The log file is attached.
> 
> 
> Fande,
> 



More information about the petsc-users mailing list