forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cms-sw#40921 from lk11235/master
HipPy update to python3
- Loading branch information
Showing
4 changed files
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
Alignment/HIPAlignmentAlgorithm/test/hippysubmitterscript.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#! /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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters