gpt4 book ai didi

go - 奇点3.6.2安装

转载 作者:行者123 更新时间:2023-12-01 20:25:47 27 4
gpt4 key购买 nike

我在linux mint中安装奇点3.6.2时遇到问题,我按照https://sylabs.io/guides/3.0/user-guide/installation.html的说明进行操作。
我安装了依赖项和Go。
然后,我运行命令以安装最新版本:

export VERSION=3.6.2 && # adjust this as necessary \
mkdir -p $GOPATH/src/github.com/sylabs && \
cd $GOPATH/src/github.com/sylabs && \
wget https://github.com/sylabs/singularity/releases/download/v${VERSION}/singularity-${VERSION}.tar.gz && \
tar -xzf singularity-${VERSION}.tar.gz && \
cd ./singularity && \
./mconfig
错误是:
    Configuring for project `singularity' with languages: C, Golang
=> running pre-basechecks project specific checks ...
=> running base system checks ...
checking: host C compiler... cc
checking: host C++ compiler... c++
checking: host Go compiler (at least version 1.13)... not found!
mconfig: could not complete configuration
我去了(去版本)
go version go1.15.2 linux/amd64
我不知道发生了什么!
非常感谢!

最佳答案

我正在努力解决相同的错误。所有建议都表明您可能拥有旧版本的Go,这就是原因。但是事实证明,将Go和Singularity放置在正确的位置更为重要。
我发现这些文档https://github.com/hpcng/singularity/blob/release-3.5/INSTALL.md是最有用和最正确的关于在目录中放置内容的位置。
关键是在目录GOPATH中克隆奇点:
默认情况下,您将没有此目录,因此请首先创建它

$ mkdir -p ${GOPATH}/src/github.com/sylabs && \
cd ${GOPATH}/src/github.com/sylabs && \
git clone https://github.com/sylabs/singularity.git && \
cd singularity
确保您的奇点在这里: {GOPATH}/src/github.com/sylabs/singularity
总结一下:
Go本身位于此处 /usr/local/goGOPATH类似于 home/your_username/go,而奇点位于例如 home/your_username/go/src/github.com/sylabs/singularity

关于go - 奇点3.6.2安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63865962/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com