计算化学公社

标题: Linux系统进行Dalton下载,出现报错。 [打印本页]

作者
Author:
李文桃    时间: 2021-1-14 10:33
标题: Linux系统进行Dalton下载,出现报错。
本帖最后由 李文桃 于 2021-1-14 10:44 编辑

我按照帖子“量子化学程序Dalton的编译方法和运行方式简介”进行Dalton的下载与安装,出现index-pack failed,想请问一下各位老师,是什么原因;该如何解决?终端界面显示如下:

[root@server ~]# git clone --recursive -b Dalton2020.0 https://gitlab.com/dalton/dalton.git
Cloning into 'dalton'...
remote: Enumerating objects: 1600, done.
remote: Counting objects: 100% (1600/1600), done.
remote: Compressing objects: 100% (764/764), done.
error: RPC failed; result=18, HTTP code = 20023 MiB | 58.00 KiB/s   
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
[root@server ~]#







作者
Author:
abin    时间: 2021-1-14 11:03
Gitlab 托管在Google cloud platform。
你认为,你可以自由使用谷歌服务吗?
作者
Author:
李文桃    时间: 2021-1-14 11:23
abin 发表于 2021-1-14 11:03
Gitlab 托管在Google cloud platform。
你认为,你可以自由使用谷歌服务吗?

帖子原文就是说--
在Linux的命令行下运行:
git clone --recursive https://gitlab.com/dalton/dalton.git
就会把最新版本Dalton下载到当前目录下作为dalton目录。这个“最新版本”体现了开发者迄今对dalton所做的所有最新的改动。然后手动将此目录改名为dalton_src。
没有说不可以使用谷歌服务呀;
作者
Author:
biogon    时间: 2021-1-14 11:42
abin 发表于 2021-1-14 11:03
Gitlab 托管在Google cloud platform。
你认为,你可以自由使用谷歌服务吗?

教育网肯定是能正常下载的,我刚才还试了,前面的信息都能获取到那应该不是网的问题
作者
Author:
snljty    时间: 2021-1-14 12:06
总之先换ftp协议试试。
作者
Author:
abin    时间: 2021-1-14 12:07
biogon 发表于 2021-1-14 11:42
教育网肯定是能正常下载的,我刚才还试了,前面的信息都能获取到那应该不是网的问题

只说我这里的情形:
吉林长春 教育网
  1. [wang@lab-itc tmp]$ git clone --recursive -b Dalton2020.0 https://gitlab.com/dalton/dalton.git
  2. Cloning into 'dalton'...
  3. remote: Enumerating objects: 1600, done.
  4. remote: Counting objects: 100% (1600/1600), done.
  5. remote: Compressing objects: 100% (764/764), done.
  6. fatal: the remote end hung up unexpectedly48.07 MiB | 10.37 MiB/s
  7. fatal: early EOF
  8. fatal: index-pack failed
  9. [wang@lab-itc tmp]$
复制代码


如果更换一个机器或者网络, 亚马逊网络,
  1. 12:01PM@MacPro: /tmp # git clone --recursive -b Dalton2020.0 https://gitlab.com/dalton/dalton.git
  2. Cloning into 'dalton'...
  3. remote: Enumerating objects: 1600, done.
  4. remote: Counting objects: 100% (1600/1600), done.
  5. remote: Compressing objects: 100% (764/764), done.
  6. remote: Total 156951 (delta 899), reused 1486 (delta 819), pack-reused 155351
  7. Receiving objects: 100% (156951/156951), 317.43 MiB | 7.88 MiB/s, done.
  8. Resolving deltas: 100% (122984/122984), done.
  9. Note: switching to '66052b3af5ea7225e31178bf9a8b031913c72190'.
  10. 。。。。。
  11. Cloning into '/private/tmp/dalton/external/pelib'...
  12. remote: Enumerating objects: 69, done.
  13. remote: Counting objects: 100% (69/69), done.
  14. remote: Compressing objects: 100% (65/65), done.
  15. remote: Total 1679 (delta 36), reused 3 (delta 0), pack-reused 1610
  16. Receiving objects: 100% (1679/1679), 769.98 KiB | 959.00 KiB/s, done.
  17. Resolving deltas: 100% (1197/1197), done.
  18. Cloning into '/private/tmp/dalton/external/qfitlib'...
  19. remote: Enumerating objects: 24, done.
  20. remote: Counting objects: 100% (24/24), done.
  21. remote: Compressing objects: 100% (21/21), done.
  22. remote: Total 467 (delta 7), reused 12 (delta 3), pack-reused 443
  23. Receiving objects: 100% (467/467), 141.16 KiB | 299.00 KiB/s, done.
  24. Resolving deltas: 100% (307/307), done.
  25. Submodule path 'external/gen1int': checked out '1e4148ecd676761b3399801acba443925a1fee6b'
  26. Submodule path 'external/pelib': checked out 'cf49a6e04fdca09af6245fb68a36d20b68552ace'
  27. Submodule path 'external/qfitlib': checked out '1acdc9863fdeae2cdbc7f5a599413257a095b8ad'
  28. 12:02PM@MacPro: /tmp #
复制代码


问题很简单,
fatal: the remote end hung up unexpectedly
http或者https链接没办法维续,
或许是,gitlab拒绝提供服务;或者是客户无法访问gitlab,或者是传输过程中网络被第三方做掉。




作者
Author:
zjxitcc    时间: 2021-1-14 12:35
本帖最后由 zjxitcc 于 2021-1-14 12:37 编辑
李文桃 发表于 2021-1-14 11:23
帖子原文就是说--
在Linux的命令行下运行:
git clone --recursive https://gitlab.com/dalton/dalton. ...

可以试试去GitLab网页上直接下载dalton压缩包,里面的外部库你也可以直接下载下来。
作者
Author:
ene    时间: 2021-1-14 13:34
网络不好的原因。我克隆了一份,可以下载下来直接编译
链接: https://pan.baidu.com/s/1_XCdKNuyhl8EbwcQ4zn1NQ  密码: 4hgl
作者
Author:
biogon    时间: 2021-1-14 15:12
abin 发表于 2021-1-14 12:07
只说我这里的情形:
吉林长春 教育网

搜了下这个错误,也有人说是git的目录没权限导致的
作者
Author:
abin    时间: 2021-1-14 16:03
biogon 发表于 2021-1-14 15:12
搜了下这个错误,也有人说是git的目录没权限导致的

同一个时间段,
我换个网络,
立即git clone完毕。
哪里来的权限问题?
作者
Author:
biogon    时间: 2021-1-14 16:20
abin 发表于 2021-1-14 16:03
同一个时间段,
我换个网络,
立即git clone完毕。

你这机器都不是一个,再说了我又没说问题一定是在这里
作者
Author:
李文桃    时间: 2021-1-14 16:24
ene 发表于 2021-1-14 13:34
网络不好的原因。我克隆了一份,可以下载下来直接编译
链接: https://pan.baidu.com/s/1_XCdKNuyhl8EbwcQ4 ...

谢谢您,这个编译后应该就不会存在其他问题吧?
作者
Author:
李文桃    时间: 2021-1-14 16:24
biogon 发表于 2021-1-14 16:20
你这机器都不是一个,再说了我又没说问题一定是在这里

那究竟是不是网络的问题呢?
作者
Author:
hebrewsnabla    时间: 2021-1-14 16:40
李文桃 发表于 2021-1-14 16:24
那究竟是不是网络的问题呢?

就是网络问题,没有其他原因
作者
Author:
ene    时间: 2021-1-14 18:09
李文桃 发表于 2021-1-14 16:24
谢谢您,这个编译后应该就不会存在其他问题吧?

你试一试吧,我按照sob的博文弄的,按说没问题
作者
Author:
北纬18°    时间: 2021-1-16 00:54
这就是墙内的奇葩网络问题,跟 linux 系统没什么关系。
最好的方法就是墙外 git && tar , 墙内 断点续传下载。

作者
Author:
abin    时间: 2021-2-27 22:24
北纬18° 发表于 2021-1-16 00:54
这就是墙内的奇葩网络问题,跟 linux 系统没什么关系。
最好的方法就是墙外 git && tar , 墙内 断点续传下 ...

如有信用卡,订购一个 AWS lightsail ,
月付3.5$,解决多少问题。

听说也有腾讯,阿里的海外轻量。

顶多花五分钟,设定一下比如用Mobaxtrem如何联机。

然后会简单的wget, git clone, tar czvf xxx.tgz。

如何连接云端Linux主机,
可以去哔哩哔哩搜索abbottcn 自行学习。




欢迎光临 计算化学公社 (http://ccc.keinsci.com/) Powered by Discuz! X3.3