首页 > 解决方案 > 如何解决奇点无法运行

问题描述

  1. 我的操作系统是 Ubuntu 20.04

嗨,我尝试使用奇异性来运行 R 包测功机(https://dynverse.org/users/1-installation/#singularity)。我安装奇点如下:

# 安装依赖
# Ensure repositories are up-to-date
sudo apt-get update
# Install debian packages for dependencies
sudo apt-get install -y \
    build-essential \
    libseccomp-dev \
    pkg-config \
    squashfs-tools \
    cryptsetup

# 安装Go
export VERSION=1.17 OS=linux ARCH=amd64  # change this as you need

wget -O /tmp/go${GOVERSION}.${OS}-${ARCH}.tar.gz \
  https://dl.google.com/go/go${GOVERSION}.${OS}-${ARCH}.tar.gz
sudo tar -C /usr/local -xzf /tmp/go${GOVERSION}.${OS}-${ARCH}.tar.gz

# 添加环境变量
echo 'export GOPATH=${HOME}/go' >> ~/.zshrc
echo 'export PATH=/usr/local/go/bin:${PATH}:${GOPATH}/bin' >> ~/.zshrc
source ~/.zshrc

curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin


# 下载最新发行版
# https://github.com/hpcng/singularity/releases
wget -c https://github.com/hpcng/singularity/releases/download/v3.8.3/singularity-3.8.3.tar.gz
x singularity-3.8.3.tar.gz  

cd singularity
./mconfig

./mconfig
cd ./builddir
make
sudo make install
singularity --version

【输出】奇点3.8.3版

但是当我运行调试时:

singularity --debug run library://sylabsed/examples/lolcow

[它显示一个警告/致命]

DEBUG   [U=1000,P=23074]   persistentPreRun()            Singularity version: 3.8.3
DEBUG   [U=1000,P=23074]   persistentPreRun()            Parsing configuration file /usr/local/etc/singularity/singularity.conf
DEBUG   [U=1000,P=23074]   handleConfDir()               /home/yuansh/.singularity already exists. Not creating.
DEBUG   [U=1000,P=23074]   getCacheParentDir()           environment variable SINGULARITY_CACHEDIR not set, using default image cache
DEBUG   [U=1000,P=23074]   apiGet()                      apiGet calling v1/images/sylabsed/examples/lolcow:latest?arch=amd64
FATAL   [U=1000,P=23074]   replaceURIWithImage()         Unable to handle library://sylabsed/examples/lolcow uri: error making request to server:
    Get "https://library.sylabs.io/v1/images/sylabsed/examples/lolcow:latest?arch=amd64": proxyconnect tcp: dial tcp: lookup http: Temporary failure in name resolution

而且我运行空心词,它仍然显示错误

singularity pull shub://vsoch/hello-world                                  
FATAL:   While pulling shub image: error fetching image to cache: failed to get manifest for: shub://vsoch/hello-world: no response received from singularity hub

错误显示我无法触网,但我可以使用 docker pull

标签: linuxubuntu

解决方案


推荐阅读