#
# Run interactively on scd machine to get source and mods from vishnu.
#
echo "Copying vishnu.hao:/home/tgcm/tiegcm1/tiegcm1_src.tar.Z"
rcp vishnu.hao:/home/tgcm/tiegcm1/tiegcm1_src.tar.Z .
echo "Uncompress tiegcm1_src.tar.Z"
uncompress tiegcm1_src.tar.Z
echo "Extract tiegcm1_src.tar.."
tar xf tiegcm1_src.tar
chmod 644 *.h *.F M*
echo "Copying mods..."
rcp vishnu.hao:tiegcm/tiegcm1/modsrc.henry/\*.F .
rcp vishnu.hao:tiegcm/tiegcm1/Makefile .
rm omp* tiegcm1_src.tar
echo "Making new tar file..."
tar cf tiegcm1_src.tar *.h *.F Makefile mkdep tiegcm1.job tiegcm1.inp
echo "Done."
