|
Last change
on this file since 1578 was
1577,
checked in by aslmd, 10 years ago
|
|
Goal: make the mesoscale model compliant
with new interface philosophy and adapted
to easy interfacing with any physics
Commit 1: moved all operations specific to
one planet (Mars so far) in dedicated routines
-- update_inputs_physiq_mod.F: from WRF to LMD physics
-- update_outputs_physiq_mod.F: from LMD physics WRF
Those new routines are in the WRFV2/phys/ folder
Changed Makefile in this folder to compile those
Interfacing for a new planet (e.g. Venus)
will just require to adapt those files
to the new planet. This will be done later.
NB: mesoscale model still not working
with HEAD version
but changes in this commit verified with v1520 (compile+debug+run)
|
|
File size:
1.7 KB
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | |
|---|
| 3 | LN = ln -sf |
|---|
| 4 | MAKE = make -i -r |
|---|
| 5 | RM = rm -f |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | MODULES = \ |
|---|
| 9 | module_physics_addtendc.o \ |
|---|
| 10 | module_physics_init.o \ |
|---|
| 11 | update_inputs_physiq_mod.o \ |
|---|
| 12 | update_outputs_physiq_mod.o \ |
|---|
| 13 | module_lmd_driver.o |
|---|
| 14 | |
|---|
| 15 | OBJS = |
|---|
| 16 | |
|---|
| 17 | NMM_MODULES = |
|---|
| 18 | |
|---|
| 19 | LIBTARGET = physics |
|---|
| 20 | TARGETDIR = ./ |
|---|
| 21 | |
|---|
| 22 | $(LIBTARGET) : |
|---|
| 23 | if [ $(WRF_NMM_CORE) -eq 1 ] ; then \ |
|---|
| 24 | $(MAKE) nmm_contrib ; \ |
|---|
| 25 | $(AR) ../main/libwrflib.a $(MODULES) $(OBJS) $(NMM_OBJS) $(NMM_MODULES) ; \ |
|---|
| 26 | else \ |
|---|
| 27 | $(MAKE) non_nmm ; \ |
|---|
| 28 | $(AR) ../main/libwrflib.a $(MODULES) $(OBJS) ; \ |
|---|
| 29 | fi |
|---|
| 30 | |
|---|
| 31 | include ../configure.wrf |
|---|
| 32 | |
|---|
| 33 | nmm_contrib : $(NMM_OBJS) $(NMM_MODULES) $(MODULES) $(OBJS) |
|---|
| 34 | |
|---|
| 35 | non_nmm : $(MODULES) $(OBJS) |
|---|
| 36 | |
|---|
| 37 | clean: |
|---|
| 38 | @ echo 'use the clean script' |
|---|
| 39 | |
|---|
| 40 | # DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES) |
|---|
| 41 | # si ce qui est à droite a changé, on recompile à gauche |
|---|
| 42 | |
|---|
| 43 | module_physics_addtendc.o: \ |
|---|
| 44 | ../frame/module_state_description.o \ |
|---|
| 45 | ../frame/module_configure.o |
|---|
| 46 | |
|---|
| 47 | module_physics_init.o : \ |
|---|
| 48 | ../frame/module_state_description.o \ |
|---|
| 49 | ../frame/module_configure.o \ |
|---|
| 50 | ../frame/module_wrf_error.o \ |
|---|
| 51 | ../frame/module_dm.o \ |
|---|
| 52 | ../share/module_model_constants.o |
|---|
| 53 | |
|---|
| 54 | module_lmd_driver.o: \ |
|---|
| 55 | ../frame/module_state_description.o \ |
|---|
| 56 | ../frame/module_wrf_error.o \ |
|---|
| 57 | ../frame/module_configure.o \ |
|---|
| 58 | ../share/module_model_constants.o \ |
|---|
| 59 | |
|---|
| 60 | # ../frame/module_wrf_error.o \ |
|---|
| 61 | # ../share/module_model_constants.o |
|---|
| 62 | |
|---|
| 63 | # DO NOT DELETE |
|---|
Note: See
TracBrowser
for help on using the repository browser.