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

6 views (last 30 days)

Accepted Answer

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

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!