Changeset 3921 for BOL/script_install


Ignore:
Timestamp:
Jun 1, 2021, 5:26:24 PM (3 years ago)
Author:
Laurent Fairhead
Message:

Getting rid of ksh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r3920 r3921  
    2222# munimal configuration.
    2323#
    24 # Prerequisites : pgf90/gfortran, ksh, wget , gunzip, tar, ...
     24# Prerequisites : pgf90/gfortran, wget , gunzip, tar, ...
    2525#
    2626# Modif 18/11/2011
     
    7272check_linux=1
    7373ioipsl=1
    74 veget=0
     74veget=1
    7575orchidee_rev=""  # default revision of ORCHIDEE
    7676bench=1
     
    271271            o_ins_make="-t g95" ;;
    272272           
    273    *)       if [ $parallel = none -o ] ; then
     273#   *)       if [ $parallel = none -o ] ; then
     274   *)       if [ $parallel = none ] ; then
    274275                path_mpi=`which mpif90 | sed -e s:/mpif90::` ;
    275276                if [ -d /usr/lib64/openmpi ] ; then
     
    504505
    505506#### Ehouarn: test if ksh and/or bash are available
    506 use_shell="ksh" # default: use ksh
    507 if [ "`which ksh`" = "" ] ; then
    508   echo "no ksh ... we will use bash"
     507#use_shell="ksh" # default: use ksh
     508#if [ "`which ksh`" = "" ] ; then
     509#  echo "no ksh ... we will use bash"
    509510  use_shell="bash"
    510511  if [ "`which bash`" = "" ] ; then
    511     echo "ksh (or bash) needed!! Install it!"
    512   fi
    513 fi
     512    echo "bash needed!! Install it!"
     513  fi
     514#fi
    514515
    515516
     
    575576  $make check > $netcdflog 2>&1
    576577  $make install >> $netcdflog 2>&1
     578#LF rajout d'une verrue, pour une raison non encore expliquee, la librairie est parfois rangée dans lib64
     579#   et non dans lib par certains compilateurs
     580  if [ ! -e lib -a -d lib64 ] ; then ln -s lib64 lib; fi
    577581else
    578582  # download and compile hdf5 and netcdf, etc. using the install_netcdf4_hdf5.bash script
Note: See TracChangeset for help on using the changeset viewer.