Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl-hive
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ensembl-gh-mirror
ensembl-hive
Commits
d348a64e
Commit
d348a64e
authored
15 years ago
by
Albert Vilella
Browse files
Options
Downloads
Patches
Plain Diff
adding maximise_concurrency and quick HIGHMEM option passing
parent
c2e26c02
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/runWorker.pl
+5
-1
5 additions, 1 deletion
scripts/runWorker.pl
with
5 additions
and
1 deletion
scripts/runWorker.pl
+
5
−
1
View file @
d348a64e
...
...
@@ -50,6 +50,8 @@ GetOptions('help' => \$help,
'
batchsize=i
'
=>
\
$self
->
{'
batch_size
'},
'
limit=i
'
=>
\
$self
->
{'
job_limit
'},
'
lifespan=i
'
=>
\
$self
->
{'
lifespan
'},
'
maximise_concurrency=i
'
=>
\
$self
->
{'
maximise_concurrency
'},
'
highmem=i
'
=>
\
$self
->
{'
highmem
'},
'
outdir=s
'
=>
\
$self
->
{'
outdir
'},
'
bk=s
'
=>
\
$self
->
{'
beekeeper
'},
'
pid=s
'
=>
\
$self
->
{'
process_id
'},
...
...
@@ -102,6 +104,8 @@ unless($DBA and $DBA->isa("Bio::EnsEMBL::Hive::DBSQL::DBAdaptor")) {
}
my
$queen
=
$DBA
->
get_Queen
();
$queen
->
{
maximise_concurrency
}
=
1
if
(
$self
->
{
maximise_concurrency
});
$queen
->
{
highmem
}
=
$self
->
{
highmem
}
if
(
$self
->
{
highmem
});
################################
# LSF submit system dependency
...
...
@@ -130,7 +134,6 @@ if($self->{'logic_name'}) {
}
$self
->
{'
analysis_id
'}
=
$analysis
->
dbID
;
}
if
(
$self
->
{'
analysis_id
'}
and
$self
->
{'
input_id
'})
{
$self
->
{'
analysis_job
'}
=
new
Bio::EnsEMBL::Hive::
AnalysisJob
;
$self
->
{'
analysis_job
'}
->
input_id
(
$self
->
{'
input_id
'});
...
...
@@ -161,6 +164,7 @@ unless($worker) {
exit
(
0
);
}
$worker
->
{
HIGHMEM
}
=
$self
->
{
highmem
}
if
(
$self
->
{
highmem
});
$worker
->
debug
(
$self
->
{'
debug
'})
if
(
$self
->
{'
debug
'});
if
(
defined
(
$self
->
{'
outdir
'}))
{
$worker
->
output_dir
(
$self
->
{'
outdir
'});
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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