Changeset 4901


Ignore:
Timestamp:
Apr 15, 2024, 12:13:24 PM (7 months ago)
Author:
abarral
Message:

fix orch compilation for >2.0
remove unused ORCHPATH

Location:
BOL/script_install_amaury
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install_amaury/arch_local/arch-local-gfortran.path

    r4900 r4901  
    1717
    1818# Exported
    19 ORCH_INCDIR="-I$ORCH_LIBDIR_"
    20 ORCH_LIBDIR="-L$ORCH_LIBDIR_"
     19ORCH_INCDIR="-I$ORCH_INCDIR_ -I$ORCH_LIBDIR_"
     20ORCH_LIBDIR="-L$ORCH_LIBDIR_ -L$ORCH_INCDIR_"
  • BOL/script_install_amaury/install_lmdz.sh

    r4900 r4901  
    280280}
    281281
    282 function download_model_AMAURY {  # TODO TEMP while waiting for tar: we copy the base from a local path = IPSLCM7 + ORCH2.2 latest
     282function download_model_AMAURY {  # TODO TEMP while waiting for tar: we copy the base from a local path = IPSLCM7 + ORCH2.2 8504
    283283    if [[ ! -d ../MODEL_REF ]]; then
    284284        cd ..
     
    288288        cd modipsl/util
    289289        ./model IPSLCM7_work
    290         rm -rf oasis3-mct
     290        rm -rf ../oasis3-mct
    291291        cd ../modeles
    292292        rm -rf ICOSA_LMDZ ORCHIDEE_4 ORCHIDEE_2_2 NEMO DYNAMICO XIOS INCA
    293         svn co svn://forge.ipsl.fr/orchidee/branches/ORCHIDEE_2_2/ORCHIDEE
     293        svn co svn://forge.ipsl.fr/orchidee/branches/ORCHIDEE_2_2/ORCHIDEE -r 8504
    294294        cd ../../../script_install
    295295    fi
     
    530530    install_arch "ORCHIDEE"
    531531
    532     ORCHPATH=""
    533 
    534 
    535532    if [[ $veget != "none" ]]; then
    536533        cd "$MODEL/modipsl/modeles/ORCHIDEE"
    537         ORCHPATH=$(pwd)
    538534
    539535        orchideelog="$(pwd)/orchidee.log"
     
    552548        fi
    553549
    554         local varenv="IOIPSL_LIBDIR_=$IOIPSL_LIBDIR_ IOIPSL_INCDIR_=$IOIPSL_INCDIR_ ORCHPATH=$ORCHPATH XIOS_INCDIR_=$XIOS_INCDIR_ XIOS_LIBDIR_=$XIOS_LIBDIR_"
     550        local varenv="IOIPSL_LIBDIR_=$IOIPSL_LIBDIR_ IOIPSL_INCDIR_=$IOIPSL_INCDIR_ XIOS_INCDIR_=$XIOS_INCDIR_ XIOS_LIBDIR_=$XIOS_LIBDIR_"
    555551        if [[ $parallel = "none" ]]; then
    556552            echo "$varenv ./makeorchidee_fcm $xios_orchid $opt_orc -parallel none -arch $arch -j $make_j" > compile.sh
     
    572568    fi
    573569
     570    ORCH_INCDIR_="$MODEL/modipsl/modeles/ORCHIDEE/inc"
    574571    ORCH_LIBDIR_="$MODEL/modipsl/modeles/ORCHIDEE/lib"
    575572}
     
    621618
    622619    # Compile
    623     local varenv="IOIPSL_LIBDIR_=$IOIPSL_LIBDIR_ IOIPSL_INCDIR_=$IOIPSL_INCDIR_ ORCH_LIBDIR_=$ORCH_LIBDIR_ ORCHPATH=$ORCHPATH XIOS_INCDIR_=$XIOS_INCDIR_ XIOS_LIBDIR_=$XIOS_LIBDIR_"
     620    local varenv="IOIPSL_LIBDIR_=\"$IOIPSL_LIBDIR_\" IOIPSL_INCDIR_=\"$IOIPSL_INCDIR_\" ORCH_INCDIR_=\"$ORCH_INCDIR_\" ORCH_LIBDIR_=\"$ORCH_LIBDIR_\" XIOS_INCDIR_=\"$XIOS_INCDIR_\" XIOS_LIBDIR_=\"$XIOS_LIBDIR_\""
    624621    makelmdz="makelmdz_fcm $optim_debug -arch $arch -j $make_j"
    625622    if [[ $parallel = "none" ]]; then
Note: See TracChangeset for help on using the changeset viewer.