# -*- mode: makefile -*- # # STIC: Shared Tightly Integrated Clust # 720-processor system: 90 nodes, each armed with two quad core 2.4 # GHz Intel Xeon (Nahalem) CPUs with 8 MB cache at Rice University # # http://rcsg.rice.edu/stic/ # # using Intel Compilers # ########### # Notes: ###################################################################### # You need to do two things before you can run on STIC: # # First, setup the compilers: # # module initadd mvapich/1.1-intel # # Then you must setup passwordless SSH by following the instructions at: # http://rcsg.rice.edu/rcsg/shared/passwordless_ssh.html # # NOTE: STIC policy mandates that you run in "/shared.scratch". Find # more on disk quotas here: # # http://rcsg.rice.edu/stic/docs/intro.html#QUOTA # ################################################################################ # # Compilers # # MPI C Compiler MPICC = mpicc # MPI C++ Compiler MPICXX = mpiCC # MPI F90 Compiler MPIF90 = mpif90 # MPI F77 Compiler MPIF77 = mpif90 # F90 Compiler F90 = ifort # F77 Compiler F77 = ifort # F90 compiler used for unit testing with funit FC = ${F90} # C Compiler CC = icc # C++ compiler CXX = icpc # C Preprocessor # note: It's easier to use gnu c preprocessor (cpp) than to muck around with # using the portland group preprocessor since the portland # preprocessor commands require different formatting than cpp. CPP = /usr/bin/cpp -Ptrap # Archive command (for making static libraries): AR = ar # # Compiler flags # #Cross language flag CROSS = -DLC_UNSC # Arch flag (IBM,T3E,NULL) ARCH = -DNULL # Optimtization Level OPTLVL = -O2 #OPTLVL = -g # Trapping flags #TRAP = -DMPICH_IGNORE_CXX_SEEK -DMPICH_SKIP_MPICXX -DH4_HAVE_NETCDF TRAP = -DH4_HAVE_NETCDF #TRAP += -heap-arrays -debug full -traceback -check bounds -check format -check output_conversion -check pointers -check uninit # Machine specific opts MACHOPT = -w # Extra compiler flags EXTRA_C_FLAGS = -DPT8BYTE EXTRA_F_FLAGS = # Extra system-specific libraries required EXTRA_LIBS = #EXTRA_LIBS = -L/usr/lib64 -lstdc++ # Fortran libraries FLIBS = -lifcore -lifport #FLIBS = -L/opt/intel/Compiler/11.1/046/lib/intel64 -lifcore -lifport # MPI Libraries MPILIBS = -lmpi_f77 # Machine-specific libraries: MACHLIB = # TIEGCM-specific TIEGCM_FFLAGS = -r8 -heap-arrays TIEGCM_LDFLAGS = -lcurl # common/src/geopack.F ***requires*** 8-byte reals in order to work with CMIT. # This is a compiler-dependent flag! GEOPACK_FFLAGS = -r8 # # External Library information # A++ = /home/wiltbemj/opt-intel-openmpi/A++/install P++ = /home/wiltbemj/opt-intel-openmpi/P++/install HDF = /home/wiltbemj/opt-intel-openmpi/ MPI = /curc/tools/free/redhat_5_x86_64/openmpi-1.4.3_ics-2011.0.013_torque-2.5.8_ib/ PVM_ROOT = /home/wiltbemj/opt-intel-openmpi/pvm3 PVM_ARCH = LINUX64 INTERCOMM = /home/wiltbemj/opt-intel-openmpi/ Overture = /home/wiltbemj/opt-intel-openmpi/overture OpenGL = /usr/lib64 # TIEGCM requires netcdf: NETCDF = /curc/tools/free/redhat_5_x86_64/netcdf-4.1.3_ics-2011.0.013_hdf-4.2.6_hdf5-1.8.7_openmpi-1.4.3_torque-2.5.8_ib/