Changeset 3555


Ignore:
Timestamp:
2012-11-14T12:50:19+01:00 (9 years ago)
Author:
flavoni
Message:

correct bad L_NPROC-1,see ticket #941

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/SETTE/sette.sh

    r3550 r3555  
    329329        L_NPROC=$(( $i - 1 )) 
    330330        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    331         ln -sf ../LONG/O2LP_LONG_00000075_restart_${L_NPROC-1}.nc . 
    332         ln -sf ../LONG/O2LP_LONG_00000075_restart_trc_${L_NPROC-1}.nc . 
    333         ln -sf ../LONG/O2LP_LONG_00000075_restart_ice_${L_NPROC-1}.nc . 
     331        ln -sf ../LONG/O2LP_LONG_00000075_restart_${L_NPROC}.nc . 
     332        ln -sf ../LONG/O2LP_LONG_00000075_restart_trc_${L_NPROC}.nc . 
     333        ln -sf ../LONG/O2LP_LONG_00000075_restart_ice_${L_NPROC}.nc . 
    334334    done 
    335335    cd ${SETTE_DIR} 
     
    460460        L_NPROC=$(( $i - 1 )) 
    461461        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    462         ln -sf ../LONG/OFFP_LONG_00000020_restart_trc_${L_NPROC-1}.nc . 
     462        ln -sf ../LONG/OFFP_LONG_00000020_restart_trc_${L_NPROC}.nc . 
    463463    done 
    464464    # put ln_ironsed, ln_river, ln_ndepo, ln_dust 
     
    582582        L_NPROC=$(( $i - 1 )) 
    583583        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    584         ln -sf ../LONG/AMM12_00000006_restart_${L_NPROC-1}.nc . 
     584        ln -sf ../LONG/AMM12_00000006_restart_${L_NPROC}.nc . 
    585585    done 
    586586    cd ${SETTE_DIR} 
Note: See TracChangeset for help on using the changeset viewer.