mirror of https://gitlab.com/QEF/q-e.git
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
# System-dependent definitions for Hitachi SR8000
|
|
# contributed by Noejung Park
|
|
#
|
|
# 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 = -DHITACHI -D__PARA -D__MPI -D__FFTW
|
|
|
|
# Use the local copy of fftw
|
|
|
|
CPPFLAGS = -DHITACHI -D__PARA -D__MPI -D__FFTW -D__USE_INTERNAL_FFTW
|
|
#
|
|
# Fortran compiler:
|
|
#
|
|
F90 = f90
|
|
F77 = f77
|
|
CC = cc
|
|
FFLAGS = -O4 -32 -noparallel -precexp=basic -conti199 -nosaveallocate \
|
|
-I$(OSHOME)/include -I/usr/mpi/include
|
|
F77FLAGS = $(FFLAGS)
|
|
F90FLAGS = $(FFLAGS) $(CPPFLAGS)
|
|
CCFLAGS = -D__FFTW -I$(FFTW_INC_DIR)
|
|
#
|
|
# This is needed to tell the compiler where modules are
|
|
#
|
|
MODULEFLAG = -I$(OSHOME)/Modules -I$(OSHOME)/PW/ -I$(OSHOME)/PH/
|
|
#
|
|
# Libraries:
|
|
LAPACKdir = /usr/lib/LAPACK/lib32
|
|
MPIdir = /usr/mpi/lib/lib32
|
|
LIBS= -L$(LAPACKdir) -llapack_sc -lblas_sc \
|
|
-L$(MPIdir) -lfmpi -lmpi $(FFTW_LIB) -lm
|
|
|
|
#
|
|
LD=$(F90)
|
|
LDFLAGS = $(OSHOME)/flib/ptools.a $(OSHOME)/flib/flib.a $(OSHOME)/clib/clib.a $(LIBS)
|
|
#
|
|
# ar:
|
|
#
|
|
AR = ar
|
|
ARFLAGS = rv
|