Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gstlal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
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
Model 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
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
Duncan Macleod
gstlal
Commits
0139d2c4
Commit
0139d2c4
authored
6 years ago
by
chad.hanna
Browse files
Options
Downloads
Patches
Plain Diff
gstlal_inspiral: FIXME add smrepair to protect against busted shared memory partitions
parent
08fa2207
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
gstlal-inspiral/bin/gstlal_inspiral
+6
-0
6 additions, 0 deletions
gstlal-inspiral/bin/gstlal_inspiral
with
6 additions
and
0 deletions
gstlal-inspiral/bin/gstlal_inspiral
+
6
−
0
View file @
0139d2c4
...
@@ -409,6 +409,12 @@ def parse_command_line():
...
@@ -409,6 +409,12 @@ def parse_command_line():
# this gets set so that if you log into a node you can find out what the job id is easily
# this gets set so that if you log into a node you can find out what the job id is easily
os.environ['GSTLAL_LL_JOB'] = options.job_tag
os.environ['GSTLAL_LL_JOB'] = options.job_tag
# FIXME: this is ugly, but we have to protect against busted shared memory partitions
if options.data_source == "lvshm":
import subprocess
for partition in detectors.shm_part_dict.values():
subprocess.call(["smrepair", partition])
else:
else:
bad_options = []
bad_options = []
for option in ["job_tag", "ranking_stat_pdf", "likelihood_snapshot_interval"]:
for option in ["job_tag", "ranking_stat_pdf", "likelihood_snapshot_interval"]:
...
...
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