Ignore:
Timestamp:
Sep 30, 2024, 6:33:28 PM (3 months ago)
Author:
jbclement
Message:

PEM:
Correction of the launching script for a relaunch situation.
JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/deftank/lib_launchPEM.sh

    r3432 r3446  
    332332    else
    333333        # PCM relaunch during a cycle
    334         iPEM=$((($irelaunch - $nPCM_ini - 1)/$nPCM + 1))
    335         il=$(echo "($irelaunch - $nPCM_ini - 1)%$nPCM + 1" | bc -l)
     334        iPEM=$(echo "($iPCM - $nPCM_ini)/$nPCM + 1" | bc)
     335        il=$(echo "($irelaunch - $nPCM_ini + 1)%$nPCM + 1" | bc)
    336336        cleanfiles diags/diagpem .nc $iPEM
    337337        cleanfiles "out_PEM/run" "" $iPEM
Note: See TracChangeset for help on using the changeset viewer.