Skip to content
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

Support dashes in the resource list in qsub.pl #52

Open
MaigoAkisame opened this issue Jul 21, 2015 · 0 comments
Open

Support dashes in the resource list in qsub.pl #52

MaigoAkisame opened this issue Jul 21, 2015 · 0 comments

Comments

@MaigoAkisame
Copy link

I am using the script contribs/torque/qsub.pl to submit a job to a specific node:
qsub -l nodes=foo-bar foo.sh
However, the node name, which contains a dash, is not recognized by the qsub script.

The problem lies in Line 244:
($opt{$key}) = $rl =~ m/$key=([\w:+=+]+)/;
The character class (enclosed in brackets) in the regexp doesn't include the dash.

Since node names with dashes are not uncommon, I would appreciate it if you could add - to the character class in the regexp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant