quantum-espresso/install
Paolo Giannozzi cdb1f4dbe0 Version number moved to 7.4 upon popular request 2024-10-16 18:20:43 +02:00
..
m4 Fixing EPW compilation 2024-09-20 20:28:15 +00:00
README.FX10 Added make.inc for Fujitsu FX10: added option -x dir for cvray (prevents 2017-11-10 15:12:41 +00:00
aclocal.m4 fix: fix typo in x_ac_qe_fft 2023-08-23 16:05:08 +02:00
addsonpatch.sh make.sys => make.inc. All other codes using make.sys should modify their build 2016-06-25 07:26:50 +00:00
addsontool.sh make.sys => make.inc. All other codes using make.sys should modify their build 2016-06-25 07:26:50 +00:00
build_fox_with_pgi.sh [skip-CI] Added reminder on the usefulness (or lack thereof) of script 2020-11-24 14:41:18 +00:00
config.guess Align KCW and PP to the latest QE version 2022-03-04 15:06:39 +00:00
config.sub Align KCW and PP to the latest QE version 2022-03-04 15:06:39 +00:00
configure Version number moved to 7.4 upon popular request 2024-10-16 18:20:43 +02:00
configure.ac Version number moved to 7.4 upon popular request 2024-10-16 18:20:43 +02:00
configure.msg.in 1) Added ./configure options to compile and link with libxc: 2019-02-12 10:10:11 +01:00
extlibs_makefile Lapack usage simplified 2022-03-23 10:09:25 +01:00
includedep.sh Align KCW and PP to the latest QE version 2022-03-04 15:06:39 +00:00
install-sh added autoconf-based configure (file "configure.new") and related files 2003-11-13 13:35:10 +00:00
install_utils Align KCW and PP to the latest QE version 2022-03-04 15:06:39 +00:00
make.inc.in Updated 2024-06-13 21:38:30 +02:00
make_lapack.inc.in In the HP postprocessing routine added some explanations 2020-11-18 16:29:39 +00:00
make_wannier90.inc.in Try to avoid full path in make.inc in LAPACK_LIBS and BLAS_LIBS. Helps avoiding 2016-09-11 15:03:08 +00:00
makedeps.sh EPWv5.9 2024-09-15 16:41:41 +00:00
moduledep.sh EPWv5.9 2024-09-15 16:41:41 +00:00
namedep.sh Obscure line present in all examples replaced with a much simpler one. 2022-09-03 11:53:33 +02:00
plugins_list [skip-CI] no need any longer to have Wannier90 listed among "plugin" 2023-05-26 22:26:53 +02:00
plugins_makefile [skip-CI] Wannier90 executables are again created by "make w90" 2024-02-02 11:18:45 +01:00
refresh-configure.sh Refresh configure 2017-02-24 09:34:51 +00:00

README.FX10

The following is tha "make.inc" file for Fujitsu FX10, a commercial version
of the "K" supercomputer. Mitsuaki Kawamura, March 2017

# make.inc.  Generated from make.inc.in by configure.

# compilation rules

.SUFFIXES :
.SUFFIXES : .o .c .f .f90

# most fortran compilers can directly preprocess c-like directives: use
# 	$(MPIF90) $(F90FLAGS) -c $<
# if explicit preprocessing by the C preprocessor is needed, use:
# 	$(CPP) $(CPPFLAGS) $< -o $*.F90
#	$(MPIF90) $(F90FLAGS) -c $*.F90 -o $*.o
# remember the tabulator in the first column !!!

.f90.o:
	$(MPIF90) $(F90FLAGS) -c $<

# .f.o and .c.o: do not modify

.f.o:
	$(F77) $(FFLAGS) -c $<

.c.o:
	$(CC) $(CFLAGS)  -c $<



# Top QE directory, useful for locating libraries,  linking QE with plugins
# The following syntax should always point to TOPDIR:
TOPDIR = $(dir $(abspath $(filter %make.inc,$(MAKEFILE_LIST))))
# if it doesn't work, uncomment the following line (edit if needed):

# TOPDIR = 

# DFLAGS  = precompilation options (possible arguments to -D and -U)
#           used by the C compiler and preprocessor
# FDFLAGS = as DFLAGS, for the f90 compiler
# See include/defs.h.README for a list of options and their meaning
# With the exception of IBM xlf, FDFLAGS = $(DFLAGS)
# For IBM xlf, FDFLAGS is the same as DFLAGS with separating commas

# MANUAL_DFLAGS  = additional precompilation option(s), if desired
#                  BEWARE: it does not work for IBM xlf! Manually edit FDFLAGS
MANUAL_DFLAGS  =
DFLAGS         =  -D__FFTW3 -D__MPI -D__PARA -D__SCALAPACK
FDFLAGS        = $(DFLAGS) $(MANUAL_DFLAGS)

# IFLAGS = how to locate directories with *.h or *.f90 file to be included
#          typically -I../include -I/some/other/directory/
#          the latter contains .e.g. files needed by FFT libraries

IFLAGS         = -I$(TOPDIR)/include -I../include/

# MOD_FLAGS = flag used by f90 compiler to locate modules
# Each Makefile defines the list of needed modules in MODFLAGS

MOD_FLAG      = -I

# Compilers: fortran-90, fortran-77, C
# If a parallel compilation is desired, MPIF90 should be a fortran-90
# compiler that produces executables for parallel execution using MPI
# (such as for instance mpif90, mpf90, mpxlf90,...);
# otherwise, an ordinary fortran-90 compiler (f90, g95, xlf90, ifort,...)
# If you have a parallel machine but no suitable candidate for MPIF90,
# try to specify the directory containing "mpif.h" in IFLAGS
# and to specify the location of MPI libraries in MPI_LIBS

MPIF90         = mpifrtpx
#F90           = frtpx
CC             = fccpx
F77            = frtpx

# C preprocessor and preprocessing flags - for explicit preprocessing,
# if needed (see the compilation rules above)
# preprocessing flags must include DFLAGS and IFLAGS

CPP            = fccpx
CPPFLAGS       = -P $(DFLAGS) $(IFLAGS)

# compiler flags: C, F90, F77
# C flags must include DFLAGS and IFLAGS
# F90 flags must include MODFLAGS, IFLAGS, and FDFLAGS with appropriate syntax

CFLAGS         = -O3 $(DFLAGS) $(IFLAGS)
F90FLAGS       = $(FFLAGS) -Cpp $(FDFLAGS) $(IFLAGS) $(MODFLAGS)
FFLAGS         = -Kfast -g -Ksimd=2 -Kprefetch_indirect -KXFILL #-Nquickdbg

# compiler flags without optimization for fortran-77
# the latter is NEEDED to properly compile dlamch.f, used by lapack

FFLAGS_NOOPT   = -O0 -g

# compiler flag needed by some compilers when the main program is not fortran
# Currently used for Yambo

FFLAGS_NOMAIN   = 

# Linker, linker-specific flags (if any)
# Typically LD coincides with F90 or MPIF90, LD_LIBS is empty

LD             = mpifrtpx
LDFLAGS        = -g
LD_LIBS        = 

# External Libraries (if any) : blas, lapack, fft, MPI

# If you have nothing better, use the local copy :
# BLAS_LIBS = /your/path/to/espresso/BLAS/blas.a
# BLAS_LIBS_SWITCH = internal

BLAS_LIBS      = -KSPARC64IXfx -SSL2BLAMP
BLAS_LIBS_SWITCH = external

# If you have nothing better, use the local copy :
# LAPACK_LIBS = /your/path/to/espresso/lapack-3.2/lapack.a
# LAPACK_LIBS_SWITCH = internal
# For IBM machines with essl (-D__ESSL): load essl BEFORE lapack !
# remember that LAPACK_LIBS precedes BLAS_LIBS in loading order

LAPACK_LIBS    = 
LAPACK_LIBS_SWITCH = external

ELPA_LIBS_SWITCH = disabled
SCALAPACK_LIBS = -SCALAPACK

# nothing needed here if the the internal copy of FFTW is compiled
# (needs -D__FFTW in DFLAGS)

FFT_LIBS       = -lfftw3

# HDF5 -- experimental
HFD5_LIB = 

# For parallel execution, the correct path to MPI libraries must
# be specified in MPI_LIBS (except for IBM if you use mpxlf)

MPI_LIBS       = 

# IBM-specific: MASS libraries, if available and if -D__MASS is defined in FDFLAGS

MASS_LIBS      = 

# ar command and flags - for most architectures: AR = ar, ARFLAGS = ruv

AR             = ar
ARFLAGS        = ruv

# ranlib command. If ranlib is not needed (it isn't in most cases) use
# RANLIB = echo

RANLIB         = ranlib

# all internal and external libraries - do not modify

FLIB_TARGETS   = all

LIBOBJS        = $(TOPDIR)/clib/clib.a $(TOPDIR)/iotk/src/libiotk.a
LIBS           = $(SCALAPACK_LIBS) $(LAPACK_LIBS) $(FFT_LIBS) $(BLAS_LIBS) $(MPI_LIBS) $(MASS_LIBS) ${HFD5_LIB} $(LD_LIBS)

# wget or curl - useful to download from network
WGET = wget -O

# Install directory - not currently used
PREFIX = /usr/local