Something went wrong on our end
-
Thomas Kluyver authoredThomas Kluyver authored
settings.py 1.03 KiB
import os
import sys
# path into which temporary files from each run are placed
temp_path = os.path.abspath("temp/")
# Path to use for calling Python. By default, the Python xfel-calibrate is run in.
python_path = sys.executable
# Path to store reports in
report_path = "{}/calibration_reports/".format(os.getcwd())
# Also try to output the report to an out_folder defined by the notebook
try_report_to_output = True
# logo file for calibration report (located in cal_tools/cal_tools)
logo_path = "xfel.pdf"
# the command to run this concurrently. It is prepended to the actual call
sprof = os.environ.get("XFELCALSLURM", "exfel")
launcher_command = "sbatch -t 24:00:00 --requeue --output {temp_path}/slurm-%j.out"
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"
max_reserved = 8
# "xcal" reservation value removed as ITDM
# is giving xcal priority by default.
reservation = ""
reservation_char = "darks"