<p><b>mperego@fsu.edu</b> 2013-06-07 12:09:28 -0600 (Fri, 07 Jun 2013)</p><p>Land Ice BRANCH: Makefile: added configuration options for building on Hopper using gnu compilers<br>
</p><hr noshade><pre><font color="gray">Modified: branches/land_ice_projects/implement_core/Makefile
===================================================================
--- branches/land_ice_projects/implement_core/Makefile        2013-06-06 20:47:31 UTC (rev 2790)
+++ branches/land_ice_projects/implement_core/Makefile        2013-06-07 18:09:28 UTC (rev 2791)
@@ -73,12 +73,35 @@
        "FFLAGS_OPT = -r8 -O3 -byteswapio -Mfree" \
        "CFLAGS_OPT = -O3" \
        "LDFLAGS_OPT = -O3" \
+        "FFLAGS_DEBUG = -r8 -O0 -g -byteswapio -Mfree" \
+        "CFLAGS_DEBUG = -O0 -g" \
+        "LDFLAGS_DEBUG = -O0 -g" \
        "CORE = $(CORE)" \
        "DEBUG = $(DEBUG)" \
        "SERIAL = $(SERIAL)" \
        "USE_PAPI = $(USE_PAPI)" \
        "CPPFLAGS = $(MODEL_FORMULATION) -DUNDERSCORE $(FILE_OFFSET) $(ZOLTAN_DEFINE)" )
+gcc-nersc:
+        ( $(MAKE) all \
+        "FC_PARALLEL = ftn" \
+        "CC_PARALLEL = cc" \
+        "FC_SERIAL = ftn" \
+        "CC_SERIAL = cc" \
+        "FFLAGS_OPT = -O2 -m64 -ffree-line-length-none -fdefault-real-8 -fconvert=big-endian -ffree-form" \
+        "CFLAGS_OPT = -O3" \
+        "LDFLAGS_OPT = -O3" \
+        "FFLAGS_DEBUG = -g -m64 -ffree-line-length-none -fdefault-real-8 -fconvert=big-endian -ffree-form -fbounds-check" \
+        "CFLAGS_DEBUG = -g -m64" \
+        "LDFLAGS_DEBUG = -g -m64" \
+        "CORE = $(CORE)" \
+        "DEBUG = $(DEBUG)" \
+        "SERIAL = $(SERIAL)" \
+        "USE_PAPI = $(USE_PAPI)" \
+        "CPPFLAGS = $(MODEL_FORMULATION) -DUNDERSCORE $(FILE_OFFSET) $(ZOLTAN_DEFINE)" )
+
+
+
pgi-llnl:
        ( $(MAKE) all \
        "FC_PARALLEL = mpipgf90" \
</font>
</pre>