Why am I getting a qsub directive error when I run a script on my PBS scheduler?
6 views (last 30 days)
Show older comments
When I run a test script on the PBS scheduler, it returns the following error:
qsub: directive error
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
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 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!