Changeset 1931


Ignore:
Timestamp:
May 31, 2018, 9:40:48 AM (6 years ago)
Author:
emillour
Message:

Adapted IOIPSL install script and dependencies to not use "ksh" but "bash", since "ksh" is not always available.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/ioipsl/install_ioipsl_gfortran.bash

    r1567 r1931  
    55# below to adapt this script to your computer.
    66
    7 setfolder="/home/aymeric/Science/MODELES/LMDZ.COMMON/netcdf/gfortran_netcdf-4.0.1"
     7setfolder="/planeto/emlmd/netcdf64-4.0.1_gfortran4.4.7"
    88#setfolder="/donnees/emlmd/netcdf64-4.0.1_gfortran/"
    99
     
    1919cd modipsl/util
    2020
     21# make all refs to ksh become refs to bash
     22for i in ins_m_prec model script_diff_model script_log_analyse script_recup_model
     23do
     24  sed -e s:'#!/bin/ksh':'#!/bin/bash':1 $i > tmp
     25  mv -f tmp $i
     26done
     27chmod u=rwx model
     28chmod u=rwx ins_m_prec
    2129./model IOIPSL_PLUS
    2230
     
    3341## 3. build ioipsl:
    3442cd ../modeles/IOIPSL/src
     43# make all refs to ksh become refs to bash
     44for i in AA_make.ldef Makefile
     45do
     46  sed -e s:'/bin/ksh':'/bin/bash':1 $i > tmp
     47  mv -f tmp $i
     48done
    3549make
    3650## Compile the rebuild tool:
    3751cd ../tools
     52# make all refs to ksh become refs to bash
     53for i in AA_make.ldef Makefile rebuild
     54do
     55  sed -e s:'/bin/ksh':'/bin/bash':1 $i > tmp
     56  mv -f tmp $i
     57done
     58chmod u=rwx rebuild
    3859make
    3960
Note: See TracChangeset for help on using the changeset viewer.