Last change
on this file since 1975 was
1974,
checked in by fhourdin, 11 years ago
|
Plus beson de modifier physiq.F90 lors de l'installation du 1D
No more need to modify physiq.F90 when isntalling the SCM
|
-
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
|
Line | |
---|
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 | |
---|
6 | set -xe |
---|
7 | |
---|
8 | # cp --no-clobber phylmd/* phy1d: |
---|
9 | cd phylmd |
---|
10 | set +x |
---|
11 | for my_file in * |
---|
12 | do |
---|
13 | if [[ ! -a ../phy1d/$my_file ]] |
---|
14 | then |
---|
15 | # cp $my_file ../phy1d |
---|
16 | cp -R $my_file ../phy1d |
---|
17 | fi |
---|
18 | done |
---|
19 | set -x |
---|
20 | |
---|
21 | cd ../phy1d |
---|
22 | rm -f wrgradsfi.F # already in 1DUTILS.h |
---|
23 | |
---|
24 | sed -i -e "/SUBROUTINE *convers_timesteps/,/END SUBROUTINE convers_timesteps/{ |
---|
25 | /USE *phys_cal_mod/d |
---|
26 | /use *ioipsl/a\\ |
---|
27 | USE phys_cal_mod |
---|
28 | s/ioget_mon_len(annee_ref,day_ref)/mth_len/ |
---|
29 | };/SUBROUTINE *phys_output_open/,/end *subroutine *phys_output_open/{ |
---|
30 | /USE *ioipsl/a\\ |
---|
31 | USE phys_cal_mod, only : hour |
---|
32 | /ymds2ju.*annee_ref.*zjulian/c\\ |
---|
33 | !!! CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) !jyg \\ |
---|
34 | ! correction pour l heure initiale !jyg \\ |
---|
35 | ! !jyg \\ |
---|
36 | CALL ymds2ju(annee_ref, 1, idayref, hour, zjulian) !jyg |
---|
37 | }" phys_output_mod.F90 |
---|
38 | |
---|
39 | ln -s ../dyn3d/mod_const_mpi.F90 . |
---|
40 | ln -sf ../dyn3d_common/infotrac.F90 . |
---|
41 | ln -s ../dyn3d/conf_gcm.F . |
---|
42 | ln -s ../dyn3d_common/pres2lev* . |
---|
43 | ln -s ../dyn3d_common/control_mod.F90 . |
---|
44 | ln -sf ../dyn3d_common/q_sat.F . |
---|
45 | ln -s ../dyn3d_common/disvert.F90 . |
---|
Note: See
TracBrowser
for help on using the repository browser.