# -*- 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 = mpicxx # 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++ = /users/ps14/opt-intel-openmpi-1.4.4/A++/install P++ = /users/ps14/opt-intel-openmpi-1.4.4/P++/install HDF = /users/ps14/opt-intel-openmpi-1.4.4/HDF4.2r4 MPI = /opt/apps/openmpi/1.4.4-intel PVM_ROOT = /users/ps14/opt-intel-openmpi-1.4.4/pvm3 PVM_ARCH = LINUX64 INTERCOMM = /users/ps14/opt-intel-openmpi-1.4.4/InterComm-1.6.6 Overture = /users/ps14/opt-intel-openmpi-1.4.4/overture OpenGL = /usr/lib64 # TIEGCM requires netcdf: NETCDF = /users/ps14/opt-intel/netcdf-4.1.1