HTCondor:将$(Process)作为可执行文件的参数传递时,出现“进程:找不到[没有这样的文件或目录]”

路德米

所以我有一个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] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

Related 相关文章

热门标签

归档