1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
AR = ar
ARFLAGS = cr
#If your system does not have ranlib, then replace next statement with
#RANLIB = echo
RANLIB = ranlib
CC = gcc
CLD = $(CC)
# Set f77 to echo if you do not have a FORTRAN compiler
F77 = g77
#F77 = echo
F77LD = $(F77)
FFXN = -DAdd__
FSUFFIX = F
MPIF77 = mpif77
MPICC = mpicc
# To use MPI, set the MPIDIR to location of mpi library, and MPILIB
# to name of mpi library. Remove # signs from beginning of next 3 lines.
# Also, if the previous compilation was without MPI, type: make realclean
# before compiling for mpi.
#
MPIDIR = -L/usr/local/mpi/build/LINUX/ch_p4/lib
MPILIB = -lmpich
# Please include mpi header file path, if needed
CFLAGS = -O3 -DLittleEndian $(PMLCGDEF) $(MPIDEF) -D$(PLAT) -I/usr/local/mpi/include -I/usr/local/mpi/build/LINUX/ch_p4/include
CLDFLAGS = -O3
FFLAGS = -O3 $(PMLCGDEF) $(MPIDEF) -D$(PLAT) -I/usr/local/mpi/include -I/usr/local/mpi/build/LINUX/ch_p4/include -I.
F77LDFLAGS = -O3
CPP = cpp -P
|