<p><b>duda</b> 2011-11-11 10:27:43 -0700 (Fri, 11 Nov 2011)</p><p>Add make target 'xlf-serial', turn on optimizations for regular 'xlf' target, and remove deprecated $(EXPAND_LEVELS) from gfortran-serial target.<br>
<br>
<br>
M    Makefile<br>
</p><hr noshade><pre><font color="gray">Modified: trunk/mpas/Makefile
===================================================================
--- trunk/mpas/Makefile        2011-11-11 17:20:38 UTC (rev 1185)
+++ trunk/mpas/Makefile        2011-11-11 17:27:43 UTC (rev 1186)
@@ -21,16 +21,28 @@
         echo &quot;   make gfortran&quot;; \
         )
 
-xlf:
+xlf-serial:
         ( make all \
-        &quot;FC = mpxlf90&quot; \
-        &quot;CC = mpcc&quot; \
+        &quot;FC = xlf90&quot; \
+        &quot;CC = xlc&quot; \
         &quot;SFC = xlf90&quot; \
         &quot;SCC = xlc&quot; \
         &quot;FFLAGS = -qrealsize=8 -g -C &quot; \
         &quot;CFLAGS = -g&quot; \
         &quot;LDFLAGS = -g -C&quot; \
         &quot;CORE = $(CORE)&quot; \
+        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
+
+xlf:
+        ( make all \
+        &quot;FC = mpxlf90&quot; \
+        &quot;CC = mpcc&quot; \
+        &quot;SFC = xlf90&quot; \
+        &quot;SCC = xlc&quot; \
+        &quot;FFLAGS = -O3 -qrealsize=8&quot; \
+        &quot;CFLAGS = -O3&quot; \
+        &quot;LDFLAGS = -O3&quot; \
+        &quot;CORE = $(CORE)&quot; \
         &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) -D_MPI $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
  
 ftn:
@@ -165,7 +177,7 @@
         &quot;CFLAGS = -O3 -m64&quot; \
         &quot;LDFLAGS = -O3 -m64&quot; \
         &quot;CORE = $(CORE)&quot; \
-        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
+        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
 
 g95:
         ( make all \

</font>
</pre>