source:
branches/2011/dev_r2802_MERCATOR10_diadct/NEMOGCM/TOOLS/SECTIONS_DIADCT/run/job.ksh
@
8554
Last change on this file since 8554 was 2947, checked in by rfurner, 13 years ago | |
---|---|
|
|
File size: 1.3 KB |
Rev | Line | |
---|---|---|
[2849] | 1 | #!/bin/ksh |
2 | set -x | |
3 | ##################################################### | |
4 | # CONFIGURATION CHOICE # | |
5 | ##################################################### | |
[2866] | 6 | #CONFIG=ORCA2_LIM GYRE |
[2849] | 7 | CONFIG=ORCA2_LIM |
8 | ||
9 | ##################################################### | |
10 | # CONFIGURATION DESCRIPTION # | |
11 | ##################################################### | |
[2943] | 12 | # each configuration is defined by: |
[2947] | 13 | # - INSPACE: directory the coordinate netcdf file is |
14 | # - COOR_FIL: configuration's coordinate netcdf file | |
15 | # - LIST: configuration's list of sections | |
[2943] | 16 | # |
17 | ##################################################### | |
[2849] | 18 | case $CONFIG in |
19 | # | |
[2851] | 20 | ORCA2_LIM) |
[2866] | 21 | INSPACE=/dataref/rd/INITIALISATION/ORCA2 |
[2849] | 22 | COOR_FIL=coordinates.nc |
[2866] | 23 | LIST=list_sections.ascii_global |
[2849] | 24 | ;; |
25 | # | |
[2866] | 26 | GYRE) |
[2943] | 27 | INSPACE=/perm/ms/fr/ar5 |
[2866] | 28 | COOR_FIL=mesh_mask.nc |
29 | LIST=list_sections.ascii_GYRE | |
30 | ;; | |
31 | # | |
[2849] | 32 | esac |
33 | ||
34 | ##################################################### | |
35 | # RUN # | |
36 | ##################################################### | |
[2859] | 37 | BIN=diadct_sections.exe |
[2849] | 38 | |
39 | export CTLDIR=`pwd` | |
40 | cd ${CTLDIR} | |
[2866] | 41 | rm -f coordinates.nc ${BIN} list_sections.ascii |
[2859] | 42 | cp ../${BIN} . |
[2866] | 43 | ln -sf ${LIST} list_sections.ascii |
[2849] | 44 | ln -s $INSPACE/$COOR_FIL ./coordinates.nc |
[2859] | 45 | ./${BIN} |
[2849] | 46 | mv section_ijglobal.diadct section_ijglobal.diadct_$CONFIG |
Note: See TracBrowser
for help on using the repository browser.