亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

奇點3.6.2安裝

奇點3.6.2安裝

Go
蠱毒傳說 2022-06-27 16:55:14
我在 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我不知道發生了什么!非常感謝!
查看完整描述

3 回答

?
呼如林

TA貢獻1798條經驗 獲得超3個贊

我正在努力解決同樣的錯誤。所有的建議都說你可能有一個舊版本的 Go,這就是原因。但事實證明,將 Go 和 Singularity 放在正確的位置更為重要。


我發現這些文檔https://github.com/hpcng/singularity/blob/release-3.5/INSTALL.md是最有用和最正確的關于在哪里放置目錄的內容。


關鍵是在 GOPATH 目錄中克隆 Singularity:


默認情況下您不會擁有此目錄,因此請先創建它


$ 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/go


GOPATH 類似于home/your_username/go,奇點將位于內部,例如home/your_username/go/src/github.com/sylabs/singularity


查看完整回答
反對 回復 2022-06-27
?
POPMUISE

TA貢獻1765條經驗 獲得超5個贊

如果有人遇到此問題,請遵循此安裝指南。


sudo apt-get update && \

sudo apt-get install -y build-essential \

libseccomp-dev pkg-config squashfs-tools cryptsetup


sudo rm -r /usr/local/go


export VERSION=1.13.15 OS=linux ARCH=amd64  # change this as you need


wget -O /tmp/go${VERSION}.${OS}-${ARCH}.tar.gz https://dl.google.com/go/go${VERSION}.${OS}-${ARCH}.tar.gz && \

sudo tar -C /usr/local -xzf /tmp/go${VERSION}.${OS}-${ARCH}.tar.gz


echo 'export GOPATH=${HOME}/go' >> ~/.bashrc && \

echo 'export PATH=/usr/local/go/bin:${PATH}:${GOPATH}/bin' >> ~/.bashrc && \

source ~/.bashrc


curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh |

sh -s -- -b $(go env GOPATH)/bin v1.21.0


mkdir -p ${GOPATH}/src/github.com/sylabs && \

cd ${GOPATH}/src/github.com/sylabs && \

git clone https://github.com/sylabs/singularity.git && \

cd singularity


git checkout v3.6.3


cd ${GOPATH}/src/github.com/sylabs/singularity && \

./mconfig && \

cd ./builddir && \

make && \

sudo make install


singularity version


查看完整回答
反對 回復 2022-06-27
?
慕的地6264312

TA貢獻1817條經驗 獲得超6個贊

該問題已在5099中報告。

#5320還提到:

我刪除了 PPO python 3.6,效果很好!

確保沒有以 root 身份執行,它的 $PATH 與您當前的用戶不同。


查看完整回答
反對 回復 2022-06-27
  • 3 回答
  • 0 關注
  • 279 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號