Skip to content
Snippets Groups Projects
Commit 034a51d2 authored by Steffen Hauf's avatar Steffen Hauf
Browse files

Propagate backlog of xfel_calibrate related changes from production system as of 06/2019

See merge request detectors/pycalibration!80
parents 6f7607eb 4c78fa5b
No related branches found
No related tags found
1 merge request!80Propagate backlog of xfel_calibrate related changes from production system as of 06/2019
...@@ -441,8 +441,9 @@ def concurrent_run(temp_path, nb, nbname, args, cparm=None, cval=None, ...@@ -441,8 +441,9 @@ def concurrent_run(temp_path, nb, nbname, args, cparm=None, cval=None,
temp_path=temp_path) + " -p {}".format(sprof) temp_path=temp_path) + " -p {}".format(sprof)
srun_base = srun_base.split() srun_base = srun_base.split()
else: else:
this_res = reservation if priority == 1 else reservation_char
srun_base = launcher_command.format( srun_base = launcher_command.format(
temp_path=temp_path) + " --reservation={}".format(reservation) temp_path=temp_path) + " --reservation={}".format(this_res)
srun_base = srun_base.split() srun_base = srun_base.split()
print(" ".join(srun_base)) print(" ".join(srun_base))
else: else:
......
...@@ -33,12 +33,6 @@ notebooks = { ...@@ -33,12 +33,6 @@ notebooks = {
"default concurrency": None, "default concurrency": None,
"cluster cores": 8}, "cluster cores": 8},
}, },
"STATS_FROM_DB": {
"notebook": "notebooks/AGIPD/PlotFromCalDB_AGIPD_NBC.ipynb",
"concurrency": {"parameter": "modules",
"default concurrency": list(range(16)),
"cluster cores": 1},
},
}, },
"LPD": { "LPD": {
"DARK": { "DARK": {
...@@ -81,12 +75,19 @@ notebooks = { ...@@ -81,12 +75,19 @@ notebooks = {
}, },
}, },
"PNCCD": { "PNCCD": {
"CHARACTERIZE": { "DARK": {
"notebook": "notebooks/pnCCD/Characterize_NBC.ipynb", "notebook": "notebooks/pnCCD/Characterize_pnCCD_Dark_NBC.ipynb",
"concurrency": {"parameter": None, "concurrency": {"parameter": None,
"default concurrency": None, "default concurrency": None,
"cluster cores": 32}, "cluster cores": 32},
}, },
"CORRECT": {
"notebook": "notebooks/pnCCD/Correct_pnCCD_NBC.ipynb",
"concurrency": {"parameter": "sequences",
"default concurrency": [-1],
"use function": "balance_sequences",
"cluster cores": 32},
},
}, },
"GENERIC": { "GENERIC": {
"DB_TO_H5": { "DB_TO_H5": {
...@@ -148,12 +149,29 @@ notebooks = { ...@@ -148,12 +149,29 @@ notebooks = {
"default concurrency": None, "default concurrency": None,
"cluster cores": 4}, "cluster cores": 4},
}, },
"CORRECT": { "CORRECT": {
"notebook": "notebooks/ePix/Correction_ePix_NBC.ipynb", "notebook": "notebooks/ePix/Correction_ePix_NBC.ipynb",
"concurrency": {"parameter": "sequences", "concurrency": {"parameter": "sequences",
"default concurrency": [-1], "default concurrency": [-1],
"use function": "balance_sequences", "use function": "balance_sequences",
"cluster cores": 4}, "cluster cores": 4},
}, }
}, },
"DSSC": {
"DARK": {
"notebook": "notebooks/DSSC/Characterize_DSSC_Darks_NBC.ipynb",
"concurrency": {"parameter": "modules",
"default concurrency": list(range(16)),
"cluster cores": 8},
},
"CORRECT": {
"notebook": "notebooks/DSSC/DSSC_Correct_and_Verify.ipynb",
"concurrency": {"parameter": "sequences",
"use function": "balance_sequences",
"default concurrency": [-1],
"cluster cores": 16},
},
},
} }
...@@ -34,3 +34,4 @@ free_nodes_cmd = "sinfo -p exfel -t idle -N --noheader | wc -l" ...@@ -34,3 +34,4 @@ free_nodes_cmd = "sinfo -p exfel -t idle -N --noheader | wc -l"
preempt_nodes_cmd = "squeue -p all,grid --noheader | grep max-exfl | egrep -v 'max-exfl18[3-8]|max-exfl100|max-exflg' | wc -l" preempt_nodes_cmd = "squeue -p all,grid --noheader | grep max-exfl | egrep -v 'max-exfl18[3-8]|max-exfl100|max-exflg' | wc -l"
max_reserved = 8 max_reserved = 8
reservation = "xcal" reservation = "xcal"
reservation_char = "darks"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment