source: CONFIG/UNIFORM/v5/LMDZREPR_v5/AA_make @ 1720

Last change on this file since 1720 was 1687, checked in by jgipsl, 10 years ago

Corrected small error in compiling for the case when the file .reosl already exists.

File size: 2.1 KB
Line 
1#- $Id$
2#-
3#- AA_make for LMDZ-REPROBUS 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 lmdz44x43x19 verif 
10        echo "noORCAxLMD4443" >.resol
11        echo "RESOL_ATM_3D=44x43x19" >>.resol
12
13LMD5655 : libioipsl lmdz56x55x19 verif 
14        echo "noORCAxLMD5655" >.resol
15        echo "RESOL_ATM_3D=56x55x19" >>.resol
16
17LMD9671 : libioipsl lmdz96x71x19 verif 
18        echo "noORCAxLMD9671" >.resol
19        echo "RESOL_ATM_3D=96x71x19" >>.resol
20
21LMD9695 : libioipsl lmdz96x95x19 verif
22        echo "noORCAxLMD9695" >.resol
23        echo "RESOL_ATM_3D=96x95x19" >>.resol
24
25LMD9695-L39 : libioipsl lmdz96x95x39 verif
26        echo "noORCAxLMD9695-L39" >.resol
27        echo "RESOL_ATM_3D=96x95x39" >>.resol
28
29LMD9695-L39-NOPISCES : libioipsl oasis3 liborchidee orca2nopisces lmdz96x95x39 verif
30        echo "noORCAxLMD9695-L39" >.resol
31        echo "RESOL_ATM_3D=96x95x39" >>.resol
32        echo "NOPISCES" >>.resol
33
34LMD144142 : libioipsl lmdz144x142x19 verif
35        echo "noORCAxLMD144142" >.resol
36        echo "RESOL_ATM_3D=144x142x19" >>.resol
37
38LMD144142-L39 : libioipsl lmdz144x142x39 verif
39        echo "noORCAxLMD144142-L39" >.resol
40        echo "RESOL_ATM_3D=144x142x39" >>.resol
41
42libioipsl : ../../modeles/IOIPSL/src
43        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
44
45
46lmdz44x43x19:
47        $(M_K) lmdz RESOL_LMDZ=44x43x19
48
49lmdz56x55x19:
50        $(M_K) lmdz RESOL_LMDZ=56x55x19
51
52lmdz96x71x19:
53        $(M_K) lmdz RESOL_LMDZ=96x71x19
54
55lmdz96x95x19:
56        $(M_K) lmdz RESOL_LMDZ=96x95x19
57
58lmdz96x95x39:
59        $(M_K) lmdz RESOL_LMDZ=96x95x39
60
61lmdz144x142x19:
62        $(M_K) lmdz RESOL_LMDZ=144x142x19
63
64lmdz144x142x39:
65        $(M_K) lmdz RESOL_LMDZ=144x142x39
66
67lmdz: ../../modeles/LMDZ
68        (cd ../../modeles/LMDZ; ./makelmdz_fcm -ext_src ../REPROBUS -cpp REPROBUS -d $(RESOL_LMDZ) -cosp true -v false -parallel mpi -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_para.e ../../bin/create_etat0_limit.e ; )
69        (cd ../../modeles/LMDZ; ./makelmdz_fcm -ext_src ../REPROBUS -cpp REPROBUS -d $(RESOL_LMDZ) -cosp true -v false -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para.e ../../bin/gcm.e ; )
70
71
72verif: ../../bin
73        ls -l ../../bin
74
75clean :
76        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; )
77
Note: See TracBrowser for help on using the repository browser.