source: trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/Makefile @ 1579

Last change on this file since 1579 was 1579, checked in by aslmd, 9 years ago

Goal: make the mesoscale model compliant
with new interface philosophy and adapted
to easy interfacing with any physics

Commit 3: call to iniphysiq in module_lmd_driver

  • iniphysiq is in WRFV2/phys
  • geometry is initialized in update_inputs_physiq_mod

This call is planet-independent and follows the
same philosophy as iniphysiq in dynphy_lonlat
for the LMDz GCM

NB: mesoscale model now compiles and runs with HEAD version
results completely compatible with v1520 version (same physics)

File size: 1.7 KB
Line 
1#
2
3LN      =       ln -sf
4MAKE    =       make -i -r
5RM      =       rm -f
6
7
8MODULES = \
9        module_physics_addtendc.o \
10        module_physics_init.o \
11        update_inputs_physiq_mod.o \
12        update_outputs_physiq_mod.o \
13        iniphysiq_mod.o \
14        module_lmd_driver.o
15 
16OBJS    =
17
18NMM_MODULES = 
19
20LIBTARGET    =  physics
21TARGETDIR    =  ./
22
23$(LIBTARGET) :
24                if [ $(WRF_NMM_CORE) -eq 1 ] ; then \
25                  $(MAKE) nmm_contrib                                      ; \
26                  $(AR) ../main/libwrflib.a $(MODULES) $(OBJS) $(NMM_OBJS) $(NMM_MODULES) ; \
27                else                                                         \
28                  $(MAKE) non_nmm                                          ; \
29                  $(AR) ../main/libwrflib.a $(MODULES) $(OBJS)             ; \
30                fi
31
32include ../configure.wrf
33
34nmm_contrib : $(NMM_OBJS) $(NMM_MODULES) $(MODULES) $(OBJS)
35
36non_nmm : $(MODULES) $(OBJS)
37
38clean:
39        @ echo 'use the clean script'
40
41# DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES)
42# si ce qui est à droite a changé, on recompile à gauche
43
44module_physics_addtendc.o: \
45                ../frame/module_state_description.o \
46                ../frame/module_configure.o
47
48module_physics_init.o : \
49                ../frame/module_state_description.o \
50                ../frame/module_configure.o \
51                ../frame/module_wrf_error.o \
52                ../frame/module_dm.o \
53                ../share/module_model_constants.o
54
55module_lmd_driver.o: \
56                ../frame/module_state_description.o \
57                ../frame/module_wrf_error.o \
58                ../frame/module_configure.o \
59                ../share/module_model_constants.o \
60
61#               ../frame/module_wrf_error.o \
62#               ../share/module_model_constants.o
63
64# DO NOT DELETE
Note: See TracBrowser for help on using the repository browser.