mirror of https://gitlab.com/QEF/q-e.git
40 lines
952 B
Plaintext
40 lines
952 B
Plaintext
#
|
|
# System-dependent definitions for Fujitsu VPP (contributed by Guido Roma)
|
|
# Edit according to your needs
|
|
#
|
|
# Precompiler
|
|
#
|
|
CPP = /usr/lib/cpp
|
|
#
|
|
# -DLANGUAGE_FORTRAN avoids that // is considered as a C++ comment
|
|
#
|
|
CPPFLAGS = -P -DFUJ64 -DLANGUAGE_FORTRAN -I $(OSHOME)/include
|
|
|
|
#
|
|
# Fortran compiler:
|
|
#
|
|
F90 = frt
|
|
F77 = frt
|
|
#F90FLAGS = -O4 -X9 -AU -AR -Am -Kalign9 -Kfreealloc -KA64
|
|
#F90FLAGS = -O4 -X9 -AU -AR -Am -Kalign9
|
|
F90FLAGS = -O4 -KA64 -Kfast -Knof90move -Kalign7 -Knofreealloc -Ad -AR -Am -Wv,-noalias
|
|
F77FLAGS = -g -Ad -AR -Am
|
|
#F90FLAGS = -g -Ad -AR -Am
|
|
#
|
|
# This is needed to tell the compiler where modules are
|
|
#
|
|
MODULEFLAG= -M$(OSHOME)/Modules -M$(OSHOME)/PW -M$(OSHOME)/PH
|
|
#
|
|
# Libraries:
|
|
LIBS= -L/usr/lang/lib64 -llapackvp -lblasvp -lssl2vp -L/usr/local/lib/lib64/ -lfftvp_news -lmp
|
|
|
|
#
|
|
LD=$(F90)
|
|
LDFLAGS = $(OSHOME)/flib/ptools.a $(OSHOME)/flib/flib.a $(OSHOME)/clib/clib.a $(LIBS)
|
|
#
|
|
# ar:
|
|
#
|
|
AR = ar
|
|
ARFLAGS = rv
|
|
RANLIB = echo
|