# -*- mode: makefile -*- # # monster # 8-core (2 quad-core cpus) Intel(R) Xeon(R) CPU 5472 @ 3.00GHz at Rice U. # 26 gigs of RAM # SUSE Linux Enterprise Desktop 10_SP2 64-bit OS # # Using Intel Fortran compiler (10.1.017), # gcc/g++ (4.1.2) C/C++ compilers, # and OpenMPI 1.3 MPI implementation # # 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 = gcc # C++ compiler CXX = g++ # 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 -P # 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 # Trapping flags TRAP = -DMPICH_IGNORE_CXX_SEEK -DMPICH_SKIP_MPICXX -DH4_HAVE_NETCDF #TRAP += -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 = -L/usr/lib64 -lstdc++ # Fortran libraries FLIBS = -L/opt/intel/Compiler/11.1/064/lib/intel64 -lifcore -lifport -lsvml -ldl # MPI Libraries MPILIBS = -L/opt/openmpi/lib -lmpi_f77 # Machine-specific libraries: MACHLIB = # TIEGCM-specific TIEGCM_FFLAGS = -r8 -heap-arrays TIEGCM_LDFLAGS = # 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++ = /opt/cism/A++ P++ = /opt/cism/P++ HDF = /opt/cism/hdf MPI = /opt/openmpi PVM_ROOT = /opt/cism/pvm3 PVM_ARCH = LINUX64 INTERCOMM = /opt/cism Overture = /opt/cism/overture #XLIBS = /usr/X11R6 OpenGL = /usr #MOTIF = /p63/cmit2/pschmitt/opt-intel/motif #PERL = /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE # TIEGCM requires netcdf: NETCDF = /opt/netcdf/3.6.1-intel-9.1