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

Last change on this file since 2229 was 2215, checked in by jgipsl, 8 years ago

Changed to compile in hybrid Mpi OpenMP mode for LMDZ and ORCHIDEE.

File size: 2.6 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
41
42xios :
43        (cd  ../../modeles/XIOS ; ./make_xios --prod --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; )
44
45libioipsl : ../../modeles/IOIPSL/src
46        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
47
48
49liborchidee : ../../modeles/ORCHIDEE/
50        (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -xios -driver)
51
52
53lmdz44x43x19:
54        $(M_K) lmdz RESOL_LMDZ=44x43x19
55
56lmdz56x55x19:
57        $(M_K) lmdz RESOL_LMDZ=56x55x19
58
59lmdz96x71x19:
60        $(M_K) lmdz RESOL_LMDZ=96x71x19
61
62lmdz96x95x19:
63        $(M_K) lmdz RESOL_LMDZ=96x95x19
64
65lmdz96x95x39:
66        $(M_K) lmdz RESOL_LMDZ=96x95x39
67
68lmdz128x118x39:
69        $(M_K) lmdz RESOL_LMDZ=128x118x39
70
71lmdz144x142x19:
72        $(M_K) lmdz RESOL_LMDZ=144x142x19
73
74lmdz144x142x39:
75        $(M_K) lmdz RESOL_LMDZ=144x142x39
76
77lmdz: ../../modeles/LMDZ
78        (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -cosp true -v true -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -io xios ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_para_orch.e ../../bin/create_etat0_limit.e ; )
79        (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -cosp true -v true -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -io xios gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para_orch.e ../../bin/gcm.e ; )
80
81
82verif: ../../bin
83        ls -l ../../bin
84
85clean :
86        (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; )
87        (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; )
88        (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; )
89
90
Note: See TracBrowser for help on using the repository browser.