#- $Id$ #- #- AA_make for IPSLCM5_v4 configuration #- MYSRC_DIR = $(shell /bin/pwd) all : $(M_K) ORCA1LIM3PISCES ORCA2LIM3PISCES : xios orca2lim3pisces ORCA2OFFPISCES : xios orca2offpisces ORCA2OFFPISCESv5 : xios orca2offpiscesv5 ORCA1OFFPISCES : xios orca1offpisces ORCA1LIM3 : xios orca1lim3 ORCA1LIM3PISCES : xios orca1lim3pisces ORCA025LIM3 : xios orca025lim3 ORCA025LIM3PISCES : xios orca025lim3pisces ORCA025LIM3PISCESCRS : xios orca025lim3piscescrs xios: ../../modeles/XIOS (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod --job 4 ; cp bin/xios_server.exe ../../bin/. ; ) orca2lim3pisces: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_LIM3_PISCES -r ORCA1_LIM3_PISCES -j16 ; cp ORCA2_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/orca2lim3pisces.exe ; ) orca2offpisces: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_OFF_PISCES -j16 add_key "key_xios2" ; cp ORCA2_OFF_PISCES/BLD/bin/nemo.exe ../../../bin/orca2offpisces.exe ; ) orca2offpiscesv5: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; cp ../../../config/NEMO_v6/SOURCES/*.F90 ORCA2_OFF_PISCES/MY_SRC/. ; ./makenemo -m ${FCM_ARCH} -n ORCA2_OFF_PISCES -j16 add_key "key_xios2" del_key "key_trabbl" ; cp ORCA2_OFF_PISCES/BLD/bin/nemo.exe ../../../bin/orca2offpiscesv5.exe ; ) orca1lim3: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA1_LIM3 -r ORCA1_LIM3_PISCES -j16 del_key "key_mpp_rep key_nosignedzero key_top key_pisces key_age key_cfc" ; cp ORCA1_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/orca1lim3.exe ; ) orca1lim3pisces: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA1_LIM3_PISCES -j16 ; cp ORCA1_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/orca1lim3pisces.exe ; ) orca1offpisces: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA1_OFF_PISCES -j16 ; cp ORCA1_OFF_PISCES/BLD/bin/nemo.exe ../../../bin/orca1offpisces.exe ; ) orca025lim3: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA025_LIM3 -r ORCA025_LIM3_PISCES -j16 del_key "key_mpp_rep key_nosignedzero key_top key_pisces key_age" ; cp ORCA025_LIM3/BLD/bin/nemo.exe ../../../bin/orca025lim3.exe ; ) orca025lim3pisces: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA025_LIM3_PISCES -j16 ; cp ORCA025_LIM3_PISCES/BLD/bin/nemo.exe ../../../bin/orca025lim3pisces.exe ; ) orca025lim3piscescrs: ../../modeles/NEMOGCM/CONFIG (cd ../../modeles/NEMOGCM/CONFIG; cp ../../../config/NEMO_v6/ARCH/arch-${FCM_ARCH}.fcm ../ARCH/. ; ./makenemo -m ${FCM_ARCH} -n ORCA025_LIM3_PISCES_CRS -r ORCA025_LIM3_PISCES -j16 add_key "key_crs" ; cp ORCA025_LIM3_PISCES_CRS/BLD/bin/nemo.exe ../../../bin/orca025lim3piscescrs.exe ; ) verif: ../../bin ls -l ../../bin clean : cleanxios cleannemo rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* cleannemo : ../../modeles/NEMOGCM/CONFIG/makenemo clean rm -f $(BINDIR)/orca*.exe cleanxios : rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib