/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Alignment/HIPAlignmentAlgorithm/test/hippysubmitterscript.sh
14 строк
592 B
lk11235
Update HipPy to work with python3
09 мар 2023, 20:33
09 мар 2023, 20:33
b42fec3
Код
Авторство
О чём код?
#! /bin/bash hipName="$(grep -m 1 "alignmentname=" $1 | cut -d= -f2)" if [ -z "$hipName" ] then echo "Value for 'alignmentname' not found in template. Please check your submission template." else nohup ./$1 >> ../$hipName.log 2>&1 & echo $hipName $! >> ../pid.nohup echo "Please follow the log in '../$hipName.log'. To track progress live, use 'tail -f ../$hipName.log'." echo "The nohup job PID is appended to '../pid.nohup' in case the submission should be killed." echo "You can also use 'ps -ef | grep submit_' to find PIDs of currently running alignments." fi