error of compilation Util/TS/TBtrans
Dear all:
I have compiled TranSIESTA-4.1-b4. when I running make in the folder Utils/TS/TBtrans returns me the following error:
>>>>>>>
>>>>>>>
Incorporating information about present compilation (compiler and flags)
make[1]: Entering directory `/public1/
mpif90 -c -O2 -fPIC -ftree-vectorize -march=native -fopenmp -I/public1/
make[1]: Leaving directory `/public1/
mpif90 -c -O2 -fPIC -ftree-vectorize -march=native -fopenmp -I/public1/
tbt_init.F90:46.6:
use m_tbt_kpoint
1
Fatal Error: Can't open module file 'm_tbt_kpoint.mod' for reading at (1): No such file or directory
make: *** [tbt_init.o] Error 1
>>>>>>>
>>>>>>>
The arch.make is posted below:
.SUFFIXES:
.SUFFIXES: .f .F .o .c .a .f90 .F90
SIESTA_ARCH = unknown
CC = gcc
FPP = $(FC) -E -P -x c
FC = mpif90
FC_SERIAL = gfortran
FFLAGS += -O2 -fPIC -ftree-vectorize -march=native
FPPFLAGS += -DMPI
FFLAGS += -fopenmp
AR = ar
ARFLAGS_EXTRA =
RANLIB = ranlib
SYS = nag
SP_KIND = 4
DP_KIND = 8
KINDS = $(SP_KIND) $(DP_KIND)
DEFS_PREFIX =
LDFLAGS =
# source files.
FCFLAGS_fixed_f =
FCFLAGS_free_f90 =
FPPFLAGS_fixed_F =
FPPFLAGS_free_F90 =
#BLAS_LIBS = -lblas
#LAPACK_LIBS = -llapack
#COMP_LIBS =
LIBS += /public1/
LIBS += -L/public1/
LIBS += -L/public1/
# This (as well as the -DMPI definition) is essential for MPI support
MPI_INTERFACE = libmpi_f90.a
MPI_INCLUDE = .
FPPFLAGS += $(DEFS_
LIBS += $(NETCDF_LIBS) $(SCALAPACK_LIBS) $(LAPACK_LIBS) $(MPI_LIBS) $(COMP_LIBS)
LIBS += -fopenmp
FFLAGS_DEBUG = -g -O0 # your appropriate flags here...
atom.o: atom.F
$(FC) -c $(FFLAGS_DEBUG) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $<
#
#---------------- Example of actual rules
.c.o:
$(CC) -c $(CFLAGS) $(INCFLAGS) $(CPPFLAGS) $<
.F.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $<
.F90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_
.f.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f) $<
.f90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90) $<
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- CentOS Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- 翟明星
- Solved:
- Last query:
- Last reply: