Changeset 3514


Ignore:
Timestamp:
Nov 13, 2024, 11:29:52 AM (6 weeks ago)
Author:
jbclement
Message:

PEM:
Small correction for the launching script following the r3498 (time step from integer to real).
JBC

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

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/changelog.txt

    r3512 r3514  
    480480== 12/11/2024 == JBC
    481481Few corrections related to r3498 (time step from integer to real) and r3493 (Norbert Schorghofer's subroutines for dynamic ice table) in order to make the code work properly.
     482
     483== 13/11/2024 == JBC
     484Small correction for the launching script following the r3498 (time step from integer to real).
  • trunk/LMDZ.COMMON/libf/evolution/deftank/lib_launchPEM.sh

    r3498 r3514  
    168168        ii=$3
    169169    fi
    170     if [ $i_myear -lt $n_myear ]; then
     170    if [ $(echo "$i_myear < $n_myear" | bc -l) ]; then
    171171        echo "Run PCM $iPCM: call $ii/$2..."
    172172        if [ $1 -eq 0 ]; then # Mode: processing scripts
     
    193193    fi
    194194    for ((i = $ii; i <= $2; i++)); do
    195         if [ $i_myear -lt $n_myear ]; then
     195        if [ $(echo "$i_myear < $n_myear" | bc -l) ]; then
    196196            echo "Run PCM $iPCM: call $i/$2..."
    197197            if [ $1 -eq 0 ]; then # Mode: processing scripts
     
    219219# arg1: launching mode
    220220submitPEM() {
    221     if [ $i_myear -lt $n_myear ]; then
     221    if [ $(echo "$i_myear < $n_myear" | bc -l) ]; then
    222222        echo "Run PEM $iPEM"
    223223        if [ $1 -eq 0 ]; then # Mode: processing scripts
     
    248248
    249249    # PEM run
    250     if [ $i_myear -lt $n_myear ]; then
     250    if [ $(echo "$i_myear < $n_myear" | bc -l) ]; then
    251251        echo "Run PEM $iPEM"
    252252        if [ $1 -eq 0 ]; then # Mode: processing scripts
Note: See TracChangeset for help on using the changeset viewer.