Ignore:
Timestamp:
Jun 17, 2024, 6:44:19 PM (14 months ago)
Author:
jbclement
Message:

PEM:
Small correction for the initialization value of dtphys + Corrections for the launching script.
JBC

Location:
trunk/LMDZ.COMMON/libf/evolution/deftank
Files:
2 edited

Legend:

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

    r3365 r3383  
    7878            if [ $relaunch = "PCM" ]; then
    7979                echo "What is the number of the PCM run?"
    80                 echo "It should be between 1 and $iPCM."
     80                echo "It should be between 1 and $((iPCM - 1))."
    8181                read irelaunch
    82                 if [ 0 -lt $irelaunch ] && [ $irelaunch -le $iPCM ]; then
     82                if [ 0 -lt $irelaunch ] && [ $irelaunch -lt $iPCM ]; then
    8383                    break
    8484                else
     
    8989                echo "It should be between 1 and $((iPEM - 1))."
    9090                read irelaunch
    91                 if [ 0 -lt $irelaunch ] && [ $irelaunch -le $iPEM ]; then
     91                if [ 0 -lt $irelaunch ] && [ $irelaunch -lt $iPEM ]; then
    9292                    break
    9393                else
  • trunk/LMDZ.COMMON/libf/evolution/deftank/lib_launchPEM.sh

    r3367 r3383  
    258258            cleanfiles diags/data2reshape .nc $irelaunch
    259259            cyclelaunch $nPCM_ini $irelaunch
    260         elif [ $irelaunch -eq 0 ]; then
     260        elif [ $irelaunch -eq $nPCM_ini ]; then
    261261            cp diags/data2reshape$(($irelaunch - 1)).nc data2reshape_Y1.nc
    262262            cp diags/data2reshape${irelaunch}.nc data2reshape_Y2.nc
Note: See TracChangeset for help on using the changeset viewer.