我向SGE提交了一些非常简单的脚本(~103),它们都使用相同的工作目录。
#!/bin/bash
echo $MYVAR
当逐个运行时,它们都会成功执行。当我提交了大约约30个提交的工作时,其中一些工作未能提交并立即进入Eqw
州。当我用qstat -j $jobid -explain E
检查qstatus时,状态如下。
sge_o_shell: /bin/bash
sge_o_workdir: /home/myname/some/common/path
sge_o_host: hostly
notify: FALSE
job_name: scriptXXXXXXXXXXXXXXXXXX.sh
jobshare: 0
shell_list: NONE:/bin/bash
env_list:
mail_list myname@hostly.example.com
error reason 1: 12/07/2016 11:14:58 [123456:123456]: error: can't chdir to /home/myname/some/common
scheduling info: Job is in error state
我使用NFS挂载的主目录作为SGE的通用工作目录。该目录存在并且已经包含文件。它没有提到正常的can't chdir to $PATH; file or directory does not exist
,只是说它不能chdir到父目录。这很可能是NFS问题吗?