Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor 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
calibration
pycalibration
Commits
9f055533
Commit
9f055533
authored
6 years ago
by
Steffen Hauf
Browse files
Options
Downloads
Plain Diff
Allow setting the SLURM profile via an ENV variable
See merge request detectors/pycalibration!24
parents
2a79f82c
be500b68
No related branches found
No related tags found
2 merge requests
!24
Allow setting the SLURM profile via an ENV variable
,
!23
Fix/larger data
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xfel_calibrate/settings.py
+2
-1
2 additions, 1 deletion
xfel_calibrate/settings.py
with
2 additions
and
1 deletion
xfel_calibrate/settings.py
+
2
−
1
View file @
9f055533
...
...
@@ -25,4 +25,5 @@ report_path = "{}/calibration_reports/".format(os.getcwd())
try_report_to_output
=
True
# the command to run this concurrently. It is prepended to the actual call
launcher_command
=
"
sbatch -p exfel -t 24:00:00 --mem 500G --mail-type END --requeue --output {temp_path}/slurm-%j.out
"
\ No newline at end of file
sprof
=
os
.
environ
.
get
(
"
XFELCALSLURM
"
,
"
exfel
"
)
launcher_command
=
"
sbatch -p {sprof} -t 24:00:00 --mem 500G --mail-type END --requeue --output {{temp_path}}/slurm-%j.out
"
.
format
(
sprof
=
sprof
)
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