# -*- mode: makefile -*- # # Discovery # 888-processor system at Dartmouth consisting of AMD & Intel Dual # & Quad core nodes. # # http://discovery.dartmouth.edu/ # # using Intel Compilers # # # 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 = mpicxx # 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++ -L/home/schmitt/opt/szip-2.1/lib -lsz # Fortran libraries FLIBS = -L/opt/intel/Compiler/11.1/046/lib/intel64 -lifcore -lifport # MPI Libraries MPILIBS = # Machine-specific: MACHLIB = 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++ = /home/schmitt/opt-mvapich2-intel-11.1/a++p++/A++ P++ = /home/schmitt/opt-mvapich2-intel-11.1/a++p++/P++ HDF = /opt/hdf/hdf-4.2 MPI = /opt/mpich2/mvapich2-1.6-intel11.1 PVM_ROOT = /home/schmitt/opt/pvm3.4.5_64 PVM_ARCH = LINUX INTERCOMM = /home/schmitt/opt-mvapich2-intel-11.1/InterComm-1.6.latest Overture = /home/schmitt/opt/overture OpenGL = /usr/lib64 # TIEGCM requires netcdf: NETCDF = /opt/netcdf/3.6.2