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

Last change on this file since 2604 was 2516, checked in by jgipsl, 6 years ago

Enhancement in the clean option:

  • add clean for XIOS
  • now remove the executables gcm.e and create_etat0_limit.e in modipsl/bin
File size: 3.1 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
29LMD128118-L39 : libioipsl xios liborchidee lmdz128x118x39 verif
30        echo "noORCAxLMD128118-L39" >.resol
31        echo "RESOL_ATM_3D=128x118x39" >>.resol
32
33LMD144142 : libioipsl xios liborchidee lmdz144x142x19 verif
34        echo "noORCAxLMD144142" >.resol
35        echo "RESOL_ATM_3D=144x142x19" >>.resol
36
37LMD144142-L39 : libioipsl xios liborchidee lmdz144x142x39 verif
38        echo "noORCAxLMD144142-L39" >.resol
39        echo "RESOL_ATM_3D=144x142x39" >>.resol
40
41LMD144142-L59 : libioipsl xios liborchidee lmdz144x142x59 verif
42        echo "noORCAxLMD144142-L59" >.resol
43        echo "RESOL_ATM_3D=144x142x59" >>.resol
44
45LMD144142-L79 : libioipsl xios liborchidee lmdz144x142x79 verif
46        echo "noORCAxLMD144142-L79" >.resol
47        echo "RESOL_ATM_3D=144x142x79" >>.resol
48
49
50xios :
51        (cd  ../../modeles/XIOS ; ./make_xios --prod --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; )
52
53libioipsl : ../../modeles/IOIPSL/src
54        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
55
56
57liborchidee : ../../modeles/ORCHIDEE/
58        (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -xios -driver)
59
60
61lmdz44x43x19:
62        $(M_K) lmdz RESOL_LMDZ=44x43x19
63
64lmdz56x55x19:
65        $(M_K) lmdz RESOL_LMDZ=56x55x19
66
67lmdz96x71x19:
68        $(M_K) lmdz RESOL_LMDZ=96x71x19
69
70lmdz96x95x19:
71        $(M_K) lmdz RESOL_LMDZ=96x95x19
72
73lmdz96x95x39:
74        $(M_K) lmdz RESOL_LMDZ=96x95x39
75
76lmdz128x118x39:
77        $(M_K) lmdz RESOL_LMDZ=128x118x39
78
79lmdz144x142x19:
80        $(M_K) lmdz RESOL_LMDZ=144x142x19
81
82lmdz144x142x39:
83        $(M_K) lmdz RESOL_LMDZ=144x142x39
84
85lmdz144x142x59:
86        $(M_K) lmdz RESOL_LMDZ=144x142x59
87
88lmdz144x142x79:
89        $(M_K) lmdz RESOL_LMDZ=144x142x79
90
91lmdz: ../../modeles/LMDZ
92        (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -arch $(FCM_ARCH) -j 8 ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
93        (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -mem -cosp false -v true -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -io xios gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para_mem_orch.e ../../bin/gcm.e ; )
94
95
96verif: ../../bin
97        ls -l ../../bin
98
99clean :
100        (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; )
101        (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; )
102        (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; )
103        (rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib ; )
104        (rm -rf $(BINDIR)/gcm.e ; rm -rf $(BINDIR)/create_etat0_limit.e ; )
105
106
Note: See TracBrowser for help on using the repository browser.