Git checkout fails

64 views
Skip to first unread message

Jan

unread,
Oct 11, 2017, 2:21:42 PM10/11/17
to CUDPP
Hi,

I am trying to install CUDPP on linux. When checking out the git repository using git clone --recursive https://github.com/cudpp/cudpp.git, I get the error message

Cloning into 'cudpp'...
remote: Counting objects: 9093, done.
remote: Total 9093 (delta 0), reused 0 (delta 0), pack-reused 9093
Receiving objects: 100% (9093/9093), 111.50 MiB | 2.48 MiB/s, done.
Resolving deltas: 100% (7183/7183), done.
Checking connectivity... done.
Submodule 'ext/cub' (git://github.com/NVlabs/cub.git) registered for path 'ext/cub'
Submodule 'ext/moderngpu' (git://github.com/NVlabs/moderngpu.git) registered for path 'ext/moderngpu'
Cloning into 'ext/cub'...
remote: Counting objects: 32266, done.
remote: Total 32266 (delta 0), reused 0 (delta 0), pack-reused 32266
Receiving objects: 100% (32266/32266), 16.16 MiB | 245.00 KiB/s, done.
Resolving deltas: 100% (28317/28317), done.
Checking connectivity... done.
fatal: reference is not a tree: 9c335b9aacff874253c2f3e79c643230317438f0
Cloning into 'ext/moderngpu'...
remote: Counting objects: 1267, done.
remote: Total 1267 (delta 0), reused 0 (delta 0), pack-reused 1267
Receiving objects: 100% (1267/1267), 6.72 MiB | 220.00 KiB/s, done.
Resolving deltas: 100% (630/630), done.
Checking connectivity... done.
Submodule path 'ext/moderngpu': checked out 'b6b3ed52f8f7478b969e05242980c97ff21a6ab0'
Unable to checkout '9c335b9aacff874253c2f3e79c643230317438f0' in submodule path 'ext/cub'

Same when omitting the --recursive option and instead issuing git submodule init/update.

Any help is appreciated.

Best,
Jan

John Owens

unread,
Oct 11, 2017, 2:23:58 PM10/11/17
to cu...@googlegroups.com
This is a CUB issue based on Duane cleaning up CUB's history:

https://github.com/NVlabs/cub/issues/94

It would be helpful if you figured out what the right submodule reference is (manually) and tell us and we'll then put it back into the repo?

JDO
> --
> You received this message because you are subscribed to the Google Groups "CUDPP" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cudpp+un...@googlegroups.com.
> To post to this group, send email to cu...@googlegroups.com.
> Visit this group at https://groups.google.com/group/cudpp.
> For more options, visit https://groups.google.com/d/optout.

Jan

unread,
Oct 12, 2017, 2:20:50 AM10/12/17
to CUDPP
Hi John,

thanks a lot for your quick reply. Unfortunately, I am fairly new to git and therefore feel unable to carry out/properly understand what you suggested. I have now simply downloaded the sources from the 2.2 release, which does the trick for me for the moment.

However, it would be nice if somebody with more experience/knowlegde in git could perform what you suggested.

Best,
Jan
Reply all
Reply to author
Forward
0 new messages