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

Last change on this file since 1603 was 1580, 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 4: call to call_physiq in module_lmd_driver
(callphysiq_mod is in WRFV2/phys)

module_lmd_driver.F.new is now supposedly independent
of the considered planet

to build an interface with new planetary physics
consider adapting

  • update_inputs_physiq_mod.F
  • update_outputs_physiq_mod.F
  • iniphysiq_mod.F
  • callphysiq_mod.F

for the last two, see examples for a given planet
in LMDZ._yourplanet_/libf/dynphy_lonlat/phy_yourplanet_

NB: checked compatibility of results with previous commit

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        callphysiq_mod.o \
15        module_lmd_driver.o
16 
17OBJS    =
18
19NMM_MODULES = 
20
21LIBTARGET    =  physics
22TARGETDIR    =  ./
23
24$(LIBTARGET) :
25                if [ $(WRF_NMM_CORE) -eq 1 ] ; then \
26                  $(MAKE) nmm_contrib                                      ; \
27                  $(AR) ../main/libwrflib.a $(MODULES) $(OBJS) $(NMM_OBJS) $(NMM_MODULES) ; \
28                else                                                         \
29                  $(MAKE) non_nmm                                          ; \
30                  $(AR) ../main/libwrflib.a $(MODULES) $(OBJS)             ; \
31                fi
32
33include ../configure.wrf
34
35nmm_contrib : $(NMM_OBJS) $(NMM_MODULES) $(MODULES) $(OBJS)
36
37non_nmm : $(MODULES) $(OBJS)
38
39clean:
40        @ echo 'use the clean script'
41
42# DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES)
43# si ce qui est à droite a changé, on recompile à gauche
44
45module_physics_addtendc.o: \
46                ../frame/module_state_description.o \
47                ../frame/module_configure.o
48
49module_physics_init.o : \
50                ../frame/module_state_description.o \
51                ../frame/module_configure.o \
52                ../frame/module_wrf_error.o \
53                ../frame/module_dm.o \
54                ../share/module_model_constants.o
55
56module_lmd_driver.o: \
57                ../frame/module_state_description.o \
58                ../frame/module_wrf_error.o \
59                ../frame/module_configure.o \
60                ../share/module_model_constants.o \
61
62#               ../frame/module_wrf_error.o \
63#               ../share/module_model_constants.o
64
65# DO NOT DELETE
Note: See TracBrowser for help on using the repository browser.