Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
f86f82f4
Commit
f86f82f4
authored
14 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
torque/qsub: add warning / help message regarding missing options
parent
687aa1f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contribs/torque/qsub.pl
+42
-11
42 additions, 11 deletions
contribs/torque/qsub.pl
with
42 additions
and
11 deletions
contribs/torque/qsub.pl
+
42
−
11
View file @
f86f82f4
...
@@ -86,7 +86,8 @@ GetOptions('a=s' => \$start_time,
...
@@ -86,7 +86,8 @@ GetOptions('a=s' => \$start_time,
'
e=s
'
=>
\
$err_path
,
'
e=s
'
=>
\
$err_path
,
'
h
'
=>
\
$hold
,
'
h
'
=>
\
$hold
,
'
I
'
=>
\
$interactive
,
'
I
'
=>
\
$interactive
,
# 'j:s' => \$join,
'
j:s
'
=>
sub
{
warn
"
option -j is the default,
"
.
"
stdout/stderr go into the same file
\n
"
},
# 'k=s' => \$keep,
# 'k=s' => \$keep,
'
l=s
'
=>
\
$resource_list
,
'
l=s
'
=>
\
$resource_list
,
'
m=s
'
=>
\
$mail_options
,
'
m=s
'
=>
\
$mail_options
,
...
@@ -98,8 +99,12 @@ GetOptions('a=s' => \$start_time,
...
@@ -98,8 +99,12 @@ GetOptions('a=s' => \$start_time,
# 'r=s' => \$rerunable,
# 'r=s' => \$rerunable,
# 'S=s' => \$script_path,
# 'S=s' => \$script_path,
# 'u=s' => \$running_user_list,
# 'u=s' => \$running_user_list,
# 'v=s' => \$variable_list,
'
v=s
'
=>
sub
{
warn
"
option -v is not supported,
"
.
# 'V' => \$all_env,
"
since the current environment
"
.
"
is exported by default
\n
"
},
'
V
'
=>
sub
{
warn
"
option -V is not necessary,
"
.
"
since the current environment
"
.
"
is exported by default
\n
"
},
'
W
'
=>
\
$additional_attributes
,
'
W
'
=>
\
$additional_attributes
,
# 'z' => \$no_std,
# 'z' => \$no_std,
'
help|?
'
=>
\
$help
,
'
help|?
'
=>
\
$help
,
...
@@ -349,16 +354,25 @@ B<qsub> - submit a batch job in a familiar pbs format
...
@@ -349,16 +354,25 @@ B<qsub> - submit a batch job in a familiar pbs format
=head1 SYNOPSIS
=head1 SYNOPSIS
qsub [-a date_time] [-A account_string] [-b secs] [-c interval]
qsub [-a date_time]
[-C directive_prefix] [-e path] [-h] [-I]
[-A account_string]
[-j join] [-k keep] [-l resource_list] [-m mail_options]
[-b secs]
[-M user_list] [-N name] [-o path] [-p priority] [-q destination]
[-C directive_prefix]
[-r c] [-S path_list] [-u user_list] [-v variable_list] [-V]
[-e path]
[-W additional_attributes] [-z] [script]
[-I]
[-l resource_list]
[-m mail_options] [-M user_list]
[-N name]
[-o path]
[-p priority]
[-q destination]
[-W additional_attributes]
[-h]
[script]
=head1 DESCRIPTION
=head1 DESCRIPTION
The B<qsub> command displays information about nodes.
The B<qsub> command displays information about nodes.
It is aimed to be feature-compatible with PBS' qsub.
=head1 OPTIONS
=head1 OPTIONS
...
@@ -368,7 +382,24 @@ The B<qsub> command displays information about nodes.
...
@@ -368,7 +382,24 @@ The B<qsub> command displays information about nodes.
Display information for all nodes. This is the default if no node name is specified.
Display information for all nodes. This is the default if no node name is specified.
=item B<-? | --help>
=item B<-I>
Interactive execution.
=item B<-j> join
It is not necessary (currently also not possible) since stderr/stdout are always joined.
=item B<-v> [variable_list]
Exporting single variables via -v is not supported, since the entire login environment
is exported by the default.
=item B<-V>
The -V option to export the current environment is not required since it is done by default.
=item B<-?> | B<--help>
brief help message
brief help message
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment