/[MITgcm]/MITgcm_contrib/nesting_sannino/utils/move_nest_outp
ViewVC logotype

Contents of /MITgcm_contrib/nesting_sannino/utils/move_nest_outp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Nov 28 17:59:03 2010 UTC (14 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
few useful files and scripts to run simplified Med+Gib nested set-up.

1 #! /usr/bin/env bash
2
3 # $Header: $
4 # $Name: $
5
6 if test $# != 1 ; then
7 echo "Usage: `basename $0` outp_dir"
8 exit
9 fi
10
11 outpdir=$1
12 if test -d $outpdir ; then
13 echo dir $outpdir already exist
14 exit
15 fi
16 if test -f $outpdir ; then
17 echo file $outpdir already exist
18 exit
19 fi
20 mkdir $outpdir
21
22 #cd rank_1
23 cd run_med
24 move_res ../$outpdir/res_med
25 mv STDOUT.0000 ../$outpdir/medSTDOUT.0000
26 if test -s STDERR.0000 ; then mv STDERR.0000 ../$outpdir/medSTDERR.0000 ; fi
27 cd ..
28
29 #cd rank_2
30 cd run_gib
31 move_res ../$outpdir/res_gib
32 mv STDOUT.0000 ../$outpdir/gibSTDOUT.0000
33 if test -s STDERR.0000 ; then mv STDERR.0000 ../$outpdir/gibSTDERR.0000 ; fi
34 cd ..
35
36 #mv std_outp rank_?/*.clog $outpdir
37 mv std_outp run_driv/STDlog.00?? $outpdir
38 cp -p pgfile $outpdir

  ViewVC Help
Powered by ViewVC 1.1.22