source: LMDZ5/trunk/tools/install_1d_src.sh @ 1976

Last change on this file since 1976 was 1976, checked in by fhourdin, 11 years ago

Suppression du traitement de wrgradsfi
Removing the line concrening wrgradsfi

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:executable set to *
File size: 1.2 KB
RevLine 
[1700]1# This is a script in Bash.
2
3# This script installs the source files of LMDZ 1D. Run this script
4# from "libf".
5
6set -xe
7
8# cp --no-clobber phylmd/* phy1d:
9cd phylmd
10set +x
11for my_file in *
12  do
13  if [[ ! -a ../phy1d/$my_file ]]
14      then
[1878]15#     cp $my_file ../phy1d
16      cp -R $my_file ../phy1d
[1700]17  fi
18done
19set -x
20
21cd ../phy1d
22
23sed -i -e "/SUBROUTINE *convers_timesteps/,/END SUBROUTINE convers_timesteps/{
24 /USE *phys_cal_mod/d
25 /use *ioipsl/a\\
26    USE phys_cal_mod
27 s/ioget_mon_len(annee_ref,day_ref)/mth_len/
28};/SUBROUTINE *phys_output_open/,/end *subroutine *phys_output_open/{
29 /USE *ioipsl/a\\
30  USE phys_cal_mod, only : hour
31 /ymds2ju.*annee_ref.*zjulian/c\\
32!!!      CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian)       !jyg \\
33! correction pour l heure initiale                               !jyg \\
34!                                                                !jyg \\
35      CALL ymds2ju(annee_ref, 1, idayref, hour, zjulian)         !jyg
36}" phys_output_mod.F90
37
38 ln -s ../dyn3d/mod_const_mpi.F90 .
[1947]39 ln -sf ../dyn3d_common/infotrac.F90 .
[1700]40 ln -s ../dyn3d/conf_gcm.F .
[1944]41 ln -s ../dyn3d_common/pres2lev* .
[1952]42 ln -s ../dyn3d_common/control_mod.F90 .
[1947]43 ln -sf ../dyn3d_common/q_sat.F .
[1952]44 ln -s ../dyn3d_common/disvert.F90 .
Note: See TracBrowser for help on using the repository browser.