<p><b>laura@ucar.edu</b> 2010-10-14 12:25:59 -0600 (Thu, 14 Oct 2010)</p><p>corrected ifdef options so that module_ra_rrtmg_lw.F and module_ra_rrtmg_sw.F compiled when the option DO_PHYSICS is commented out in top Makefile<br>
</p><hr noshade><pre><font color="gray">Modified: branches/atmos_physics/src/core_physics/physics_wrf/Makefile
===================================================================
--- branches/atmos_physics/src/core_physics/physics_wrf/Makefile        2010-10-14 16:35:28 UTC (rev 554)
+++ branches/atmos_physics/src/core_physics/physics_wrf/Makefile        2010-10-14 18:25:59 UTC (rev 555)
@@ -23,6 +23,5 @@
         $(RM) *.f90 *.o *.mod
 
 .F.o:
-
-        $(CPP) $(CPPFLAGS) $(CPPINCLUDES) -DIWORDSIZE=4 -DRWORDSIZE=8 $&lt; &gt; $*.f90
+        $(CPP) $(CPPFLAGS) $(COREDEF) $(CPPINCLUDES) -DIWORDSIZE=4 -DRWORDSIZE=8 $&lt; &gt; $*.f90
         $(FC) $(FFLAGS) -c $*.f90 $(FCINCLUDES) -I../../framework -I../../operators

Modified: branches/atmos_physics/src/core_physics/physics_wrf/module_ra_rrtmg_lw.F
===================================================================
--- branches/atmos_physics/src/core_physics/physics_wrf/module_ra_rrtmg_lw.F        2010-10-14 16:35:28 UTC (rev 554)
+++ branches/atmos_physics/src/core_physics/physics_wrf/module_ra_rrtmg_lw.F        2010-10-14 18:25:59 UTC (rev 555)
@@ -11286,9 +11286,12 @@
 !------------------------------------------------------------------
 MODULE module_ra_rrtmg_lw
 
+#ifdef non_hydrostatic_core
 !MPAS specific (Laura D. Fowler):
-#ifdef DO_PHYSICS
 use constants
+#elif hydrostatic_core
+!MPAS specific (Laura D. Fowler):
+use constants
 #else
 use module_model_constants, only : cp
 use module_wrf_error

Modified: branches/atmos_physics/src/core_physics/physics_wrf/module_ra_rrtmg_sw.F
===================================================================
--- branches/atmos_physics/src/core_physics/physics_wrf/module_ra_rrtmg_sw.F        2010-10-14 16:35:28 UTC (rev 554)
+++ branches/atmos_physics/src/core_physics/physics_wrf/module_ra_rrtmg_sw.F        2010-10-14 18:25:59 UTC (rev 555)
@@ -9545,13 +9545,16 @@
 !------------------------------------------------------------------
 MODULE module_ra_rrtmg_sw
 
+#ifdef non_hydrostatic_core
 !MPAS specific (Laura D. Fowler):
-#ifdef DO_PHYSICS
 use constants
+#elif hydrostatic_core
+!MPAS specific (Laura D. Fowler):
+use constants
 #else
 use module_model_constants, only : cp
-USE module_wrf_error
-!USE module_dm
+use module_wrf_error
+!use module_dm
 #endif
 !MPAS specific end.
 

</font>
</pre>