source: dynamico_lmdz/config/DYNAMICO_LMDZ/AA_make @ 4095

Last change on this file since 4095 was 4095, checked in by jgipsl, 7 years ago

Added target to compile LMDZ lat-lon grid without DYNAMICO.

A-K Traore, J Ghattas

File size: 1.9 KB
Line 
1# Default compilation option for DYNAMICO_LMDZ configuration
2all:
3        (cd ../../modeles/ICOSA_LMDZ/; ./make_icosa_lmdz -prod -parallel mpi -p lmd -arch ${FCM_ARCH} -arch_path ../ARCH -job 8 ; mv bin/icosa_lmdz.exe ../../bin/. ; mv ../XIOS/bin/xios_server.exe ../../bin/.)
4
5
6# Target to force full recompilation of all components
7full:
8        (cd ../../modeles/ICOSA_LMDZ/; ./make_icosa_lmdz -prod -parallel mpi -p lmd -arch ${FCM_ARCH} -arch_path ../ARCH -job 8 -full ; mv bin/icosa_lmdz.exe ../../bin/. ; mv ../XIOS/bin/xios_server.exe ../../bin/.)
9
10
11# Target to compile all components in debug mode
12debug:
13        (cd ../../modeles/ICOSA_LMDZ/; ./make_icosa_lmdz -debug -parallel mpi -p lmd -arch ${FCM_ARCH} -arch_path ../ARCH -job 8 ; mv bin/icosa_lmdz.exe ../../bin/. ; mv ../XIOS/bin/xios_server.exe ../../bin/.)
14
15
16# Target to compile LMDZ on latatitude-longitude grid (without DYNAMICO)
17# Default resolution 144x142x79 is compiled
18lmdz_latlon:
19        (cd ../../modeles/IOIPSL ; ./makeioipsl_fcm -prod -parallel -arch ${FCM_ARCH} -arch_path ../ARCH -j 8)
20        (cd ../../modeles/XIOS ; ./make_xios --prod --arch ${FCM_ARCH} --arch_path ../ARCH --job 8 ; mv bin/xios_server.exe ../../bin/.) 
21        (cd ../../modeles/LMDZ5/; ./makelmdz_fcm -prod -d 144x142x79 -parallel mpi -mem -p lmd -arch ${FCM_ARCH} -arch_path ../ARCH -job 8  -io xios -v false -rrtm true gcm ; mv bin/gcm_144x142x79_phylmd_para_mem.e ../../bin/gcm.e) ;
22        (echo "noORCAxLMD144142-L79" >.resol)
23        (echo "RESOL_ATM_3D=144x142x79" >>.resol)
24
25
26# Target to remove everything created during compilation
27clean:
28        (rm -rf ../../modeles/IOIPSL/inc ../../modeles/IOIPSL/obj ../../modeles/IOIPSL/lib ../../modeles/IOIPSL/fcm.bld.lock )
29        (rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib )
30        (rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock )
31        (cd ../../modeles/ICOSAGCM ; ./clean)
32        (cd ../../modeles/ICOSA_LMDZ ; ./clean)
33        (rm -f ../../bin/icosa_lmdz.exe ../../bin/xios_server.exe)
34
Note: See TracBrowser for help on using the repository browser.