Changeset 3783


Ignore:
Timestamp:
Nov 5, 2020, 5:05:52 PM (4 years ago)
Author:
Laurent Fairhead
Message:

Back to sequential version by default
Switch/relocate LMDZ depository to https://....
Added some exe name (needs work #116)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r3736 r3783  
    9898## parallel can take the values none/mpi/omp/mpi_omp
    9999parallel=mpi_omp
     100parallel=none
    100101idris_acct=lmd
    101 parallel=none
    102102OPT_GPROF=""
    103103OPT_MAKELMDZ=""
     
    601601fi # of if [ $netcdf = 1 ]
    602602
    603 
    604 #=======================================================================================
     603#======================================================================================
    605604echo OK2 ioipsl=$ioipsl
    606605echo '##########################################################'
     
    906905##################################################################
    907906
    908 set +e ; svn upgrade ; set -e
     907set +e ; svn upgrade
    909908if [ "$svn" = "last" ] ; then svnopt="" ; else svnopt="-r $svn" ; fi
    910 if [ "$svn" != "" ] ; then svn update $svnopt ; fi
     909if [ "$svn" != "" ] ; then
     910    svn info | grep -q 'http:'
     911    if [ $? = 0 ] ; then
     912        svn switch --relocate http://svn.lmd.jussieu.fr/LMDZ https://svn.lmd.jussieu.fr/LMDZ
     913    fi
     914    svn update $svnopt
     915fi
     916set -e
    911917
    912918echo '##################################################################'
     
    10231029# Recherche de l'executable dont le nom a change au fil du temps ...
    10241030gcm=""
    1025 for exe in gcm.e bin/gcm_${grid_resolution}_phylmd_seq_orch.e bin/gcm_${grid_resolution}_phylmd_seq.e bin/gcm_${grid_resolution}_phylmd_para_mem.e bin/gcm_${grid_resolution}_phylmd_para_mem_orch.e ; do
     1031for exe in gcm.e bin/gcm_${grid_resolution}_phylmd_seq_orch.e bin/gcm_${grid_resolution}_phylmd_seq.e bin/gcm_${grid_resolution}_phylmd_para_mem_orch.e bin/gcm_${grid_resolution}_phylmd_para_mem.e ; do
    10261032   if [ -f $exe ] ; then gcm=$exe ; fi
    10271033done
Note: See TracChangeset for help on using the changeset viewer.