簡體   English   中英

在 SLURM 中運行二進制文件

[英]running a binary in SLURM

我試圖運行二進制, "rafb"SLURM使用"--wrap" ,像sbatch --wrap rafb

但它顯示sbatch: error: Script arguments are not permitted with the --wrap option.

沒有這個"--wrap" ,它顯示

sbatch: error: This does not look like a batch script.  The first
sbatch: error: line must start with #! followed by the path to an interpreter.
sbatch: error: For instance: #!/bin/sh

有沒有其他方法可以避免在腳本中寫入"#!/bin/bash"

如果我這樣寫,它對我有用:

sbatch --wrap="rafb"

我知道這個問題已經很老了,但是由於還沒有解決方案,而且我只是遇到了同樣的問題,所以我想與其他面臨同樣問題的人分享我的解決方案。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM