所以我有一个fit
要与HTCondor一起运行的可执行文件。可执行文件采用整数0 <= i <= 9作为参数。我想将i关联为工作进程号:$(Process)。所以我有一个提交文件,使得:
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
而不是
./fit $(处理)
尝试
./fit $ 1
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句