所以我有一个可执行文件fit
,我想用HTCondor运行它。可执行文件采用整数0<=i<=9作为论据。我想将我关联为作业流程编号:$(流程(。所以我有一个提交文件,这样:
executable = /nfs/...script_test.sh
arguments = $(Process)
log = fit.$(Process).log
output = outfile_fit.$(Process).txt
error = errors_fit.$(Process).txt
transfer_input_files = /nfs/...
should_transfer_files = Yes
when_to_transfer_output = ON_EXIT
queue 10
我的shell脚本很简单:
export LD_LIBRARY_PATH="/nfs/...:$LD_LIBRARY_PATH"
./fit $(Process)
这给了我以下错误:
Failed to find a valid KRB5 credential cache. Aborting.
Failed to find a valid KRB5 credential cache. Aborting.
aklog: All mechanisms failed to produce tokens for cell desy.de
/var/lib/condor/execute/dir_20552/condor_exec.exe[3]: Process: not found [No such file or directory]
/var/lib/condor/execute/dir_20552/condor_exec.exe: line 3: 26653: Memory fault
如果我将$(Process(设置为给定的整数,则作业运行良好,但我仍然会得到错误
Failed to find a valid KRB5 credential cache. Aborting.
Failed to find a valid KRB5 credential cache. Aborting.
aklog: All mechanisms failed to produce tokens for cell desy.de
知道如何解决这个问题吗?
尝试使用启动shell脚本的第一行
#/bin/sh
而不是
/适合$(处理(
尝试
/适合$1