大家好,我正在尝试安装 gromacs 5.1.4

大家好,我正在尝试安装 gromacs 5.1.4

我是 Ubuntu 的新用户,我正在尝试在其中安装 gromacs 5.1.4,但在安装的最后几步,我收到一条错误消息,提示网络无法访问。我还在这里添加了代码,以防万一。

cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON
-- No compatible CUDA toolkit found (v4.0+), disabling native GPU acceleration
-- The GROMACS-managed build of FFTW 3 will configure with the following optimizations: --enable-sse2;--enable-avx
Downloading: http://gerrit.gromacs.org/download/regressiontests-5.1.4.tar.gz
-- [download 0% complete]
-- [download 100% complete]
CMake Error at tests/CMakeLists.txt:57 (message):
error: downloading
'http://gerrit.gromacs.org/download/regressiontests-5.1.4.tar.gz' failed

status_code: 7
status_string: "Couldn't connect to server"
log: Trying 127.0.0.1...
Connected to 127.0.0.1 (127.0.0.1) port 41173 (#0)
GET http://gerrit.gromacs.org/download/regressiontests-5.1.4.tar.gz
HTTP/1.1
Host: gerrit.gromacs.org
User-Agent: curl/7.47.0
Accept: */*
Proxy-Connection: Keep-Alive

HTTP/1.1 302 Found
Content-Length: 334
Content-Type: text/html; charset=iso-8859-1
Date: Mon, 02 Mar 2020 06:53:35 GMT
Keep-Alive: timeout=58
Location:
ftp://ftp.gromacs.org/regressiontests/regressiontests-5.1.4.tar.gz
Server: Apache/2.4.18 (Ubuntu)


Ignoring the response-body
[334 bytes data]
Connection #0 to host 127.0.0.1 left intact
Issue another request to this URL:
'ftp://ftp.gromacs.org/regressiontests/regressiontests-5.1.4.tar.gz'
    Trying 130.237.25.126...
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
connect to 130.237.25.126 port 21 failed: Connection refused
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
    Trying 2001:6b0:1:1190:5054:ff:fe2f:daed...
Immediate connect fail for 2001:6b0:1:1190:5054:ff:fe2f:daed: Network is unreachable
Failed to connect to ftp.gromacs.org port 21: Connection refused

Closing connection 1

-- Configuring incomplete, errors occurred!
See also "/home/mahsheed/Downloads/gromacs-5.1.4/build/CMakeFiles/CMakeOutput.log".
See also "/home/mahsheed/Downloads/gromacs-5.1.4/build/CMakeFiles/CMakeError.log

答案1

问题似乎是从服务器到 ftp.gromacs.org 的网络连接。您能 ping 到这个位置吗?

ping ftp.gromacs.org

如果是,您能看看 wget 是否正在获取该文件吗?

wget ftp://ftp.gromacs.org/regressiontests/regressiontests-5.1.4.tar.gz

您也可以尝试在 /etc/resolv.conf 文件顶部添加一个条目,然后重试。

nameserver 8.8.8.8

如果这些都不起作用,我猜是防火墙阻止了连接。

答案2

我在通过 wget 下载时也遇到了问题。因此我使用浏览器下载了软件包。

它只是暂时解决了我的问题。

相关内容