Changeset 9963


Ignore:
Timestamp:
2018-07-18T15:40:20+02:00 (2 years ago)
Author:
acc
Message:

minor changes to sette_test-cases.sh to fix and tidy up the OVERFLOW experiments. These changes should make sure only the appropriate configuration namelist is copied to each experiment directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/sette/sette_test-cases.sh

    r9789 r9963  
    206206 
    207207    for file in $(echo `ls namelist_*_cfg `) ; do 
    208         TEST_NAME=`ls $file | sed -e "s/namelist_//" | sed -e "s/_cfg//"` 
     208        TEST_NAME=`echo $file | sed -e "s/namelist_//" | sed -e "s/_cfg//"` 
    209209        TEST_NAME="EXP-${TEST_NAME}" 
    210         `mkdir ${CONFIG_DIR}/${NEW_CONF}/${TEST_NAME}` 
     210        if [ ! -d ${CONFIG_DIR}/${NEW_CONF}/${TEST_NAME} ] ; then mkdir ${CONFIG_DIR}/${NEW_CONF}/${TEST_NAME} ; fi 
    211211        export TEST_NAME="${TEST_NAME}" 
    212212         ## 
     
    219219        if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    220220        cd ${EXE_DIR} 
     221        rm namelist_*_*_*_* 
     222        cp -pL ${CONFIG_DIR}/${NEW_CONF}/EXP00/$file namelist_cfg 
    221223        if [ ${USING_MPMD} == "yes" ] ; then 
    222224           set_xio_using_server iodef.xml true 
Note: See TracChangeset for help on using the changeset viewer.