quantum-espresso/install/Make.alphaMPI

61 lines
1.4 KiB
Plaintext

#
# System-dependent definitions for HP/COMPAQ alpha parallel machines
# (contributed by Guido Roma). Edit according to your needs
#
# Use fft routines from the dxml or cxml library:
# CPPFLAGS = -D__ALPHA -D__PARA -D__MPI -DDXML -I$(OSHOME)/include
# Use precompiled fftw library (version <= 2.1.5, NOT v.3!)
#
# In this case, specify also how to load the fftw library (FFTW_LIB)
# and the path to the fftw.h include file (FFTW_INC_DIR). Example:
# FFTW_LIB=-L/usr/local/src/fftw-2.1.3/fftw/.libs -lfftw
# FFTW_INC_DIR=/usr/local/src/fftw-2.1.3/fftw
# CPPFLAGS = -D__ALPHA -D__PARA -D__MPI -D__FFTW \
# -I$(OSHOME)/include -I$(FFTW_INC_DIR)
# Use the local copy of fftw
#
CPPFLAGS = -D__ALPHA -D__PARA -D__MPI -D__FFTW -D__USE_INTERNAL_FFTW \
-I$(OSHOME)/include -I./
#
# Fortran compiler:
#
F90 = f90
F77 = f90
CC = cc
#
# Fortran options:
#
FFLAGS = -O -fpe0 -real_size 64 -align dcommons -align records
# Flags for FPMD
# FFLAGS = -double_size 64 -fpconstant -real_size 64 -fast \
# -math_library fast -tune ev68
#
F77FLAGS = $(FFLAGS)
F90FLAGS = $(FFLAGS) -free -cpp $(CPPFLAGS)
CCFLAGS = -O $(CPPFLAGS)
#
# This is needed to tell the compiler where modules are
#
MODULEFLAG= -I$(OSHOME)/Modules -I$(OSHOME)/PW -I$(OSHOME)/PH
#
# Libraries (mpi + cxml + fftw) :
#
LIBS = -lfmpi -lpmpi -lmpi -lelan -lcxml $(FFTW_LIB)
#
# Loader:
#
LD=$(F90)
LDFLAGS = $(OSHOME)/flib/ptools.a $(OSHOME)/flib/flib.a $(OSHOME)/clib/clib.a $(LIBS)
AR = ar
ARFLAGS = rv