more files
This commit is contained in:
parent
a4b8f68305
commit
e7086c6bbd
14
README.md
14
README.md
@ -1,3 +1,15 @@
|
||||
# SHMGroupRepo
|
||||
|
||||
Repository to share code among the members of the SHM Working Group.
|
||||
Repository to share code among the members of the SHM Working Group.
|
||||
|
||||
## IP Glasma
|
||||
- input file inputPbPb
|
||||
- makeSingleEvent.sh
|
||||
- checkAndCreateIPGlasmaEvents.sh
|
||||
|
||||
## MUSIC Hydro
|
||||
- singleEventHydro.sh
|
||||
- checkAndCreateHydroEvents.sh
|
||||
- makelist.sh to get a list of failed jobs
|
||||
- getCrashedJobs.sh to get a list of failed Hydro events from the failed job list
|
||||
- resubmitHydro.sh to resubmit the failed events
|
||||
|
30
resubmitHydro.sh
Normal file
30
resubmitHydro.sh
Normal file
@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
##############################################
|
||||
# Resubmit failed hydro events #
|
||||
# #
|
||||
# argument $1 = list of failed events #
|
||||
# (from getCrashedJobs.sh but needs edits) #
|
||||
##############################################
|
||||
|
||||
requiredFile="epsilon-u-Hydro-t0.6-0.dat"
|
||||
testFile="surface_eps_0.3147.dat"
|
||||
|
||||
for counter in `cat $1`; do
|
||||
#echo Count $counter
|
||||
checkDir=/lustre/alice/users/jcrkovsk/IPGlasmaEvents/Event$counter/Hydro06
|
||||
echo $checkDir
|
||||
rm -rf $checkDir
|
||||
aboveDir=/lustre/alice/users/jcrkovsk/IPGlasmaEvents/Event$counter
|
||||
if [[ ! -d "$checkDir" ]]; then
|
||||
echo "Creating directory ${checkDir}"
|
||||
mkdir ${checkDir}
|
||||
fi
|
||||
if [[ -f "${aboveDir}/${requiredFile}" ]]; then
|
||||
if [[ ! -f "${checkDir}/${testFile}" ]]; then
|
||||
sbatch --job-name 06H$counter --time=8:00:00 singleEventHydro.sh $counter
|
||||
fi
|
||||
else
|
||||
echo "Counter $counter: Missing IPGlasma files!!!"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user