go - 奇点3.6.2安装

标签 go installation singularity-container

我在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/

相关文章:

windows-7 - 出现错误,错误 : Cannot find module ‘express’ after npm install

docker - 在docker中启用squashfs

R 用矩形而不是文本绘制绘图

xml-parsing - 如何用冒号解码 XML 属性?

installation - MVC4 RC中缺少单页应用程序模板

algorithm - UTXO选择策略

testing - 最小起订量 - 是否可以在设置中指定验证标准(例如调用次数)?

ImageMagick 在 Singularity 容器内转换 OOMing

python - 是否可以将 Python 与 Go 一起使用

Azure SDK for Go - 在 *keyVault.Properties.EnableSoftDelete 上断言 nil 或 false