# Use Intel's ifort + MKL # Be sure to compile arpack-ng with the same ifort + MKL. #------------------------------------------------------------------------- # MPI+ifort compiler F90 = mpif90 LINKER = $(F90) ARCHIVER = ar -ruv #------------------------------------------------------------------------- CPP = -fpp CHECK = -warn all #-check all,noarg_temp_created -traceback -g CDUMP = -nogen-interfaces LEVEL = -O2 -fPIC #------------------------------------------------------------------------- FFLAGS = -c $(CPP) $(CHECK) $(CDUMP) $(LEVEL) #------------------------------------------------------------------------- LIBS = -L${MKLROOT}/lib/intel64 -mkl -L/opt/lib/parpack/ -lparpack -L/opt/lib/arpack/ -larpack F2PY = f2py F2PYC = $(F90) F2PYL = $(LIBS) F2PYFLAGS = --fcompiler=intelem --f90exec=$(F90) --opt='-O3'