This commit is contained in:
caes 2017-08-17 02:44:15 -04:00
parent c5d9e8d79d
commit 23a9946b68

View File

@ -22,6 +22,12 @@ else
fi fi
cd $griddir cd $griddir
if [[ -not -e "mpi_grid.out" ]]; then
echo "no mpi_grid.out file"
exit 6
fi
mkdir -p fortfiles mkdir -p fortfiles
cd fortfiles cd fortfiles
# pwd # pwd
@ -100,4 +106,4 @@ tar cf fortfiles_${grid_id}.tar *
gzip fortfiles_${grid_id}.tar gzip fortfiles_${grid_id}.tar
mv fortfiles_${grid_id}.tar.gz $base_dir mv fortfiles_${grid_id}.tar.gz $base_dir
cd $base_dir cd $base_dir