Changeset 2796 for trunk/ICOSA_LMDZ


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

Location:
trunk/ICOSA_LMDZ
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICOSA_LMDZ/arch/arch-X64_IRENE-AMD.fcm

    r2783 r2796  
    99%BASE_FFLAGS         -i4 -r8 -auto -align all -fp-model strict -mavx2
    1010%PROD_FFLAGS         -O3
    11 %DEV_FFLAGS          -p -g -O2 -traceback -fp-stack-check
    12 %DEBUG_FFLAGS        -p -g -traceback -fp-stack-check -ftrapuv -check bounds,noarg_temp_created,pointers,stack,uninit -debug full -init=arrays -init=snan
     11%DEV_FFLAGS          -p -g -O2 -traceback
     12%DEBUG_FFLAGS        -p -g -traceback -check bounds -debug full
    1313%C_COMPILER          mpicc
    1414%C_OPTIM             -O2 -ip -xCORE-AVX2
  • 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.