Ignore:
Timestamp:
Oct 4, 2022, 12:54:56 PM (2 years ago)
Author:
emillour
Message:

Dynamico interface:
Improve the make_icosa_lmd compile script; option "-nodeps" implies not recompiling companion IOIPSL and XIOS libraries.
Also removed "-fp-stack-check" option from debug for Irene-Rome as this causes weird issues when combined to Dynamico on this machine.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICOSA_LMDZ/make_icosa_lmdz

    r2783 r2796  
    198198  if [[ -d ../IOIPSL ]] ; then
    199199    cd ../IOIPSL
    200     ./makeioipsl_fcm -$compil_mode -parallel -arch $arch -arch_path $arch_path -j $job $full_flag  || exit 1
     200    ./makeioipsl_fcm -parallel -arch $arch -arch_path $arch_path -j $job $full_flag  || exit 1
    201201    cd -
    202202  else
     
    207207  if [[ -d ../XIOS ]] ; then
    208208    cd ../XIOS
    209     ./make_xios --$compil_mode --arch $arch --arch_path $arch_path --job $job $full_flag2 || exit 1
     209    ./make_xios --arch $arch --arch_path $arch_path --job $job $full_flag2 || exit 1
    210210    cd -
    211211  else
     
    214214  fi
    215215
    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
    222 
    223 #    cd ../LMDZ5
    224 #    lmdz_veget="false"
    225 #    if [[ "$with_orchidee_defined" == "TRUE" ]]
    226 #    then
    227 #       lmdz_veget="orchidee2.0"
    228 #    fi
    229 #    ./makelmdz_fcm gcm -$compil_mode -mem -parallel $parallel -nodyn -io xios -v $lmdz_veget -arch $arch -arch_path $arch_path -j $job $full_flag || exit 1
    230 #    cd -
    231 
    232   if [[ -d ../LMDZ.COMMON ]] ; then
     216fi # of if [[ "$build_deps" == "TRUE" ]]
     217
     218if [[ -d ../LMDZ.COMMON ]] ; then
    233219    cd ../LMDZ.COMMON
    234220    ./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
    235221    cd -
    236   else
     222else
    237223    echo "Error: cannot find ../LMDZ.COMMON directory"
    238224    exit
    239   fi
    240 
    241   if [[ -d ../ICOSAGCM ]] ; then
     225fi
     226
     227if [[ -d ../ICOSAGCM ]] ; then
    242228    cd ../ICOSAGCM
    243229    ./make_icosa -$compil_mode -parallel $parallel -external_ioipsl -with_xios -arch $arch -arch_path $arch_path -job $job $full_flag || exit 1
    244230    cd -
    245   else
     231else
    246232    echo "Error: cannot find ../ICOSAGCM directory"
    247233    exit
    248   fi
    249 fi
    250 
     234fi
     235
     236# compile interface and link
    251237./build --job $job $full_flag2
Note: See TracChangeset for help on using the changeset viewer.