New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1582 for trunk/NVTK/INSTALL/ins_nvtk.ksh – NEMO

Ignore:
Timestamp:
2009-08-05T17:34:54+02:00 (15 years ago)
Author:
ctlod
Message:

NVTK: light cleaning of few scripts, see ticket: #516

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NVTK/INSTALL/ins_nvtk.ksh

    r1576 r1582  
    7575cp ./MODIPSL_FILES/ins_make ../../../util/. 
    7676 
     77# Get the current target name 
     78LOCTARG=`../../../util/w_i_h` 
     79 
    7780# Set following variable in AA_make.ldef script And master Makefile 
    7881# - WWDIR = directory where to store results and jobs 
    7982CAR_WORK_tmp=$( grep 'WWDIR=' ./CONFIG_FILES/AA_make.ldef ) 
    8083CAR_WORK=`echo $CAR_WORK_tmp | cut -f 1 -d " " ` 
    81 sed -e "s?${CAR_WORK}?WWDIR=${OUTDIR}?" ./CONFIG_FILES/AA_make.ldef > ./CONFIG_FILES/AA_make.ldef.$$  
     84CAR_TARG_tmp=$( grep 'HPCTAR=' ./CONFIG_FILES/AA_make.ldef ) 
     85CAR_TARG=`echo $CAR_TARG_tmp` 
     86sed -e "s?${CAR_WORK}?WWDIR=${OUTDIR}?" -e "s?${CAR_TARG}?HPCTAR=${LOCTARG}?" \ 
     87       ./CONFIG_FILES/AA_make.ldef > ./CONFIG_FILES/AA_make.ldef.$$  
    8288mv ./CONFIG_FILES/AA_make.ldef.$$  ./CONFIG_FILES/AA_make.ldef && rm -f ./CONFIG_FILES/AA_make.ldef.$$ 
    8389 
    8490sed -e "s?DELFIL?${OUTDIR}?" ../Makefile > ../Makefile.$$  
    8591mv ../Makefile.$$  ../Makefile && rm -f ../Makefile.$$ 
    86  
    87 # Get the current target name 
    88 LOCTARG=`../../../util/w_i_h` 
    8992 
    9093# Loop over each standard configuration 
Note: See TracChangeset for help on using the changeset viewer.