source: CONFIG/UNIFORM/v6/LMDZOR_v6/AA_make

Last change on this file was 6515, checked in by aclsce, 12 months ago

Updated LMDZOR_v6 to run on new RH8 TGCC environment.

File size: 3.9 KB
Line 
1#- $Id$
2#-
3#- AA_make for LMDZOR_v6 configuration
4#- Default resolution is LMD144142-L79
5#- The resolution can be changed by using one of the targets here below with capital letters
6#- For example :
7#-    gmake LMD9695-L39
8
9submitdir=$(shell pwd)
10arch_path=${submitdir}/ARCH
11
12all :
13        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol |cut -c 8-` ; else $(M_K) LMD144142-L79 ; fi
14
15LMD5655 : libioipsl xios liborchidee lmdz56x55x19 verif
16        echo "noORCAxLMD5655" >.resol
17        echo "RESOL_ATM_3D=56x55x19" >>.resol
18
19LMD9671 : libioipsl xios liborchidee lmdz96x71x19 verif
20        echo "noORCAxLMD9671" >.resol
21        echo "RESOL_ATM_3D=96x71x19" >>.resol
22
23LMD9695 : libioipsl xios liborchidee lmdz96x95x19 verif
24        echo "noORCAxLMD9695" >.resol
25        echo "RESOL_ATM_3D=96x95x19" >>.resol
26
27LMD9695-L39 : libioipsl xios liborchidee lmdz96x95x39 verif
28        echo "noORCAxLMD9695-L39" >.resol
29        echo "RESOL_ATM_3D=96x95x39" >>.resol
30
31LMD9695-L79 : libioipsl xios liborchidee lmdz96x95x79 verif
32        echo "noORCAxLMD9695-L79" >.resol
33        echo "RESOL_ATM_3D=96x95x79" >>.resol
34
35LMD128118-L39 : libioipsl xios liborchidee lmdz128x118x39 verif
36        echo "noORCAxLMD128118-L39" >.resol
37        echo "RESOL_ATM_3D=128x118x39" >>.resol
38
39LMD144142 : libioipsl xios liborchidee lmdz144x142x19 verif
40        echo "noORCAxLMD144142" >.resol
41        echo "RESOL_ATM_3D=144x142x19" >>.resol
42
43LMD144142-L39 : libioipsl xios liborchidee lmdz144x142x39 verif
44        echo "noORCAxLMD144142-L39" >.resol
45        echo "RESOL_ATM_3D=144x142x39" >>.resol
46
47LMD144142-L59 : libioipsl xios liborchidee lmdz144x142x59 verif
48        echo "noORCAxLMD144142-L59" >.resol
49        echo "RESOL_ATM_3D=144x142x59" >>.resol
50
51LMD144142-L79 : libioipsl xios liborchidee lmdz144x142x79 verif
52        echo "noORCAxLMD144142-L79" >.resol
53        echo "RESOL_ATM_3D=144x142x79" >>.resol
54
55LMD512360-L79 : libioipsl xios liborchidee lmdz512x360x79 verif
56        echo "noORCAxLMD512360-L79" >.resol
57        echo "RESOL_ATM_3D=512x360x79" >>.resol
58
59
60xios :
61        (. ${arch_path}/arch-${FCM_ARCH}.env; cd  ../../modeles/XIOS ; ./make_xios  \
62#-Q- ifort_CICLAD --netcdf_lib netcdf4_seq \
63#-Q- gfortran_CICLAD --netcdf_lib netcdf4_seq \
64--prod --arch ${FCM_ARCH} --job 4 ; cp bin/xios_server.exe ../../bin/. ; )
65
66
67libioipsl : ../../modeles/IOIPSL/src
68        (ln -sf ${arch_path}/arch-${FCM_ARCH}.env ${arch_path}/arch.env; . ${arch_path}/arch-${FCM_ARCH}.env; cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
69
70
71liborchidee : ../../modeles/ORCHIDEE/
72        (. ${arch_path}/arch-${FCM_ARCH}.env; cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -xios2)
73
74
75lmdz56x55x19:
76        $(M_K) lmdz RESOL_LMDZ=56x55x19
77
78lmdz96x71x19:
79        $(M_K) lmdz RESOL_LMDZ=96x71x19
80
81lmdz96x95x19:
82        $(M_K) lmdz RESOL_LMDZ=96x95x19
83
84lmdz96x95x39:
85        $(M_K) lmdz RESOL_LMDZ=96x95x39
86
87lmdz96x95x79:
88        $(M_K) lmdz RESOL_LMDZ=96x95x79
89
90lmdz128x118x39:
91        $(M_K) lmdz RESOL_LMDZ=128x118x39
92
93lmdz144x142x19:
94        $(M_K) lmdz RESOL_LMDZ=144x142x19
95
96lmdz144x142x39:
97        $(M_K) lmdz RESOL_LMDZ=144x142x39
98
99lmdz144x142x59:
100        $(M_K) lmdz RESOL_LMDZ=144x142x59
101
102lmdz144x142x79:
103        $(M_K) lmdz RESOL_LMDZ=144x142x79
104
105lmdz512x360x79:
106        $(M_K) lmdz RESOL_LMDZ=512x360x79
107
108lmdz: ../../modeles/LMDZ
109        (. ${arch_path}/arch-${FCM_ARCH}.env; cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -prod -arch $(FCM_ARCH) -j 8 ce0l ; mv bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
110        (. ${arch_path}/arch-${FCM_ARCH}.env; cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -prod -mem -cosp true -v true -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -io xios -rrtm true gcm ; mv bin/gcm_$(RESOL_LMDZ)_phylmd_para_mem_orch.e ../../bin/gcm.e ; )
111
112
113verif: ../../bin
114        ls -lrt ../../bin
115
116clean :
117        (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; )
118        (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; )
119        (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; )
120        (rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib ; )
121        (rm -rf $(BINDIR)/gcm.e ; rm -rf $(BINDIR)/create_etat0_limit.e ; )
122
123
Note: See TracBrowser for help on using the repository browser.