【发布时间】:2014-08-16 12:01:50
【问题描述】:
我有这个 python 脚本:
#!/usr/bin/python
print 'hi'
我正在尝试将此脚本作为要在计算集群上执行的作业发送。我用qsub 发送它,如下所示:qsub myscript.py
在运行它之前,我执行了以下操作:
chmod +x myscript.py
但是,当我打开输出文件时,我发现:
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
当我打开错误文件时,我发现:
print: Command not found.
那怎么了?!
编辑:我按照this question中的说明进行操作
【问题讨论】:
标签: python shell sungridengine