source: CONFIG/UNIFORM/v6/IPSLCM6/AA_make @ 2093

Last change on this file since 2093 was 2093, checked in by aclsce, 8 years ago
  • Modified name of output files created by NEMOGCM (*.card, iodef.xml)
  • Added geo2ocean and arch.fcm specific to IPSLCM6 for Curie in IPSL SOURCES/NEMO directory
  • Removed iom.f90 and sbccpl.f90 from SOURCES/NEMO directory : not needed anymore thanks to the commit.
  • Modified NEMO namelist and namcouple file to have coherency with IPSLCM5A coupling interface
  • Put jpni,j,nij in NEMO namelist to have vertical decomposition (horizontal one by default)
  • ln_presatm = .false. in NEMO namelist
  • some cleaning in configuration files (removed files related to 96x71 and 56x55 resolution
File size: 4.6 KB
Line 
1#- $Id$
2#-
3#- AA_make for IPSLCM5_v4 configuration
4#-
5
6PRISM_DIR = ../../prism
7OASIS3_DIR = $(PRISM_DIR)/src/mod/oasis3
8
9MYSRC_DIR = $(shell /bin/pwd)
10
11all :
12#-Q- eshpux     if [ ! -f $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) ] ; then \
13#-Q- eshpux        cp -f $(PRISM_DIR)/util/compile/frames/include_$(PRISM_NAME)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME)  $(OASIS3_DIR)/.; \
14#-Q- eshpux        cp -f $(PRISM_DIR)/util/compile/frames/include_$(PRISM_NAME)/COMP_libs.$(PRISM_NAME)  $(PRISM_DIR)/util/. ; fi
15        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else $(M_K) ORCA2xLMD9695-L39 ; fi
16
17ORCA2xLMD4443 : libioipsl oasis3 liborchidee xios orca2 lmdz44x43x19 verif     
18        echo "ORCA2xLMD4443" >.resol
19        echo "RESOL_ATM_3D=44x43x19" >>.resol
20        echo "$(LIB_MPI)" >.libmpi
21
22ORCA2xLMD5655 : libioipsl oasis3 liborchidee xios orca2 lmdz56x55x19 verif     
23        echo "ORCA2xLMD5655" >.resol
24        echo "RESOL_ATM_3D=56x55x19" >>.resol
25        echo "$(LIB_MPI)" >.libmpi
26
27ORCA2xLMD9671 : libioipsl oasis3 liborchidee xios orca2 lmdz96x71x19 verif     
28        echo "ORCA2xLMD9671" >.resol
29        echo "RESOL_ATM_3D=96x71x19" >>.resol
30        echo "$(LIB_MPI)" >.libmpi
31
32ORCA2xLMD9695 : libioipsl oasis3 liborchidee xios orca2 lmdz96x95x19 verif
33        echo "ORCA2xLMD9695" >.resol
34        echo "RESOL_ATM_3D=96x95x19" >>.resol
35        echo "$(LIB_MPI)" >.libmpi
36
37ORCA2xLMD9695-L39 : libioipsl oasis3 liborchidee xios orca2 lmdz96x95x39 verif
38        echo "ORCA2xLMD9695-L39" >.resol
39        echo "RESOL_ATM_3D=96x95x39" >>.resol
40        echo "$(LIB_MPI)" >.libmpi
41
42ORCA2xLMD9695-L39-NOPISCES : libioipsl oasis3 liborchidee xios orca2nopisces lmdz96x95x39 verif
43        echo "ORCA2xLMD9695-L39" >.resol
44        echo "RESOL_ATM_3D=96x95x39" >>.resol
45        echo "NOPISCES" >>.resol
46        echo "$(LIB_MPI)" >.libmpi
47
48ORCA2xLMD144142 : libioipsl oasis3 liborchidee xios orca2 lmdz144x142x19 verif
49        echo "ORCA2xLMD144142" >.resol
50        echo "RESOL_ATM_3D=144x142x19" >>.resol
51        echo "$(LIB_MPI)" >.libmpi
52
53ORCA2xLMD144142-L39 : libioipsl oasis3 liborchidee xios orca2 lmdz144x142x39 verif
54        echo "ORCA2xLMD144142-L39" >.resol
55        echo "RESOL_ATM_3D=144x142x39" >>.resol
56        echo "$(LIB_MPI)" >.libmpi
57
58libioipsl : ../../modeles/IOIPSL/src
59        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
60
61oasis3: $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME)
62        (cd $(OASIS3_DIR) ; ./COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) ; )
63
64$(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) : $(PRISM_DIR)
65        (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}" "" "" ; )
66
67liborchidee : ../../modeles/ORCHIDEE/
68        (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile)
69#-Q- platine    (rm -f ../../lib/parallel.mod)
70
71lmdz44x43x19:
72        $(M_K) lmdz RESOL_LMDZ=44x43x19
73
74lmdz56x55x19:
75        $(M_K) lmdz RESOL_LMDZ=56x55x19
76
77lmdz96x71x19:
78        $(M_K) lmdz RESOL_LMDZ=96x71x19
79
80lmdz96x95x19:
81        $(M_K) lmdz RESOL_LMDZ=96x95x19
82
83lmdz96x95x39:
84        $(M_K) lmdz RESOL_LMDZ=96x95x39
85
86lmdz144x142x19:
87        $(M_K) lmdz RESOL_LMDZ=144x142x19
88
89lmdz144x142x39:
90        $(M_K) lmdz RESOL_LMDZ=144x142x39
91
92lmdz: ../../modeles/LMDZ
93        (cd ../../modeles/LMDZ; ./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 ; )
94        (cd ../../modeles/LMDZ; ./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 ; )
95
96xios: ../../modeles/XIOS
97        (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod --use_oasis --job 16 ; )
98
99orca2: ../../modeles/NEMOGCM/CONFIG
100        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM_PISCES -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_lim2_vp key_coupled key_oasis3 key_diahth" ; cp ORCA2_LIM_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; )
101
102orca2nopisces: ../../modeles/NEMOGCM/CONFIG
103        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_lim2_vp key_coupled key_oasis3 key_diahth" ; cp ORCA2_LIM/BLD/bin/nemo.exe ../../../bin/opa ; )
104
105verif: ../../bin
106        ls -l ../../bin
107
108clean :
109        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf $(PRISM_DIR)/$(PRISM_ARCH) ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; ../../modeles/NEMOGCM/CONFIG/makenemo clean ; rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib ; )
Note: See TracBrowser for help on using the repository browser.