source: CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/AA_make @ 585

Last change on this file since 585 was 583, checked in by aclsce, 13 years ago

Modified IPSLCM5_WORK configuration according to IPSLCM5 configuration
changes :

  • changed nemo by opa9 as component name (config.card,
  • opa9.driver, opa9.card)
  • added 5655 resolution
  • Default resolution ORCA2_LMD9695
  • Modified coupling mode : now conservative mode
  • Added diaeiv cpp key and diaptr calculation
  • Changed ORCA2.1 by ORCA2.2 (to allow diaptr atlas)
File size: 4.5 KB
Line 
1#- $Id$
2#-
3#- AA_make for IPSLCM5 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 gmake `cat .resol` ; else gmake ORCA2xLMD9695 ; fi
14
15ORCA2xLMD4443 : libioipsl oasis3 liborchidee orca2 lmdz4443 verif       
16        echo "ORCA2xLMD4443" >.resol
17        echo "$(LIB_MPI)" >.libmpi
18
19ORCA2xLMD5655 : libioipsl oasis3 liborchidee orca2 lmdz5655 verif       
20        echo "ORCA2xLMD5655" >.resol
21        echo "$(LIB_MPI)" >.libmpi
22
23ORCA2xLMD9671 : libioipsl oasis3 liborchidee orca2 lmdz9671 verif       
24        echo "ORCA2xLMD9671" >.resol
25        echo "$(LIB_MPI)" >.libmpi
26
27ORCA2xLMD9695 : libioipsl oasis3 liborchidee orca2 lmdz9695 verif
28        echo "ORCA2xLMD9695" >.resol
29        echo "$(LIB_MPI)" >.libmpi
30
31ORCA2xLMD144142 : libioipsl oasis3 liborchidee orca2 lmdz144142 verif
32        echo "ORCA2xLMD144142" >.resol
33        echo "$(LIB_MPI)" >.libmpi
34
35libioipsl :
36        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
37
38oasis3: $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME)
39        (cd $(OASIS3_DIR) ; ./COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) ; )
40
41$(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) :
42        (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}" "" "" ; )
43
44liborchidee :
45        (cd ../../modeles/ORCHIDEE/ ; ./configure_orchidee -p MPI -arch $(FCM_ARCH) ; fcm build ; ln -sf ../modeles/ORCHIDEE/lib/liborglob.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/libparallel.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/libsechiba.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/libstomate.a  ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/libparameters.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/liborchidee.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/intersurf.mod ../../lib )
46
47lmdz4443:
48        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 44x43x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_44x43x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
49        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 44x43x19 -v true -parallel mpi -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_44x43x19_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
50
51lmdz5655:
52        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 56x55x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_56x55x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
53        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 56x55x19 -v true -parallel mpi -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_56x55x19_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
54
55lmdz9671:
56        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x71x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x71x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
57        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x71x19 -v true -parallel mpi -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_96x71x19_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
58
59lmdz9695:
60        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x95x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
61        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x95x19 -v true -parallel mpi -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
62
63lmdz144142:
64        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x142x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_144x142x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
65        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x142x19 -v true -parallel mpi -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_144x142x19_phylmd_para_orch_couple.e ../../bin/gcm.e ; )
66
67orca2:
68        (cd ../../modeles/NEMO/WORK; $(M_K) 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_vectopt_loop key_vectopt_memory key_orca_r2 key_lim2 key_dynspg_flt key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_dtatem key_dtasal key_coupled key_trabbc key_zdftke key_zdfddm key_oasis3 key_diahth key_diaeiv key_cpl_albedo key_cpl_discharge key_mpp_mpi' ; )
69
70verif:
71        ls -l ../../bin
72
73clean :
74        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf $(PRISM_DIR)/$(PRISM_ARCH) ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; )
75
Note: See TracBrowser for help on using the repository browser.