These scripts are used to help with monitoring several SpEC BhNs runs on a cluster which use Hydro-AMR. At the top of each script, there's a usage description. At this time, only per-segment-volume-generator.sh requires a command line argument.
-
git clone git://github.com/brege/bhns-scripts.git -
cp sample.conf paths.conf -
Edit
paths.confto provide (absolute) simulation paths to an epoch directory. E.g./path/to/my/simulation/Lev1_Plungeor$SCRATCH/my/simulation/Lev1_Plunge/Lev1_SettleDisk
-
domain-info.sh: Uses SpEC toolDomainInfoto get number of points and subdomains over time -
gr-domain-info.sh: Same as above, just on the GR side -
keep-last-checkpoint.sh: Ran in four hour crontab, this cleans checkpoint directories but keeps the last one for each segment -
latest-times.sh: Prints a quick overview table of the simulations -
rejoin-segments.sh: Iterates over all simulations to doCombineSegments.py, so all*.dat's are joined together
-
per-segment-volume-generator.sh: For a specified segment from a specified run, runConvertToVtkto output data in paraview format -
volume-generater.sh: Loops through all simulations and dumps latest data for paraviewing. You must specify the level to output, e.g.volume-generater.sh Lev1. If you add many levels, this command may take a long time -
match-domain-time-to-pv-file.py: simple python script to do the arithmetic that bash cannot do. (Got all the way through the bash script before realizing this. Would recommend going back and doing this in python instead.)
- Figure out if there's a way to transition bash loops to a parallel method via MPI