<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 @@
         &quot;LDFLAGS = -O3&quot; \
         &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
 
-ifort:
+hpc:
         ( make all \
         &quot;FC = mpif90&quot; \
-        &quot;CC = gcc&quot; \
+        &quot;CC = icc&quot; \
         &quot;SFC = ifort&quot; \
+        &quot;SCC = icc&quot; \
+        &quot;FFLAGS = -real-size 64 -O3&quot; \
+        &quot;CFLAGS = -O3 -m64&quot; \
+        &quot;LDFLAGS = -O3 -L$MKLPATH -I$MKLINCLUDE -I$MKLPATH -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core&quot; \
+        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; \
+        &quot;NETCDF = /opt/netcdf-4.0/intel&quot;)
+
+hpcs:
+        ( make all \
+        &quot;FC = ifort&quot; \
+        &quot;CC = icc&quot; \
+        &quot;SFC = ifort&quot; \
+        &quot;SCC = icc&quot; \
+        &quot;FFLAGS = -O3 -real-size 64 &quot; \
+        &quot;CFLAGS = -O3 -m64&quot; \
+        &quot;LDFLAGS = -O3 -L$MKLPATH -I$MKLINCLUDE -I$MKLPATH -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core&quot; \
+        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; \
+        &quot;NETCDF = /opt/netcdf-4.0/intel&quot;)
+
+cyclonep:
+        ( make all \
+        &quot;FC = /home/qchen/Documents/mylib/openmpi-1.3.3/bin/mpif90&quot; \
+        &quot;CC = /home/qchen/Documents/mylib/openmpi-1.3.3/bin/mpicc&quot; \
+        &quot;SFC = ifort&quot; \
         &quot;SCC = gcc&quot; \
         &quot;FFLAGS = -real-size 64 -O3&quot; \
         &quot;CFLAGS = -O3 -m64&quot; \
         &quot;LDFLAGS = -O3 -L$MKLPATH -I$MKLINCLUDE -I$MKLPATH -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core&quot; \
-        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
+        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
 
+cyclones:
+        ( make all \
+        &quot;FC = gfortran&quot; \
+        &quot;CC = gcc&quot; \
+        &quot;SFC = gfortran&quot; \
+        &quot;SCC = gcc&quot; \
+        &quot;FFLAGS = -O3 -m64 -ffree-line-length-0&quot; \
+        &quot;CFLAGS = -O3 -m64&quot; \
+        &quot;LDFLAGS = -O3 -m64&quot; \
+        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; \
+        &quot;CPPINCLUDES = -I../inc -I/usr/include&quot; \
+        &quot;FCINCLUDES = -I../inc -I/usr/include&quot; \
+        &quot;LIBS = -L/usr/lib -lnetcdf -lnetcdff -lblas -llapack&quot; )
+
+
 gfortran:
         ( make all \
         &quot;FC = mpif90&quot; \
@@ -64,12 +103,51 @@
         &quot;LDFLAGS = -O3 -m64&quot; \
         &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
 
+snowiep:
+        ( make all \
+        &quot;FC = /opt/intel/openmpi-1.4.2/bin/mpif90&quot; \
+        &quot;CC = /opt/intel/openmpi-1.4.2/bin/mpicc&quot; \
+        &quot;SFC = ifort&quot; \
+        &quot;SCC = icc&quot; \
+        &quot;FFLAGS = -O3 -m64&quot; \
+        &quot;CFLAGS = -O3 -m64&quot; \
+        &quot;LDFLAGS = -O3 -m64 -I$(MKLINCLUDE) -I$(MKLPATH) -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core&quot; \
+        &quot;NETCDF = /opt/intel/netcdf4&quot; \
+        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -D_MPI -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
 
+snowieg:
+        ( make all \
+        &quot;FC = gfortran&quot; \
+        &quot;CC = gcc&quot; \
+        &quot;SFC = gfortran&quot; \
+        &quot;SCC = gcc&quot; \
+        &quot;FFLAGS = -O3 -m64 -ffree-line-length-none&quot; \
+        &quot;CFLAGS = -O3 -m64&quot; \
+        &quot;LDFLAGS = -O3 -m64&quot; \
+        &quot;NETCDF = /opt/local&quot; \
+        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
 
+snowies:
+        ( make all \
+        &quot;FC = ifort&quot; \
+        &quot;CC = icc&quot; \
+        &quot;SFC = ifort&quot; \
+        &quot;SCC = icc&quot; \
+        &quot;FFLAGS = -O3 -real-size 64&quot; \
+        &quot;CFLAGS = -O3 -m64&quot; \
+        &quot;LDFLAGS = -O3 -I$(MKLINCLUDE) -I$(MKLPATH) -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core&quot; \
+        &quot;NETCDF = /opt/intel/netcdf4&quot; \
+        &quot;CPPFLAGS = -DRKIND=8 $(MODEL_FORMULATION) $(EXPAND_LEVELS) -DUNDERSCORE -m64 $(FILE_OFFSET) $(ZOLTAN_DEFINE)&quot; )
+
+
+
 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>