# # # ########################################################################### # Global variable defines for the AASPI software # AASPI root directory LINUX_AASPI_DIRECTORY = ../../../ ########################################################################### AASPI_64_BIT = y BUILD_SHARED_LIB = n CC_32= gcc -m32 CXX_32= g++ -m32 F90_32= ifort32 CC_64= gcc -m64 CXX_64= g++ -m64 # this is the compiler we use at OU on our 10th floor Linux boxes #F90_64= ifort64 # this is the intel compiler we use at OU on our 10th floor Linux boxes F90_64= ifort # this is the intel compiler we use at OU on our 10th floor Linux boxes #----------------------------------------------------------------------------------- # here are example compilers at another installation using very large LSF systems # you may need to set your path correctly in your .bashrc to see these compilers! # one sponsor has a line like this at the end of their .bashrc: # alias intel_compilers='. /apps/3rdparty/intel/icsxe/composerxe/bin/compilervars.sh intel64;. /apps/3rdparty/intel/impi/4.1.3.049-lsf-aware/bin64/mpivars.sh' #----------------------------------------------------------------------------------- # these compilers will also need their own MPI libraries and include files (see example below) # CXX_64= mpiicpc # F90_64= mpiifort #----------------------------------------------------------------------------------- ifeq ($(AASPI_64_BIT),y) CC= $(CC_64) CXX= $(CXX_64) F90= $(F90_64) EXECUTABLE_DIRECTORY = ${LINUX_AASPI_DIRECTORY}/bin64 AASPI_LIB_DIR=$(LINUX_AASPI_DIRECTORY)/lib64 AASPI_INCLUDE_DIR=$(LINUX_AASPI_DIRECTORY)/include64 F90_MODULE_DIR=$(LINUX_AASPI_DIRECTORY)/include64 else CC= $(CC_32) CXX= $(CXX_32) F90= $(F90_32) EXECUTABLE_DIRECTORY = ${LINUX_AASPI_DIRECTORY}/bin AASPI_LIB_DIR=$(LINUX_AASPI_DIRECTORY)/lib AASPI_INCLUDE_DIR=$(LINUX_AASPI_DIRECTORY)/include F90_MODULE_DIR=$(LINUX_AASPI_DIRECTORY)/include endif CFLAGS= CXXFLAGS= F90FLAGS= INCLUDES= LIBS= -lirc LDFLAGS= LDSHARED_FLAGS= -Bdynamic -shared ########################################################################### # External software dependencies ########################################################################### ifeq ($(AASPI_64_BIT),y) # MPI 64bit #--------------------------------------------------------------------------- # these are the MPI_INCLUDES and MPI_LIBS on the OU 10th floor Linux System #--------------------------------------------------------------------------- MPI_INCLUDES= -I${LINUX_AASPI_DIRECTORY}/ext_lib64/openmpi/include MPI_LIBS= -L${LINUX_AASPI_DIRECTORY}/ext_lib64/openmpi/lib -lnsl -lmpi_f90 -lmpi_f77 -lmpi #--------------------------------------------------------------------------- # other installations with using mpiifort and mpiicpc compilers may need the following includes and libraries instead # the other libararies (nsl,mpi_f90, mpi_f77, and mpi) are automatically included by the mpi compilers #--------------------------------------------------------------------------- # MPI_INCLUDES= -IMPI_INCLUDES= -I${I_MPI_ROOT}/include64 # MPI_LIBS= -L${I_MPI_ROOT}/lib64 -lmpi #--------------------------------------------------------------------------- # FFTW 64bit FFTW_INCLUDES= -I${LINUX_AASPI_DIRECTORY}/ext_lib64/fftw3/include FFTW_LIBS= -L${LINUX_AASPI_DIRECTORY}/ext_lib64/fftw3/lib -lfftw3f -limf -lm -lirc # LAPACK 64bit LAPACK_INCLUDES= LAPACK_LIBS= -llapack -lblas # FOX Toolkit GUI_INCLUDES= -I${LINUX_AASPI_DIRECTORY}/ext_lib64/fox-1.6/include/fox-1.6 GUI_LIBS= -L${LINUX_AASPI_DIRECTORY}/ext_lib64/fox-1.6/lib -lFOX-1.6 -lm else # MPI 32bit MPI_INCLUDES= -I${LINUX_AASPI_DIRECTORY}/ext_lib/openmpi/include MPI_LIBS= -L${LINUX_AASPI_DIRECTORY}/ext_lib/openmpi/lib \ -lnsl -lmpi_f90 -lmpi_f77 -lmpi # FFTW 32bit FFTW_INCLUDES= -I${LINUX_AASPI_DIRECTORY}/ext_lib/fftw3/include FFTW_LIBS= -L${LINUX_AASPI_DIRECTORY}/ext_lib/fftw3/lib -lfftw3f -lm # LAPACK 32bit LAPACK_INCLUDES= LAPACK_LIBS= -llapack -lblas # FOX Toolkit 32bit GUI_INCLUDES= -I${LINUX_AASPI_DIRECTORY}/ext_lib/fox-1.6/include/fox-1.6 GUI_LIBS= -L${LINUX_AASPI_DIRECTORY}/ext_lib/fox-1.6/lib -lFOX-1.6 -lm endif