source: CONFIG/IPSLCM/IPSLCM5A/AA_make @ 3460

Last change on this file since 3460 was 1607, checked in by mafoipsl, 10 years ago

For IPSLCM5A, put 32 processors as default, delte vectopt key compilation, change the comment for vargas.

File size: 4.7 KB
Line 
1#- $Id$
2#-
3#- AA_make for IPSLCM5A configuration
4#-
5
6PRISM_DIR = ../../prism
7OASIS3_DIR = $(PRISM_DIR)/src/mod/oasis3
8
9all :
10#-Q- eshpux     if [ ! -f $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) ] ; then \
11#-Q- eshpux        cp -f $(PRISM_DIR)/util/compile/frames/include_$(PRISM_NAME)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME)  $(OASIS3_DIR)/.; \
12#-Q- eshpux        cp -f $(PRISM_DIR)/util/compile/frames/include_$(PRISM_NAME)/COMP_libs.$(PRISM_NAME)  $(PRISM_DIR)/util/. ; fi
13        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else $(M_K) ORCA2xLMD9695-L39 ; fi
14
15ORCA2xLMD4443 : libioipsl oasis3 liborchidee orca2 lmdz44x43x19 verif   
16        echo "ORCA2xLMD4443" >.resol
17        echo "RESOL_ATM_3D=44x43x19" >>.resol
18        echo "$(LIB_MPI)" >.libmpi
19
20ORCA2xLMD5655 : libioipsl oasis3 liborchidee orca2 lmdz56x55x19 verif   
21        echo "ORCA2xLMD5655" >.resol
22        echo "RESOL_ATM_3D=56x55x19" >>.resol
23        echo "$(LIB_MPI)" >.libmpi
24
25ORCA2xLMD9671 : libioipsl oasis3 liborchidee orca2 lmdz96x71x19 verif   
26        echo "ORCA2xLMD9671" >.resol
27        echo "RESOL_ATM_3D=96x71x19" >>.resol
28        echo "$(LIB_MPI)" >.libmpi
29
30ORCA2xLMD9695 : libioipsl oasis3 liborchidee orca2 lmdz96x95x19 verif
31        echo "ORCA2xLMD9695" >.resol
32        echo "RESOL_ATM_3D=96x95x19" >>.resol
33        echo "$(LIB_MPI)" >.libmpi
34
35ORCA2xLMD9695-L39 : libioipsl oasis3 liborchidee orca2 lmdz96x95x39 verif
36        echo "ORCA2xLMD9695-L39" >.resol
37        echo "RESOL_ATM_3D=96x95x39" >>.resol
38        echo "$(LIB_MPI)" >.libmpi
39
40ORCA2xLMD9695-L39-NOPISCES : libioipsl oasis3 liborchidee orca2nopisces lmdz96x95x39 verif
41        echo "ORCA2xLMD9695-L39" >.resol
42        echo "RESOL_ATM_3D=96x95x39" >>.resol
43        echo "NOPISCES" >>.resol
44        echo "$(LIB_MPI)" >.libmpi
45
46ORCA2xLMD144142 : libioipsl oasis3 liborchidee orca2 lmdz144x142x19 verif
47        echo "ORCA2xLMD144142" >.resol
48        echo "RESOL_ATM_3D=144x142x19" >>.resol
49        echo "$(LIB_MPI)" >.libmpi
50
51ORCA2xLMD144142-L39 : libioipsl oasis3 liborchidee orca2 lmdz144x142x39 verif
52        echo "ORCA2xLMD144142-L39" >.resol
53        echo "RESOL_ATM_3D=144x142x39" >>.resol
54        echo "$(LIB_MPI)" >.libmpi
55
56libioipsl : ../../modeles/IOIPSL/src
57        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
58
59oasis3: $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME)
60        (cd $(OASIS3_DIR) ; ./COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) ; )
61
62$(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) : $(PRISM_DIR)
63        (cd $(PRISM_DIR) ; ./util/compile/frames/Create_COMP_libs.frm  "" "" "${PRISM_NAME}" "${LIB_MPI_BIS}" ; ./util/compile/frames/Create_COMP_models.frm oasis3 "${LIB_MPI_BIS}" "" "" "${PRISM_NAME}" "" "" ; )
64
65liborchidee : ../../modeles/ORCHIDEE/
66        (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile)
67#-Q- platine    (rm -f ../../lib/parallel.mod)
68
69lmdz44x43x19:
70        $(M_K) lmdz RESOL_LMDZ=44x43x19
71
72lmdz56x55x19:
73        $(M_K) lmdz RESOL_LMDZ=56x55x19
74
75lmdz96x71x19:
76        $(M_K) lmdz RESOL_LMDZ=96x71x19
77
78lmdz96x95x19:
79        $(M_K) lmdz RESOL_LMDZ=96x95x19
80
81lmdz96x95x39:
82        $(M_K) lmdz RESOL_LMDZ=96x95x39
83
84lmdz144x142x19:
85        $(M_K) lmdz RESOL_LMDZ=144x142x19
86
87lmdz144x142x39:
88        $(M_K) lmdz RESOL_LMDZ=144x142x39
89
90lmdz: ../../modeles/LMDZ4
91        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -cosp true -v true -parallel mpi -c $(LIB_MPI) -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_para_orch_couple.e ../../bin/create_etat0_limit.e ; )
92        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -cosp true -v true -parallel mpi -c $(LIB_MPI) -arch $(FCM_ARCH) gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
93
94orca2: ../../modeles/NEMO/WORK
95        (cd ../../modeles/NEMO/WORK; $(M_K) FCM=use USER_INC='-I ../$(PRISM_DIR)/$(PRISM_ARCH)/build/lib/psmile.$(LIB_MPI)' USER_LIB='-L../$(PRISM_DIR)/$(PRISM_ARCH)/lib -lpsmile.$(LIB_MPI) -lmpp_io' P_P='key_trabbl_dif key_orca_r2 key_lim2 key_dynspg_flt key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_dtachl key_dtatem key_dtasal key_coupled key_trabbc key_zdftke key_zdftmx key_zdfddm key_oasis3 key_diahth key_diaeiv key_mpp_mpi key_iomput key_diaar5 key_top key_pisces key_trcbbl_dif key_trcldf_eiv key_trc_zdfddm key_trc_diaadd key_trc_dia3d key_dtatrc ' ; )
96
97orca2nopisces: ../../modeles/NEMO/WORK
98        (cd ../../modeles/NEMO/WORK; $(M_K) FCM=use USER_INC='-I ../$(PRISM_DIR)/$(PRISM_ARCH)/build/lib/psmile.$(LIB_MPI)' USER_LIB='-L../$(PRISM_DIR)/$(PRISM_ARCH)/lib -lpsmile.$(LIB_MPI) -lmpp_io' P_P='key_trabbl_dif key_orca_r2 key_lim2 key_dynspg_flt key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_dtachl key_dtatem key_dtasal key_coupled key_trabbc key_zdftke key_zdftmx key_zdfddm key_oasis3 key_diahth key_diaeiv key_mpp_mpi key_iomput key_diaar5 ' ; )
99
100verif: ../../bin
101        ls -l ../../bin
102
103clean :
104        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf $(PRISM_DIR)/$(PRISM_ARCH) ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; )
105
Note: See TracBrowser for help on using the repository browser.