Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pipelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.pipelines
Commits
2bdc8832
Commit
2bdc8832
authored
4 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Patches
Plain Diff
Changed some scheduler defaults AND temporally added biometric as a default for the SGE -P option
parent
0ad6764c
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!33
SGE defaults
Pipeline
#41029
passed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/pipelines/distributed/sge.py
+6
-5
6 additions, 5 deletions
bob/pipelines/distributed/sge.py
with
6 additions
and
5 deletions
bob/pipelines/distributed/sge.py
+
6
−
5
View file @
2bdc8832
...
...
@@ -37,7 +37,7 @@ class SGEIdiapJob(Job):
self
,
*
args
,
queue
=
None
,
project
=
None
,
project
=
"
biometric
"
,
resource_spec
=
None
,
job_extra
=
None
,
config_name
=
"
sge
"
,
...
...
@@ -278,6 +278,7 @@ class SGEMultipleQueuesCluster(JobQueueCluster):
"
io_big=TRUE,
"
if
"
io_big
"
in job_spec and job_spec[
"
io_big
"
] else
""
)
memory = _get_key_from_spec(job_spec,
"
memory
"
)[:-1]
new_resource_spec += (f
"
mem_free={memory},
"
)
...
...
@@ -289,7 +290,7 @@ class SGEMultipleQueuesCluster(JobQueueCluster):
return {
"
queue
"
: queue,
"
memory
"
:
"
0
"
,
"
memory
"
:
_get_key_from_spec(job_spec,
"
memory
"
)
,
"
cores
"
: 1,
"
processes
"
: 1,
"
log_directory
"
: self.log_directory,
...
...
@@ -445,9 +446,9 @@ class SchedulerResourceRestriction(Scheduler):
def __init__(self, *args, **kwargs):
super(SchedulerResourceRestriction, self).__init__(
idle_timeout=
360
0,
allowed_failures=
5
00,
synchronize_worker_interval=
"
24
0s
"
,
idle_timeout=
6
0,
allowed_failures=
1
00,
synchronize_worker_interval=
"
6
0s
"
,
*args,
**kwargs,
)
...
...
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