source: CONFIG/LMDZ/branches/LMDZ4/AA_make @ 603

Last change on this file since 603 was 603, checked in by jgipsl, 13 years ago

Total fcm path must be indicated to compile at local linux machine.

File size: 2.1 KB
Line 
1#- $Id$
2
3
4all :
5        if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake LMD9671 ; fi
6
7
8LMD7245 : libioipsl lmdz7245 verif
9        echo "LMD7245" >.resol
10        echo "$(LIB_MPI)" >.libmpi
11
12LMD9671 : libioipsl lmdz9671 verif
13        echo "LMD9671" >.resol
14        echo "$(LIB_MPI)" >.libmpi
15
16LMD14496 : libioipsl lmdz14496 verif
17        echo "LMD14496" >.resol
18        echo "$(LIB_MPI)" >.libmpi
19
20LMD144142 : libioipsl lmdz144142 verif
21        echo "LMD144142" >.resol
22        echo "$(LIB_MPI)" >.libmpi
23
24
25libioipsl :
26        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
27
28
29lmdz7245:
30        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 72x45x19 -arch $(FCM_ARCH) -fcm_path $(FCM_PATH) create_etat0_limit ; cp bin/create_etat0_limit_72x45x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
31        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 72x45x19 -parallel mpi -arch $(FCM_ARCH) -fcm_path $(FCM_PATH) gcm ; cp bin/gcm_72x45x19_phylmd_para.e ../../bin/gcm.e ; )
32
33lmdz9671:
34        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x71x19 -arch $(FCM_ARCH) -fcm_path $(FCM_PATH) create_etat0_limit ; cp bin/create_etat0_limit_96x71x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
35        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x71x19 -parallel mpi -arch $(FCM_ARCH) -fcm_path $(FCM_PATH) gcm ; cp bin/gcm_96x71x19_phylmd_para.e ../../bin/gcm.e ; )
36
37lmdz14496:
38        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 144x96x19 -arch $(FCM_ARCH) -fcm_path $(FCM_PATH) create_etat0_limit ; cp bin/create_etat0_limit_144x96x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
39        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 144x96x19 -parallel mpi -arch $(FCM_ARCH) -fcm_path $(FCM_PATH) gcm ; cp bin/gcm_144x96x19_phylmd_para.e ../../bin/gcm.e ; )
40
41lmdz144142:
42        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 144x142x19 -arch $(FCM_ARCH) -fcm_path $(FCM_PATH) create_etat0_limit ; cp bin/create_etat0_limit_144x142x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
43        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 144x142x19 -parallel mpi -arch $(FCM_ARCH) -fcm_path $(FCM_PATH) gcm ; cp bin/gcm_144x142x19_phylmd_para.e ../../bin/gcm.e ; )
44
45
46verif:
47        ls -lrt ../../bin
48
49clean :
50        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; rm -fr .resol .libmpi ; )
Note: See TracBrowser for help on using the repository browser.