fatal: not a git repository

76 views
Skip to first unread message

Vishnu V. Krishnan

unread,
Feb 21, 2019, 7:15:33 AM2/21/19
to openkim
Hi!

I just installed v1.9.7, and when I tried to install a model, I get the following error. Am I doing something wrong?


$ kim-api-v1-collections-management install system --sudo EDIP_BOP_Bazant_Kaxiras_Si__MO_958932894036_001
Enter Password :
Downloading.............. EDIP_BOP_Bazant_Kaxiras_Si__MO_958932894036_001
fatal
: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Not a git repository
To compare two paths outside a working tree:
usage
: git diff [--no-index] <path> <path>
make
: lib/kim-api-v1/kim-api-v1-collections-info: Command not found
make
: lib/kim-api-v1/kim-api-v1-collections-info: Command not found
/usr/lib/kim-api-v1/build_system/Makefile.ParameterizedModel:220: *** Invalid config file.  Stop.
Item 'EDIP_BOP_Bazant_Kaxiras_Si__MO_958932894036_001' of unknown type ''.

Aborting!

Ryan S. Elliott

unread,
Feb 21, 2019, 9:32:51 AM2/21/19
to openkim
Hello Vishnu,

I'm not sure what is happening there. I just checked this and it seems to be
working fine for me. Can you detail exactly the steps you have taken to build
and install kim-api-v1.9.7?

Thanks,

Ryan
--
Ryan S. Elliott, Ph.D. and Professor
Aerospace Engineering & Mechanics, University of Minnesota
(612) 624-2376 (626-1558 fax)
https://z.umn.edu/relliott
download vCard <https://z.umn.edu/relliott_vcf>
----------
The secret of joy in work is contained in one word---excellence. To know
how to do something well is to enjoy it.

Pearl S. Buck
----------

Vishnu V. Krishnan

unread,
Feb 21, 2019, 11:02:54 AM2/21/19
to openkim
Hi Ryan,

I used the 'make' method (since the pre-v2 doesn't seem to use cmake), and did the following:

./configure --prefix="/usr" --libexecdir="lib"
make
make install

Ryan S. Elliott

unread,
Feb 21, 2019, 11:38:13 AM2/21/19
to openkim
Hi Vishnu,

Try using:

./configure --prefix="/usr" --libexecdir="/usr/lib"

instead.
Against logic there is no armor like ignorance.

Laurence J. Peter
----------

Vishnu V. Krishnan

unread,
Feb 21, 2019, 12:12:06 PM2/21/19
to openkim
That still gives me the same error. But no worries, turns out LAMMPS is building in support for the v2 API, and that version works fine for me, so I think I will just wait.

Thanks for your time!

Ryan S. Elliott

unread,
Feb 21, 2019, 12:14:51 PM2/21/19
to openkim
OK,

Sounds good.

Cheers,
... as soon as a good mathematical theory has been stated explicitly,
``physical intuition'' begins to develop to such a point that finally
what has been gotten in fact as end result of long struggles of thought
becomes ``obvious''.

Truesdell, 1968, p232
----------
Reply all
Reply to author
Forward
0 new messages