Why am I getting a qsub directive error when I run a script on my PBS scheduler?

7 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
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 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by