From 23a9946b68274337fe0fbe25f4d35965678bef37 Mon Sep 17 00:00:00 2001 From: caes Date: Thu, 17 Aug 2017 02:44:15 -0400 Subject: [PATCH] test --- scripts/operations/package_tables.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/operations/package_tables.sh b/scripts/operations/package_tables.sh index 3280f5c..e6b3ade 100755 --- a/scripts/operations/package_tables.sh +++ b/scripts/operations/package_tables.sh @@ -22,6 +22,12 @@ else fi cd $griddir + +if [[ -not -e "mpi_grid.out" ]]; then + echo "no mpi_grid.out file" + exit 6 +fi + mkdir -p fortfiles cd fortfiles # pwd @@ -100,4 +106,4 @@ tar cf fortfiles_${grid_id}.tar * gzip fortfiles_${grid_id}.tar mv fortfiles_${grid_id}.tar.gz $base_dir -cd $base_dir \ No newline at end of file +cd $base_dir