| 1 |
edhill |
1.1 |
#! /usr/bin/env bash |
| 2 |
|
|
|
| 3 |
|
|
# $Header: $ |
| 4 |
|
|
|
| 5 |
|
|
# Ed Hill |
| 6 |
|
|
|
| 7 |
|
|
# Testing script designed to be run on halem. Note that halem |
| 8 |
|
|
# doesn't seem to have a working cron system for ordinary users -- I |
| 9 |
|
|
# got multiple errors. |
| 10 |
|
|
|
| 11 |
|
|
echo -n "Creating the MITgcm tar-ball ..." |
| 12 |
|
|
cd /u/u3/edhill/testing/ |
| 13 |
|
|
test -e halem && rm -rf halem |
| 14 |
|
|
mkdir halem |
| 15 |
|
|
cd halem |
| 16 |
|
|
cvs co MITgcm_verif_basic |
| 17 |
|
|
tar -czf MITgcm.tar.gz ./MITgcm |
| 18 |
|
|
echo " done" |
| 19 |
|
|
|
| 20 |
|
|
echo -n "Copying it to halem ..." |
| 21 |
|
|
scp MITgcm.tar.gz halem.gsfc.nasa.gov:/u1/edhill/ |
| 22 |
|
|
echo " done" |
| 23 |
|
|
|
| 24 |
|
|
echo "Executing the test_halem script on halem ..." |
| 25 |
|
|
ssh halem.gsfc.nasa.gov /u1/edhill/bin/test_halem |
| 26 |
|
|
echo " done" |