From e664c43ce4ee69dee0c7a865506bbd52176b771e Mon Sep 17 00:00:00 2001 From: Gabriel Dorlhiac Date: Mon, 15 Apr 2024 13:34:50 -0700 Subject: [PATCH] SKL Wrapper bash script for Airflow launch and monitor process --- launch_scripts/submit_launch_airflow.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 launch_scripts/submit_launch_airflow.sh diff --git a/launch_scripts/submit_launch_airflow.sh b/launch_scripts/submit_launch_airflow.sh new file mode 100755 index 00000000..a906ec8e --- /dev/null +++ b/launch_scripts/submit_launch_airflow.sh @@ -0,0 +1,7 @@ +#!/bin/bash +CMD="${@}" +echo $CMD +CMD="/sdf/group/lcls/ds/tools/lute/lute_launcher ${CMD}" +SLURM_ARGS="--partition=milano --account=lcls:data --ntasks=1" +echo "Running ${CMD} with ${SLURM_ARGS}" +sbatch $SLURM_ARGS --wrap "${CMD}"