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

PBSPro qsub does not have -t #89

Closed
hearnsj opened this issue Mar 20, 2018 · 5 comments
Closed

PBSPro qsub does not have -t #89

hearnsj opened this issue Mar 20, 2018 · 5 comments

Comments

@hearnsj
Copy link

hearnsj commented Mar 20, 2018

Hello. I tried to use the ClusterManagers package on our cluster which uses PBSPro version 13 (I also hae version 14 available). The result is below.
I think the -t option is specific to OpenPBS with Torque (I may be wrong!)
I am happy to help with a port to PBSPro

Also note that on our cluster you cannot submit directly to a queue.
Jobs go to the entry queue and are the sent to queues depending on the resources which you request, including walltime. So the empty queue must work.

John Hearns

julia> addprocs_pbs(12,queue="long")
qsub: invalid option -- 't'
usage: qsub [-a date_time] [-A account_string] [-c interval]
[-C directive_prefix] [-e path] [-f ] [-h ] [-I [-X]] [-j oe|eo] [-J X-Y[:Z]]
[-k o|e|oe] [-l resource_list] [-m mail_options] [-M user_list]
[-N jobname] [-o path] [-p priority] [-P project] [-q queue] [-r y|n]
[-S path] [-u user_list] [-W otherattributes=value...]
[-v variable_list] [-V ] [-z] [script | -- command [arg1 ...]]
qsub --version
batch queue not available (could not run qsub)
0-element Array{Int64,1}

@vchuravy
Copy link
Member

Hello John,

If you could provide a PR that detects PBSPro and then not uses -t that would be great!

@hearnsj
Copy link
Author

hearnsj commented Mar 21, 2018

Valentin, I will look at that.
I think that the Batch System world has changed. PBSPro is different from OpenPBS.
PBSPro is now a dual model - Open Source with support from Altair if you choose to purchase it.
I think PBSPro will therefore become much more used than OpenPBS.
I think we need another provider:

addprocs_pbspro( np::Integer, queue="") or addprocs(PBSproManager(np,queue))

@snirgaz
Copy link

snirgaz commented Oct 29, 2019

Any update of PBSPro support?
It seems like changing "-t" to "-J" should do the trick.

@darrencl
Copy link

Any update on this?

This was referenced Mar 18, 2020
@juliohm
Copy link
Collaborator

juliohm commented Oct 6, 2020

Please feel free to submit a PR against the latest master branch.

@juliohm juliohm closed this as completed Oct 6, 2020
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

Successfully merging a pull request may close this issue.

5 participants