# -*- mode: makefile -*- # # hilo1 # ########### # Notes: ###################################################################### # You need to do two things before you can run on STIC: # # First, setup the compilers: # # module initadd mvapich2/intel-11.1 # # 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 # Trapping flags #TRAP = -DMPICH_IGNORE_CXX_SEEK -DMPICH_SKIP_MPICXX -DH4_HAVE_NETCDF TRAP = -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/home/pschmitt/opt-mvapich2-intel-11.1/jpeg-6b/lib/ #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 MPLIBS = # 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/pschmitt/opt-mvapich2-intel-11.1/A++/install P++ = /home/pschmitt/opt-mvapich2-intel-11.1/P++/install HDF = /home/pschmitt/opt-mvapich2-intel-11.1/hdf-4.2.7 MPI = /act/mvapich2/intel PVM_ROOT = /home/pschmitt/opt-mvapich2-intel-11.1/pvm3 PVM_ARCH = LINUX64 INTERCOMM = /home/pschmitt/opt-mvapich2-intel-11.1/InterComm-1.6.6 Overture = /home/pschmitt/opt-mvapich2-intel-11.1/overture # TIEGCM requires netcdf: NETCDF = /home/pschmitt/opt-mvapich2-intel-11.1/netcdf-4.1.1