-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Steven Hahn <hahnse@ornl.gov>
- Loading branch information
1 parent
0c66124
commit 51a694d
Showing
5 changed files
with
34 additions
and
2 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
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
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,21 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
#define input file | ||
INPUT_FILE=$1/"input_file_D3D_191366_1762ms_MARS.korc" | ||
#define output directory | ||
OUT_DIR="mars_test" | ||
|
||
#check that output directory doesn't exist so bash doesn't complain | ||
if [ ! -d $OUT_DIR ]; then | ||
mkdir -p $OUT_DIR | ||
fi | ||
if [ ! -f D3D_191366_1762ms_MARS.h5 ]; then | ||
ln -s $1/D3D_191366_1762ms_MARS.h5 D3D_191366_1762ms_MARS.h5 | ||
fi | ||
|
||
./xkorc $INPUT_FILE $OUT_DIR/ | ||
|
||
h5diff -r -d 0.007 $OUT_DIR/file_0.h5 $1/file_0.h5 | ||
|