Changeset 3783 for BOL/script_install/install_lmdz.sh
- Timestamp:
- Nov 5, 2020, 5:05:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r3736 r3783 98 98 ## parallel can take the values none/mpi/omp/mpi_omp 99 99 parallel=mpi_omp 100 parallel=none 100 101 idris_acct=lmd 101 parallel=none102 102 OPT_GPROF="" 103 103 OPT_MAKELMDZ="" … … 601 601 fi # of if [ $netcdf = 1 ] 602 602 603 604 #======================================================================================= 603 #====================================================================================== 605 604 echo OK2 ioipsl=$ioipsl 606 605 echo '##########################################################' … … 906 905 ################################################################## 907 906 908 set +e ; svn upgrade ; set -e907 set +e ; svn upgrade 909 908 if [ "$svn" = "last" ] ; then svnopt="" ; else svnopt="-r $svn" ; fi 910 if [ "$svn" != "" ] ; then svn update $svnopt ; fi 909 if [ "$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 915 fi 916 set -e 911 917 912 918 echo '##################################################################' … … 1023 1029 # Recherche de l'executable dont le nom a change au fil du temps ... 1024 1030 gcm="" 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; do1031 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_orch.e bin/gcm_${grid_resolution}_phylmd_para_mem.e ; do 1026 1032 if [ -f $exe ] ; then gcm=$exe ; fi 1027 1033 done
Note: See TracChangeset
for help on using the changeset viewer.