Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ess-python-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESS Beam Physics
ess-python-tools
Commits
30531672
Commit
30531672
authored
10 years ago
by
Yngve Levinsen
Browse files
Options
Downloads
Patches
Plain Diff
added option to set priority on command line
parent
8da37330
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
TraceWinCondor/head.job.template
+1
-1
1 addition, 1 deletion
TraceWinCondor/head.job.template
TraceWinCondor/submit.py
+2
-0
2 additions, 0 deletions
TraceWinCondor/submit.py
with
3 additions
and
1 deletion
TraceWinCondor/head.job.template
+
1
−
1
View file @
30531672
...
@@ -12,4 +12,4 @@ log = condor.log
...
@@ -12,4 +12,4 @@ log = condor.log
executable = TraceWin_exe/tracewin.$$(OpSys).$$(Arch)
executable = TraceWin_exe/tracewin.$$(OpSys).$$(Arch)
priority =
-5
priority =
{args.priority}
This diff is collapsed.
Click to expand it.
TraceWinCondor/submit.py
+
2
−
0
View file @
30531672
...
@@ -10,6 +10,8 @@ def define_and_handle_args():
...
@@ -10,6 +10,8 @@ def define_and_handle_args():
parser
.
add_argument
(
"
-c
"
,
dest
=
"
calc_dir
"
,
default
=
'
.
'
,
type
=
str
,
help
=
"
Path to calculation folder
"
)
parser
.
add_argument
(
"
-c
"
,
dest
=
"
calc_dir
"
,
default
=
'
.
'
,
type
=
str
,
help
=
"
Path to calculation folder
"
)
parser
.
add_argument
(
"
-p
"
,
dest
=
"
priority
"
,
default
=
0
,
type
=
int
,
help
=
"
Job priority
"
)
return
parser
.
parse_args
()
return
parser
.
parse_args
()
def
setup_exec_folder
():
def
setup_exec_folder
():
...
...
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