-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PBS job name: length maximum global.rc configurable #1804
Conversation
d05e42d
to
f19be63
Compare
f19be63
to
e4c1a32
Compare
75b7a63
to
be9e876
Compare
be9e876
to
e780c06
Compare
@benfitzpatrick @arjclark please review. |
17fe934
to
3bdb067
Compare
PBS fails a job submit if the job name in \lstinline=-N name= is too long. | ||
For version 12 or below, this is 15 characters. For version 13, this is 236 | ||
characters. You should modify the constant \lstinline=JOB_NAME_LEN_MAX= in the | ||
\lstinline=PBSHandler= class in \lstinline=lib/cylc/batch_sys_handlers/pbs.py= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What, that you have to change it or that PBS just breaks at earlier versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this advice needs nixing completely.
Docs fixed. |
Looks good to me. |
@arjclark please review 2. |
Looks OK to me. No problems from the test-battery in my environment. |
Plus document on how to modify a constant to bring back truncate support.Simplest way to close #1803, but is this approach acceptable to sites stuck with an old version of PBS? If not, I'll add a global configuration for this instead.Default is now the same as before, truncate at 15 characters. The length is now
global.rc
configurable.