Changeset 2783 for trunk/ICOSA_LMDZ


Ignore:
Timestamp:
Jul 28, 2022, 4:13:37 PM (2 years ago)
Author:
emillour
Message:

Dynamico interface to PCM physics:

  • add an arch file for Irene-Rome
  • add some sanity checks (are the components to be compiled actually there?) in the make_icosa_lmdz script

EM

Location:
trunk/ICOSA_LMDZ
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICOSA_LMDZ/make_icosa_lmdz

    r1879 r2783  
    196196then
    197197
     198  if [[ -d ../IOIPSL ]] ; then
    198199    cd ../IOIPSL
    199200    ./makeioipsl_fcm -$compil_mode -parallel -arch $arch -arch_path $arch_path -j $job $full_flag  || exit 1
    200201    cd -
    201 
     202  else
     203    echo "Error: cannot find ../IOIPSL directory"
     204    exit
     205  fi
     206
     207  if [[ -d ../XIOS ]] ; then
    202208    cd ../XIOS
    203209    ./make_xios --$compil_mode --arch $arch --arch_path $arch_path --job $job $full_flag2 || exit 1
    204210    cd -
    205 
    206     if [[ "$with_orchidee_defined" == "TRUE" ]]
    207     then
    208         cd ../ORCHIDEE
    209         ./makeorchidee_fcm -$compil_mode -parallel $parallel -xios2 -arch $arch -arch_path $arch_path -j $job $full_flag  || exit 1
    210         cd -
    211     fi
     211  else
     212    echo "Error: cannot find ../XIOS directory"
     213    exit
     214  fi
     215
     216#    if [[ "$with_orchidee_defined" == "TRUE" ]]
     217#    then
     218#       cd ../ORCHIDEE
     219#       ./makeorchidee_fcm -$compil_mode -parallel $parallel -xios2 -arch $arch -arch_path $arch_path -j $job $full_flag  || exit 1
     220#       cd -
     221#    fi
    212222
    213223#    cd ../LMDZ5
     
    220230#    cd -
    221231
     232  if [[ -d ../LMDZ.COMMON ]] ; then
    222233    cd ../LMDZ.COMMON
    223234    ./makelmdz_fcm -p $phys $phys_opt -$compil_mode -parallel $parallel -libphy -io xios -arch $arch -arch_path $arch_path -j $job $full_flag || exit 1
    224235    cd -
    225 
    226     cd ../ICOSAGCM
     236  else
     237    echo "Error: cannot find ../LMDZ.COMMON directory"
     238    exit
     239  fi
     240
     241  if [[ -d ../ICOSAGCM ]] ; then
     242    cd ../ICOSAGCM
    227243    ./make_icosa -$compil_mode -parallel $parallel -external_ioipsl -with_xios -arch $arch -arch_path $arch_path -job $job $full_flag || exit 1
    228244    cd -
     245  else
     246    echo "Error: cannot find ../ICOSAGCM directory"
     247    exit
     248  fi
    229249fi
    230250
Note: See TracChangeset for help on using the changeset viewer.