Skip to content
Snippets Groups Projects
Commit 19cf3552 authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau Committed by Pierre-Alain Loizeau
Browse files

[mBMON] new monitor wrapper script auto-filling run ID and starting slurm job

parent 3d6d43ba
No related branches found
No related tags found
1 merge request!2058[mBMON] new monitor wrapper script auto-filling run ID and starting slurm job
Pipeline #33446 passed
#!/bin/bash
# Copyright (C) 2025 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
# SPDX-License-Identifier: GPL-3.0-only
# 2025-03-10, Pierre-Alain Loizeau <p.-a.loizeau@gsi.de>
# To be executed from the mFLES login node during mCBM common data taking
runid_line=`flesctl status | grep "Run number:"`
# echo "${runid_line}"
# 0 18 -59- 77
# | | |
# ╭───────────────────────────────── Run 3606 ─────────────────────────────────╮
# │ Run number:
runid=${runid_line:18:59}
# echo "${runid}"
runid=`echo "${runid}" | tr -d '[:blank:]'`
# echo "${runid}"
# echo "run_unpack_online_bmon.C(\"tcp://node8:5560;tcp://node8:5561;tcp://node9:5560;tcp://node9:5561;tcp://node10:5560;tcp://node10:5561;tcp://node11:5560;tcp://node11:5561\", ${runid}, 8096)"
#macro="run_unpack_online_bmon.C(\"tcp://node8:5560;tcp://node8:5561;tcp://node9:5560;tcp://node9:5561;tcp://node10:5560;tcp://node10:5561;tcp://node11:5560;tcp://node11:5561\", ${runid}, 8096)"
srun -X --job-name=bmon_moni -w node6 root -l -b -q "run_unpack_online_bmon.C(\"tcp://node8:5560;tcp://node8:5561;tcp://node9:5560;tcp://node9:5561;tcp://node10:5560;tcp://node10:5561;tcp://node11:5560;tcp://node11:5561\", ${runid}, 8096)"
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