Changeset 2193


Ignore:
Timestamp:
02/10/14 18:09:22 (7 years ago)
Author:
aclsce
Message:

Modified to use and compile Oasis3-MCT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6/AA_make

    r2137 r2193  
    44#-  
    55 
    6 PRISM_DIR = ../../prism 
    7 OASIS3_DIR = $(PRISM_DIR)/src/mod/oasis3 
     6OASIS_DIR = ../../oasis3-mct 
    87 
    98MYSRC_DIR = $(shell /bin/pwd) 
    109 
    1110all :  
    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 
    1511        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else $(M_K) ORCA2LIM2xLMD9695-L39 ; fi 
    1612 
    17 ORCA2LIM2xLMD9695-L39 : libioipsl oasis3 liborchidee xios orca2lim2 lmdz96x95x39 verif 
     13ORCA2LIM2xLMD9695-L39 : libioipsl oasis3-mct liborchidee xios orca2lim2 lmdz96x95x39 verif 
    1814        echo "ORCA2LIM2xLMD9695-L39" >.resol 
    1915        echo "RESOL_ATM_3D=96x95x39" >>.resol 
     
    5046        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) 
    5147 
    52 oasis3: $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) 
    53         (cd $(OASIS3_DIR) ; ./COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) ; ) 
    54  
    55 $(OASIS3_DIR)/COMP_oasis3_$(LIB_MPI).$(PRISM_NAME) : $(PRISM_DIR) 
    56         (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}" "" "" ; ) 
     48oasis3-mct: 
     49        (cd $(OASIS_DIR)/util/make_dir ; cp $(MYSRC_DIR)/SOURCES/OASIS3-MCT/make_${FCM_ARCH} make.inc ; make -f TopMakefileOasis3 ; ) 
    5750 
    5851liborchidee : ../../modeles/ORCHIDEE/ 
     
    6659 
    6760lmdz: ../../modeles/LMDZ 
    68         (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 ; ) 
    69         (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 ; ) 
     61        (cd ../../modeles/LMDZ; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -cosp true -v true -parallel mpi -c OMCT -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_para_orch_couple.e ../../bin/create_etat0_limit.e ; ) 
     62        (cd ../../modeles/LMDZ; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -cosp true -v true -parallel mpi -c OMCT -arch $(FCM_ARCH) gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para_orch_couple.e ../../bin/gcm.e ; ) 
    7063 
    7164xios: ../../modeles/XIOS 
    72         (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod --use_oasis --job 16 ; ) 
     65        (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod --use_oasis --job 8 ; cp bin/xios_server.exe ../../bin/. ; ) 
    7366 
    7467orca2lim2: ../../modeles/NEMOGCM/CONFIG 
    75         (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 ; ) 
     68        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./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 key_oasis_mct key_diaar5" ; cp ORCA2_LIM_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; ) 
    7669 
    7770orca2lim3: ../../modeles/NEMOGCM/CONFIG 
    78         (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM3_PISCES -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_coupled key_oasis3 key_diahth" ; cp ORCA2_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; ) 
     71        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM3_PISCES -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_coupled key_oasis3 key_diahth key_oasis_mct key_diaar5" ; cp ORCA2_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/opa ; ) 
    7972 
    8073orca2lim2nopisces: ../../modeles/NEMOGCM/CONFIG 
    81         (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 ; ) 
     74        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_lim2_vp key_coupled key_oasis3 key_diahth key_oasis_mct key_diaar5" ; cp ORCA2_LIM/BLD/bin/nemo.exe ../../../bin/opa ; ) 
    8275 
    8376orca2lim3nopisces: ../../modeles/NEMOGCM/CONFIG 
    84         (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM3 -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_coupled key_oasis3 key_diahth" ; cp ORCA2_LIM3/BLD/bin/nemo.exe ../../../bin/opa ; ) 
     77        (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/IPSLCM6/SOURCES/NEMO/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/IPSLCM6/SOURCES/NEMO/*.cfg ../TOOLS/COMPILE/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM3 -e "$(MYSRC_DIR)/SOURCES/NEMO" -j16 add_key "key_coupled key_oasis3 key_diahth key_oasis_mct key_diaar5" ; cp ORCA2_LIM3/BLD/bin/nemo.exe ../../../bin/opa ; ) 
    8578 
    8679verif: ../../bin 
     
    10396 
    10497cleanoasis :  
    105         rm -rf $(PRISM_DIR)/$(PRISM_ARCH) 
     98        rm -rf $(OASIS_DIR)/BLD 
    10699        rm -f $(BINDIR)/oasis 
    107100 
Note: See TracChangeset for help on using the changeset viewer.