Changeset 5332 for BOL


Ignore:
Timestamp:
Nov 18, 2024, 12:07:59 PM (6 days ago)
Author:
Laurent Fairhead
Message:

'Fixed' arch.path for DYNAMICO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install_amaury/install_lmdz.sh

    r5331 r5332  
    378378         getlog="$(pwd)/get.log"
    379379         git clone https://gitlab.in2p3.fr/ipsl/projets/dynamico/dynamico.git DYNAMICO ; cd DYNAMICO ; git checkout master; cd .. &>> get.log
    380          svn checkout https://svn.lmd.jussieu.fr/LMDZ/ICOSA_LMDZ &>> get.log
     380         svn checkout http://svn.lmd.jussieu.fr/LMDZ/ICOSA_LMDZ &>> get.log
    381381         cd "$TMPLOCDIR" &> /dev/null
    382382       fi
     
    492492        # Add to path
    493493        export PATH="$ncdfdir/bin:$PATH"
     494        echo "Bin PATH" $PATH
    494495
    495496        #----------------------------------------------------------------------------
     
    542543    ioipsllog="$(pwd)/ioipsl.log"
    543544    echo "Compiling IOIPSL, the interface library with Netcdf $(date) (log: $ioipsllog)"
    544 
     545# in case ksh is not installed on the pc
     546    if [[ ! -x /bin/ksh ]]; then
     547      sed -i''  -e 's/ksh/bash/' ins_m_prec
     548    fi
    545549    echo "$jobcmd ./makeioipsl_fcm -j $make_j -arch $arch $optim_flag" > compile.sh
    546550    chmod +x compile.sh
     
    729733function compile_icolmdzor {
    730734    if [[ $icolmdz = 1 ]]; then
     735
    731736#      install_arch "DYNAMICO"
    732737      install_arch "ICOSA_LMDZ"
     
    739744      cd ../DYNAMICO
    740745      cd arch
     746# Need to get rather than install the archs as DYNAMICO uses FCMv2 that does not understand the makefile syntax ($shell)
    741747      wget http://lmdz.lmd.jussieu.fr/pub/src_archives/misc/arch/DYNAMICO/arch-$arch.env
    742748      wget http://lmdz.lmd.jussieu.fr/pub/src_archives/misc/arch/DYNAMICO/arch-$arch.fcm
     
    754760
    755761      # Compile icosa_lmdz
     762      echo "Bin PATH before icosalmdz" $PATH
    756763      cd ../ICOSA_LMDZ
    757764      icosalog="$(pwd)/icosa.log"
     
    10611068compile_orchidee
    10621069compile_lmdz
     1070compile_icolmdzor
    10631071run_bench
    1064 compile_icolmdzor
     1072if [ ! $? = 0 ]; then exit 1; fi
    10651073run_bench_icosa
Note: See TracChangeset for help on using the changeset viewer.