import os # path into which temporary files from each run are placed temp_path = "{}/temp/".format(os.getcwd()) # Path to use for calling Python. If the environment is correctly set, simply the command python_path = "python" # Path to use for calling iPython. If the environment is correctly set, simply the command ipython_path = "ipython" # Path to use for calling Jupyter. If the environment is correctly set, simply the command jupyter_path = "jupyter" # Path to find the Karabo activate script at, set to an empty string if not running in a Karabo environemnt karabo_activate_path = "/gpfs/exfel/data/scratch/haufs/clean_cal/karabo/activate" # Path to use for calling ipcluster. If the environment is correctly set, simply the command ipcluster_path = "/gpfs/exfel/data/scratch/haufs/clean_cal/karabo/extern/bin/ipcluster" # 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 # 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"