Changeset 346 for trunk/UTIL/fait_config
- Timestamp:
- 2005-11-16T17:31:52+01:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/fait_config
r277 r346 4 4 # Contact : opatlod@lodyc.jussieu.fr 5 5 # 6 # This script aims to create the OPA/WORK directory 6 # This script aims to create the OPA/WORK directory 7 # with links to target directories for the sources 7 8 # and to link in the WORK the BB_make and BB_make.ldef 8 9 # associated to a chosen configuration … … 23 24 # the config/ORCA2_LIM directory is copied under NAME 24 25 # 25 # Example : in order to create a GYRE_TRC configuration :26 # Example 1 : in order to create a GYRE_TRC configuration : 26 27 # 1. In this script, change LIST to LIST="ORCA2_LIM \nGYRE \nGYRE_TRC" 27 # 2. In this script, add set -A DIR_GYRE_TRC OPA_SRC LIM_SRC TOP_SRC , take care of the syntax28 # 2. In this script, add set -A DIR_GYRE_TRC OPA_SRC LIM_SRC TOP_SRC C1D_SRC, take care of the syntax 28 29 # 3. Run fait_config GYRE_TRC 30 # Example 2 : in order to create an OFFLINE_TRC configuration : 31 # 1. In this script, change LIST to LIST="ORCA2_LIM \nGYRE \nOFFLINE_TRC" 32 # 2. In this script, add set -A DIR_OFFLINE_TRC OFF_SRC TOP_SRC, take care of the syntax 33 # 3. Run fait_config OFFLINE_TRC 29 34 30 35 LIST="ORCA2_LIM \nGYRE" … … 97 102 98 103 elif [ "${TAB[i]}" = "TOP_SRC" ]; then 99 \rm trcstp.F90 100 \rm sms.F90 101 \rm initrc.F90 102 ln -sf ../TOP_SRC/*.[Ffh] . 104 [ -f trcstp.F90 ] && \rm trcstp.F90 105 [ -f sms.F90 ] && \rm sms.F90 106 [ -f initrc.F90 ] && \rm initrc.F90 103 107 ln -sf ../TOP_SRC/*.[Ffh]90 . 104 108 ln -sf ../TOP_SRC/SMS/*.[Ffh] . … … 106 110 ln -sf ../TOP_SRC/TRP/*.[Ffh]90 . 107 111 108 elif [ "${TAB[i]}" = "SRC_OFFLINE_TRC" ]; then 109 ln -sf ../TOP_SRC/*.[Ffh] . 110 ln -sf ../TOP_SRC/SMS/*.[Ffh] . 111 ln -sf ../SRC_OFFLINE_TRC/*.[Ffh] . 112 elif [ "${TAB[i]}" = "OFF_SRC" ]; then 113 ln -sf ../OFF_SRC/*.[Ffh]90 . 114 ln -sf ../OFF_SRC/*/*.[Ffh]90 . 112 115 fi 113 116 let i=$i+1
Note: See TracChangeset
for help on using the changeset viewer.