Why am I getting a qsub directive error when I run a script on my PBS scheduler?
7 次查看(过去 30 天)
显示 更早的评论
When I run a test script on the PBS scheduler, it returns the following error:
qsub: directive error
采纳的回答
MathWorks Support Team
2009-6-27
This may indicate a syntax error in the script that is being submitted.
For example, in the test script below, the error message "qsub: directive error: V" is caused by a missing dash (-) before the "V" option:
#PBS -N my_job
#PBS -l walltime=0:50:00
#PBS -o hostname.out
#PBS -e hostname.err
#PBS V
hostname
In the script above, the second to last line should be:
#PBS -V
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!