Skip to content

Instantly share code, notes, and snippets.

@mjhsieh
Created November 14, 2010 08:40
Show Gist options
  • Save mjhsieh/676014 to your computer and use it in GitHub Desktop.
Save mjhsieh/676014 to your computer and use it in GitHub Desktop.
One of my working config.h for pmemd.amba with MPI
IFORT_RPATH = /opt/intel/fce/10.1.025/lib:/opt/intel/cce/10.1.025/lib
#MATH_DEFINES = -DMKL
#MATH_LIBS = -L/opt/intel/mkl/10.2.0.013/lib/em64t \
# -lmkl_core -lmkl_intel_lp64 -lmkl_sequential
FFT_INCLUDEDIR =
FFT_LIBDIR =
FFT_DEFINES = -DPUBFFT
FFT_INCLUDE =
FFT_LIBS =
NETCDF_HOME =
NETCDF_DEFINES =
NETCDF_MOD =
NETCDF_LIBS =
MPI_HOME = /apps/rhel5/mpich2-1.2/64/nemesis-intel-10.1.025
MPI_DEFINES = -DMPI -DSLOW_NONBLOCKING_MPI
MPI_INCLUDE = -I$(MPI_HOME)/include
MPI_LIBDIR = $(MPI_HOME)/lib
MPI_LIBS = -L$(MPI_LIBDIR) -lmpich -lrt -lpthread
DIRFRC_DEFINES = -DDIRFRC_EFS -DDIRFRC_COMTRANS -DDIRFRC_NOVEC
CPP = /lib/cpp
CPPFLAGS = -traditional -P -DAMOEBA
F90_DEFINES = -DFFTLOADBAL_2PROC
F90 = ifort
MODULE_SUFFIX = mod
F90FLAGS = -c -auto
F90_OPT_DBG = -g -traceback
F90_OPT_LO = -O0
F90_OPT_MED = -O1
F90_OPT_HI = -axSTP -O2
F90_OPT_DFLT = $(F90_OPT_HI)
CC = gcc
CFLAGS =
LOAD = ifort
LOADFLAGS =
LOADLIBS = -limf -lsvml -Wl,-rpath=$(IFORT_RPATH)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment