source: CONFIG/UNIFORM/v6/NEMO_v6/AA_make @ 4397

Last change on this file since 4397 was 4251, checked in by cetlod, 5 years ago

NEMOv6 : use 4 processes for XIOS compilation

File size: 3.3 KB
Line 
1#- $Id$
2#-
3#- AA_make for IPSLCM5_v4 configuration
4#-
5
6MYSRC_DIR = $(shell /bin/pwd)
7
8all :
9        $(M_K) ORCA1LIM3PISCES
10
11
12ORCA2LIM3PISCES      : xios orca2lim3pisces
13
14ORCA2OFFPISCES       : xios orca2offpisces
15
16ORCA1OFFPISCES       : xios orca1offpisces
17
18ORCA1LIM3            : xios orca1lim3
19
20ORCA1LIM3PISCES      : xios orca1lim3pisces
21
22ORCA025LIM3          : xios orca025lim3
23
24ORCA025LIM3PISCES    : xios orca025lim3pisces
25
26ORCA025LIM3PISCESCRS : xios orca025lim3piscescrs
27
28xios: ../../modeles/XIOS
29        (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod  --job 4 ; cp bin/xios_server.exe ../../bin/. ; )
30
31
32orca2lim3pisces:  ../../modeles/NEMOGCM/CONFIG
33        (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 ; )
34
35orca2offpisces:  ../../modeles/NEMOGCM/CONFIG
36        (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 ; )
37
38orca1lim3:  ../../modeles/NEMOGCM/CONFIG
39        (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 ; )
40
41orca1lim3pisces:  ../../modeles/NEMOGCM/CONFIG
42        (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 ; )
43
44orca1offpisces:  ../../modeles/NEMOGCM/CONFIG
45        (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 ; )
46
47orca025lim3:  ../../modeles/NEMOGCM/CONFIG
48        (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 ; )
49
50orca025lim3pisces:  ../../modeles/NEMOGCM/CONFIG
51        (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 ; )
52
53orca025lim3piscescrs:  ../../modeles/NEMOGCM/CONFIG
54        (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 ; )
55
56verif: ../../bin
57        ls -l ../../bin
58
59clean : cleanxios cleannemo
60        rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/*
61
62cleannemo :
63        ../../modeles/NEMOGCM/CONFIG/makenemo clean
64        rm -f $(BINDIR)/orca*.exe
65
66cleanxios :
67        rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib
Note: See TracBrowser for help on using the repository browser.