/[MITgcm]/MITgcm_contrib/verification_other/global_oce_llc90/input/prepare_run
ViewVC logotype

Annotation of /MITgcm_contrib/verification_other/global_oce_llc90/input/prepare_run

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


Revision 1.8 - (hide annotations) (download)
Sun Oct 18 01:12:35 2015 UTC (9 years, 9 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65r, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u
Changes since 1.7: +1 -1 lines
- add ../../global_oce_llc90/input_fields/ to list

1 gforget 1.5 #! /usr/bin/env bash
2 gforget 1.1
3 gforget 1.8 dirList="../../global_oce_llc90/input/ ../../global_oce_llc90/input_fields/ ../../global_oce_llc90/input.ecco_v4/ ../../global_oce_input_fields/llc90/ ../../global_oce_input_fields/llc90_fields/ ../../global_oce_input_fields/llc90_runoff/"
4 gforget 1.1
5 gforget 1.5 for fromDir in $dirList
6     do
7    
8     #- and do a symbolic link in the current directory
9     # (if the file does not already exist)
10     if test -d $fromDir ; then
11     fileList=`( cd $fromDir ; ls -1 )`
12     lnkList='files:'
13     for xx in $fileList
14     do
15     if test -r ${fromDir}/$xx ; then
16     if test ! -r $xx ; then
17     lnkList=${lnkList}" "$xx
18     ln -sf ${fromDir}/$xx .
19     fi
20     fi
21     done
22     echo ' link' $lnkList "from dir:" $fromDir
23     else
24     echo " Error:" $fromDir "not a directory"
25     fi
26     done
27    
28     if test ! -r CORE2_dlw_daily_r2_cnyf ; then
29     ln -s ../../global_oce_cs32/input_fields/CORE* .
30     fi
31    
32     if test ! -d "diags" ; then
33 gforget 1.1 mkdir diags
34     mkdir tapes
35 gforget 1.5 fi
36 gforget 1.1

  ViewVC Help
Powered by ViewVC 1.1.22