Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
binary_c-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Izzard, Robert Dr (Maths & Physics)
binary_c-python
Commits
fbb282ff
Commit
fbb282ff
authored
3 years ago
by
Izzard, Robert Dr (Maths & Physics)
Browse files
Options
Downloads
Patches
Plain Diff
fix typos
parent
b9504c02
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
binarycpython/utils/condor.py
+1
-1
1 addition, 1 deletion
binarycpython/utils/condor.py
binarycpython/utils/grid_options_defaults.py
+2
-2
2 additions, 2 deletions
binarycpython/utils/grid_options_defaults.py
binarycpython/utils/slurm.py
+1
-1
1 addition, 1 deletion
binarycpython/utils/slurm.py
with
4 additions
and
4 deletions
binarycpython/utils/condor.py
+
1
−
1
View file @
fbb282ff
...
@@ -328,7 +328,7 @@ JobBatchName = {batchname}
...
@@ -328,7 +328,7 @@ JobBatchName = {batchname}
{extra_settings}
{extra_settings}
queue {njobs}
queue {njobs}
"""
.
format
(
"""
.
format
(
usr_bin_env
=
self
.
grid_options
[
'
condor_
usr_bin_
env
'
],
usr_bin_env
=
self
.
grid_options
[
'
condor_env
'
],
bash
=
self
.
grid_options
[
'
condor_bash
'
],
bash
=
self
.
grid_options
[
'
condor_bash
'
],
job_script_path
=
job_script_path
,
job_script_path
=
job_script_path
,
universe
=
self
.
grid_options
[
'
condor_universe
'
],
universe
=
self
.
grid_options
[
'
condor_universe
'
],
...
...
This diff is collapsed.
Click to expand it.
binarycpython/utils/grid_options_defaults.py
+
2
−
2
View file @
fbb282ff
...
@@ -241,7 +241,7 @@ class grid_options_defaults():
...
@@ -241,7 +241,7 @@ class grid_options_defaults():
'
condor_save_joined_file
'
:
0
,
# if 1 then results/joined contains the results
'
condor_save_joined_file
'
:
0
,
# if 1 then results/joined contains the results
# (useful for debugging, otherwise a lot of work)
# (useful for debugging, otherwise a lot of work)
'
condor_requirements
'
:
''
,
# job requirements
'
condor_requirements
'
:
''
,
# job requirements
'
condor_
usr_bin_
env
'
:
shutil
.
which
(
"
env
"
),
# /usr/bin/env location
'
condor_env
'
:
shutil
.
which
(
"
env
"
),
# /usr/bin/env location
'
condor_bash
'
:
shutil
.
which
(
"
bash
"
),
# bash executable location
'
condor_bash
'
:
shutil
.
which
(
"
bash
"
),
# bash executable location
"
condor_pwd
"
:
shutil
.
which
(
"
pwd
"
),
# pwd command location for Condor
"
condor_pwd
"
:
shutil
.
which
(
"
pwd
"
),
# pwd command location for Condor
"
condor_date
"
:
shutil
.
which
(
"
date
"
),
# bash location for Condor
"
condor_date
"
:
shutil
.
which
(
"
date
"
),
# bash location for Condor
...
@@ -250,7 +250,7 @@ class grid_options_defaults():
...
@@ -250,7 +250,7 @@ class grid_options_defaults():
"
condor_submit
"
:
"
condor_submit
"
,
# the condor_submit command
"
condor_submit
"
:
"
condor_submit
"
,
# the condor_submit command
"
condor_getenv
"
:
True
,
# if True condor takes the environment at submission and copies it to the jobs. You almost certainly want this.
"
condor_getenv
"
:
True
,
# if True condor takes the environment at submission and copies it to the jobs. You almost certainly want this.
"
condor_restart_dir
"
:
None
,
# restart Condor jobs from this directory
"
condor_restart_dir
"
:
None
,
# restart Condor jobs from this directory
"
condor_batchname
"
:
""
,
# Condor batchname option
"
condor_batchname
"
:
"
binary_c-condor
"
,
# Condor batchname option
##########################
##########################
# Unordered. Need to go through this. Copied from the perl implementation.
# Unordered. Need to go through this. Copied from the perl implementation.
##########################
##########################
...
...
This diff is collapsed.
Click to expand it.
binarycpython/utils/slurm.py
+
1
−
1
View file @
fbb282ff
...
@@ -219,7 +219,7 @@ class slurm():
...
@@ -219,7 +219,7 @@ class slurm():
# build the grid command
# build the grid command
grid_command
=
[
grid_command
=
[
str
(
grid_options
[
'
slurm_env
'
])
str
(
grid_options
[
'
slurm_env
'
])
,
sys
.
executable
,
sys
.
executable
,
str
(
lib_programname
.
get_path_executed_script
()),
str
(
lib_programname
.
get_path_executed_script
()),
]
+
sys
.
argv
[
1
:]
+
[
]
+
sys
.
argv
[
1
:]
+
[
...
...
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