# # This makefile is included from 'makefile'. It defines the # various machine dependent things such as compiler commands, # directories, libraries, etc. # # # FFTW directories # FFTW_DIR = /afs/msc.cornell.edu/home/arias/csanyi/fftw-2.1.2/fftw FFTW_LIB_DIR = ${FFTW_DIR}/.libs # # The matrix diagonalization libraries, object, and and compile options # (LAPACK or the in-house supplied Jacobi diagonalizer). # # MATDIAG_OBJ must be either matdiagC.o or jacobi.o # depending on which library you are going to use. # # MATDIAG_OPTS tells the system which library you will be using (i.e. # whether you're linking to lapackdiagF77.o, essldiagF77.o, or jacobi.o). # Set it to one of -DDFT_USE_LAPACK or -DDFT_USE_JACOBI # # MATDIAG_LIB_DIR is the directory where the lapack library lives # (needed if the complier can't find it automatically) # If using jacobi.o, set it to ".". # MATDIAG_OBJ = matdiagC.o MATDIAG_OPTS = -DDFT_USE_LAPACK MATDIAG_LIB_DIR = /afs/msc.cornell.edu/home/arias/csanyi/Lapack # # Our libraries: lapack, blas, FFTW, and the math library # LIBS = -L${FFTW_LIB_DIR} -L${MATDIAG_LIB_DIR} \ -llapack -llanlblas -lfftw -lm -lpthread # # Optimization options for all compilers # OPTIM_OPTS = # # Parallelization options: machine dependent ones go here, **PLUS** # # put -DDFT_THREAD to use POSIX threads (SMP) # put -DDFT_MPI to use MPI (DMP) # (you can specify both if needed) # PARALLEL_OPTS = -DDFT_THREAD # # Compiler flags for all compilers # COMPILE_OPTS = -I. -Icommands -I${FFTW_DIR} \ ${OPTIM_OPTS} ${PARALLEL_OPTS} ${MATDIAG_OPTS} # # C++ compiler and options # CPLUSPLUS = g++ CPLUSPLUSOPTS = ${COMPILE_OPTS} # # C compiler and options # CC = gcc CCOPTS = ${COMPILE_OPTS} # # F77 compiler and options # F77 = g77 F77OPTS = ${COMPILE_OPTS} # # Linking options: static/dynamic flags, etc., if any # LINKOPTS = LINKER = g77