source: CONFIG/UNIFORM/v6/LMDZOR_v6/AA_make @ 3013

Last change on this file since 3013 was 3013, checked in by jgipsl, 5 years ago

Added argument -prod to make it visible witch optimisation mode is used(prod is default).

File size: 3.3 KB
Line 
1#- $Id$
2#-
3#- AA_make for LMDZOR_uni configuration
4#-
5
6all :
7        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol |cut -c 8-` ; else $(M_K) LMD9695-L39 ; fi
8
9LMD4443 : libioipsl xios liborchidee lmdz44x43x19 verif
10        echo "noORCAxLMD4443" >.resol
11        echo "RESOL_ATM_3D=44x43x19" >>.resol
12
13LMD5655 : libioipsl xios liborchidee lmdz56x55x19 verif
14        echo "noORCAxLMD5655" >.resol
15        echo "RESOL_ATM_3D=56x55x19" >>.resol
16
17LMD9671 : libioipsl xios liborchidee lmdz96x71x19 verif
18        echo "noORCAxLMD9671" >.resol
19        echo "RESOL_ATM_3D=96x71x19" >>.resol
20
21LMD9695 : libioipsl xios liborchidee lmdz96x95x19 verif
22        echo "noORCAxLMD9695" >.resol
23        echo "RESOL_ATM_3D=96x95x19" >>.resol
24
25LMD9695-L39 : libioipsl xios liborchidee lmdz96x95x39 verif
26        echo "noORCAxLMD9695-L39" >.resol
27        echo "RESOL_ATM_3D=96x95x39" >>.resol
28
29LMD9695-L79 : libioipsl xios liborchidee lmdz96x95x79 verif
30        echo "noORCAxLMD9695-L79" >.resol
31        echo "RESOL_ATM_3D=96x95x79" >>.resol
32
33LMD128118-L39 : libioipsl xios liborchidee lmdz128x118x39 verif
34        echo "noORCAxLMD128118-L39" >.resol
35        echo "RESOL_ATM_3D=128x118x39" >>.resol
36
37LMD144142 : libioipsl xios liborchidee lmdz144x142x19 verif
38        echo "noORCAxLMD144142" >.resol
39        echo "RESOL_ATM_3D=144x142x19" >>.resol
40
41LMD144142-L39 : libioipsl xios liborchidee lmdz144x142x39 verif
42        echo "noORCAxLMD144142-L39" >.resol
43        echo "RESOL_ATM_3D=144x142x39" >>.resol
44
45LMD144142-L59 : libioipsl xios liborchidee lmdz144x142x59 verif
46        echo "noORCAxLMD144142-L59" >.resol
47        echo "RESOL_ATM_3D=144x142x59" >>.resol
48
49LMD144142-L79 : libioipsl xios liborchidee lmdz144x142x79 verif
50        echo "noORCAxLMD144142-L79" >.resol
51        echo "RESOL_ATM_3D=144x142x79" >>.resol
52
53
54xios :
55        (cd  ../../modeles/XIOS ; ./make_xios --prod --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; )
56
57libioipsl : ../../modeles/IOIPSL/src
58        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
59
60
61liborchidee : ../../modeles/ORCHIDEE/
62        (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -prod -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -xios2 -driver)
63
64
65lmdz44x43x19:
66        $(M_K) lmdz RESOL_LMDZ=44x43x19
67
68lmdz56x55x19:
69        $(M_K) lmdz RESOL_LMDZ=56x55x19
70
71lmdz96x71x19:
72        $(M_K) lmdz RESOL_LMDZ=96x71x19
73
74lmdz96x95x19:
75        $(M_K) lmdz RESOL_LMDZ=96x95x19
76
77lmdz96x95x39:
78        $(M_K) lmdz RESOL_LMDZ=96x95x39
79
80lmdz96x95x79:
81        $(M_K) lmdz RESOL_LMDZ=96x95x79
82
83lmdz128x118x39:
84        $(M_K) lmdz RESOL_LMDZ=128x118x39
85
86lmdz144x142x19:
87        $(M_K) lmdz RESOL_LMDZ=144x142x19
88
89lmdz144x142x39:
90        $(M_K) lmdz RESOL_LMDZ=144x142x39
91
92lmdz144x142x59:
93        $(M_K) lmdz RESOL_LMDZ=144x142x59
94
95lmdz144x142x79:
96        $(M_K) lmdz RESOL_LMDZ=144x142x79
97
98lmdz: ../../modeles/LMDZ
99        (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 ; )
100        (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 ; )
101
102
103verif: ../../bin
104        ls -l ../../bin
105
106clean :
107        (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; )
108        (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; )
109        (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; )
110        (rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib ; )
111        (rm -rf $(BINDIR)/gcm.e ; rm -rf $(BINDIR)/create_etat0_limit.e ; )
112
113
Note: See TracBrowser for help on using the repository browser.