<html><body><div style="color:#000; background-color:#fff; font-family:新宋体, nsimsun, sans-serif;font-size:14pt"><div style="font-family: 新宋体, nsimsun, sans-serif; font-size: 14pt; ">Dear xxx,</div><div style="font-family: 新宋体, nsimsun, sans-serif; font-size: 14pt; ">Please try this one. Modify according your computer system.</div><div style="font-family: 新宋体, nsimsun, sans-serif; font-size: 14pt; ">It works for me every time. Hope it can helps. I used ifort11,</div><div style="font-family: 新宋体, nsimsun, sans-serif; font-size: 14pt; ">mkl, openmpi, and fftw322.</div><div style="font-family: 新宋体, nsimsun, sans-serif; font-size: 14pt; "><br></div><div style="font-family: 新宋体, nsimsun, sans-serif; font-size: 19px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; ">regards,</div><div style="font-family: 新宋体, nsimsun, sans-serif; font-size: 19px; color: rgb(0, 0, 0); background-color:
 transparent; font-style: normal; "><br></div><div style="font-family: 新宋体, nsimsun, sans-serif; font-size: 19px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; ">--------------------------</div><div style="background-color: transparent; "><div style="background-color: transparent; "><span style="font-size: 19px;">INTEL_INC=**/intel/composer_xe_2011_sp1.7.256/mkl/include</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">FFTW3_INC=**/fftw322/include</span></div><div style="background-color: transparent; "><span style="font-size: 19px;"><br></span></div><div style="background-color: transparent; "><span style="font-size: 19px;">CC       = icc</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">CPP      = cpp</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">FC       =
 mpif90 -FR</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">#FC_fixed = mpif90 -FI</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">LD       = mpif90  -i_dynamic -openmp</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">AR       = ar -r</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">DFLAGS   = -D__INTEL -D__parallel -D__BLACS -D__SCALAPACK -D__FFTW3 -D__FFTSG</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">CPPFLAGS = -C -traditional $(DFLAGS) -I$(INTEL_INC)</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">FCFLAGS = $(DFLAGS) -I$(INTEL_INC) -I$(FFTW3_INC) -O2 -xW -heap-arrays 64 -funroll-loops -fpp -free</span></div><div style="background-color: transparent; "><span style="font-size:
 19px;">FCFLAGS2 = $(DFLAGS) -I$(INTEL_INC) -I$(FFTW3_INC) -O1 -xW -heap-arrays 64 -funroll-loops -fpp -free</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">LDFLAGS  = $(FCFLAGS) -L$(HOME)/lib -L/**/intel/mkl/lib/intel64</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">LIBS     = -L/home-gg/compiler/intel/mkl/lib/intel64 -Wl,--start-group -lmkl_intel_lp64 -lmkl_blacs_openmpi_lp64 -lmkl_scalapack_lp64 \</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">-lmkl_intel_thread -lmkl_core -Wl,--end-group -lm -lpthread -liomp5 -openmp -lstdc++\</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">**/libfftw3.a \</span></div><div style="background-color: transparent; "><span style="font-size: 19px;">**/libderiv.a \</span></div><div style="background-color: transparent; "><span style="font-size:
 19px;">**/libint.a</span></div><div style="color: rgb(0, 0, 0); font-family: 新宋体, nsimsun, sans-serif; font-size: 19px; font-style: normal; background-color: transparent; "><br></div><div style="color: rgb(0, 0, 0); font-family: 新宋体, nsimsun, sans-serif; font-size: 19px; font-style: normal; background-color: transparent; ">--------------------------------------</div><div style="color: rgb(0, 0, 0); font-family: 新宋体, nsimsun, sans-serif; font-size: 19px; font-style: normal; background-color: transparent; "><br></div></div><div style="font-family: 新宋体, nsimsun, sans-serif; font-size: 14pt; "><br></div>  </div></body></html>