1 |
#! /usr/bin/env bash |
2 |
|
3 |
# $Header: /u/gcmpack/MITgcm_contrib/test_scripts/nas/test_hopper_auden,v 1.2 2003/12/07 15:57:39 edhill Exp $ |
4 |
|
5 |
mname=hopper |
6 |
|
7 |
echo "Creating the MITgcm tar-ball ..." |
8 |
cd /u/u3/edhill/testing/ |
9 |
test -e $mname && rm -rf $mname |
10 |
mkdir $mname |
11 |
cd $mname |
12 |
cvs co MITgcm_verif_basic > /dev/null 2>&1 |
13 |
tar -czf MITgcm.tar.gz ./MITgcm |
14 |
echo " done" |
15 |
|
16 |
echo "Copying it to $mname ..." |
17 |
scp MITgcm.tar.gz turing.nas.nasa.gov:/cluster/hopper/scratch1/edhill/ |
18 |
echo " done" |
19 |
|
20 |
echo "Executing the test script on $mname ..." |
21 |
ssh turing.nas.nasa.gov /u/edhill/bin/qsub_hopper |
22 |
echo " done" |
23 |
|
24 |
# The following is not needed on hopper -- mpack works just fine! |
25 |
# |
26 |
# echo "Collecting and mailing the results ..." |
27 |
# sleep 15000 |
28 |
# scp turing.nas.nasa.gov:/cluster/hopper/scratch1/edhill/MITgcm/verification/tr_hopper_0.tar.gz . |
29 |
# mpack -s MITgcm-test -m 1500000 tr_hopper_0.tar.gz edhill@mitgcm.org |
30 |
# echo " done" |