<p><b>qchen3@fsu.edu</b> 2010-09-13 10:05:11 -0600 (Mon, 13 Sep 2010)</p><p>qc_branch commit<br>
</p><hr noshade><pre><font color="gray">Copied: branches/qc_branch (from rev 377, trunk/mpas)
Modified: branches/swmodel/Makefile
===================================================================
--- branches/swmodel/Makefile        2010-09-07 22:11:37 UTC (rev 495)
+++ branches/swmodel/Makefile        2010-09-13 16:05:11 UTC (rev 496)
@@ -2,7 +2,7 @@
MODEL_FORMULATION = -DLANL_FORMULATION
#EXPAND_LEVELS = -DEXPAND_LEVELS=32
-#FILE_OFFSET = -DOFFSET64BIT
+FILE_OFFSET = -DOFFSET64BIT
#########################
# Section for Zoltan TPL
@@ -42,17 +42,56 @@
        "LDFLAGS = -O3" \
        "CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE $(FILE_OFFSET) $(ZOLTAN_DEFINE)" )
-ifort:
+hpc:
        ( make all \
        "FC = mpif90" \
-        "CC = gcc" \
+        "CC = icc" \
        "SFC = ifort" \
+        "SCC = icc" \
+        "FFLAGS = -real-size 64 -O3" \
+        "CFLAGS = -O3 -m64" \
+        "LDFLAGS = -O3 -L$MKLPATH -I$MKLINCLUDE -I$MKLPATH -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \
+        "CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)" \
+        "NETCDF = /opt/netcdf-4.0/intel")
+
+hpcs:
+        ( make all \
+        "FC = ifort" \
+        "CC = icc" \
+        "SFC = ifort" \
+        "SCC = icc" \
+        "FFLAGS = -O3 -real-size 64 " \
+        "CFLAGS = -O3 -m64" \
+        "LDFLAGS = -O3 -L$MKLPATH -I$MKLINCLUDE -I$MKLPATH -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \
+        "CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)" \
+        "NETCDF = /opt/netcdf-4.0/intel")
+
+cyclonep:
+        ( make all \
+        "FC = /home/qchen/Documents/mylib/openmpi-1.3.3/bin/mpif90" \
+        "CC = /home/qchen/Documents/mylib/openmpi-1.3.3/bin/mpicc" \
+        "SFC = ifort" \
        "SCC = gcc" \
        "FFLAGS = -real-size 64 -O3" \
        "CFLAGS = -O3 -m64" \
        "LDFLAGS = -O3 -L$MKLPATH -I$MKLINCLUDE -I$MKLPATH -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \
-        "CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)" )
+        "CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE $(FILE_OFFSET) $(ZOLTAN_DEFINE)" )
+cyclones:
+        ( make all \
+        "FC = gfortran" \
+        "CC = gcc" \
+        "SFC = gfortran" \
+        "SCC = gcc" \
+        "FFLAGS = -O3 -m64 -ffree-line-length-0" \
+        "CFLAGS = -O3 -m64" \
+        "LDFLAGS = -O3 -m64" \
+        "CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)" \
+        "CPPINCLUDES = -I../inc -I/usr/include" \
+        "FCINCLUDES = -I../inc -I/usr/include" \
+        "LIBS = -L/usr/lib -lnetcdf -lnetcdff -lblas -llapack" )
+
+
gfortran:
        ( make all \
        "FC = mpif90" \
@@ -64,12 +103,51 @@
        "LDFLAGS = -O3 -m64" \
        "CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)" )
+snowiep:
+        ( make all \
+        "FC = /opt/intel/openmpi-1.4.2/bin/mpif90" \
+        "CC = /opt/intel/openmpi-1.4.2/bin/mpicc" \
+        "SFC = ifort" \
+        "SCC = icc" \
+        "FFLAGS = -O3 -m64" \
+        "CFLAGS = -O3 -m64" \
+        "LDFLAGS = -O3 -m64 -I$(MKLINCLUDE) -I$(MKLPATH) -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \
+ "NETCDF = /opt/intel/netcdf4" \
+        "CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)" )
+snowieg:
+        ( make all \
+        "FC = gfortran" \
+        "CC = gcc" \
+        "SFC = gfortran" \
+        "SCC = gcc" \
+        "FFLAGS = -O3 -m64 -ffree-line-length-none" \
+        "CFLAGS = -O3 -m64" \
+        "LDFLAGS = -O3 -m64" \
+ "NETCDF = /opt/local" \
+        "CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)" )
+snowies:
+        ( make all \
+        "FC = ifort" \
+        "CC = icc" \
+        "SFC = ifort" \
+        "SCC = icc" \
+        "FFLAGS = -O3 -real-size 64" \
+        "CFLAGS = -O3 -m64" \
+        "LDFLAGS = -O3 -I$(MKLINCLUDE) -I$(MKLPATH) -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \
+ "NETCDF = /opt/intel/netcdf4" \
+        "CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)" )
+
+
+
CPPINCLUDES = -I../inc -I$(NETCDF)/include
FCINCLUDES = -I../inc -I$(NETCDF)/include
-LIBS = -L$(NETCDF)/lib -lnetcdf
+#LIBS = -L$(NETCDF)/lib -lnetcdf -lnetcdff
+#LIBS = -L$(NETCDF)/lib -lnetcdf -lblas -llapack
+LIBS = -L/opt/intel/netcdf4/lib -lnetcdf -lnetcdff -L/opt/local/lib -lcurl -lidn -lssl -lcrypto -lz
+
RM = rm -f
CPP = cpp -C -P -traditional
RANLIB = ranlib
</font>
</pre>