Compilation of Util/TS/tshs2tshs
Dear all,
I have compiled TranSIESTA-4.1-b3 with the arch.make posted below.
Running make in the folder Utils/TS/tshs2tshs/ returns me the following error:
##########
mpif90 -c -g -O0 -I/home/
/home/nico/
use siestaXC, only: atomXC ! XC for a spherical charge
1
Fatal Error: Can't open module file ‘siestaxc.mod’ for reading at (1): No such file or directory
compilation terminated.
../../.
make: *** [atom.o] Error 1
##########
Can you see what I am doing wrong?
Thanks ahead,
Nico
##########
arch.make:
.SUFFIXES:
.SUFFIXES: .f .F .o .c .a .f90 .F90
SIESTA_ARCH = compilation-
CC = gcc
FPP = $(FC) -E -P -x c
FC = mpif90
FC_SERIAL = gfortran
FFLAGS = -O2 -fPIC -ftree-vectorize -march=native
AR = ar
ARFLAGS_EXTRA =
RANLIB = ranlib
SYS = nag
SP_KIND = 4
DP_KIND = 8
KINDS = $(SP_KIND) $(DP_KIND)
DEFS_PREFIX =
LDFLAGS =
FCFLAGS_fixed_f =
FCFLAGS_free_f90 =
FPPFLAGS_fixed_F =
FPPFLAGS_free_F90 =
BLAS_LIBS = -L/home/
LAPACK_LIBS = -L/home/
FPPFLAGS = $(DEFS_
LIBS = $(NETCDF_LIBS) $(SCALAPACK_LIBS) $(BLAS_LIBS) $(LAPACK_LIBS) $(MPI_LIBS) $(COMP_LIBS)
LIBS += -lnetcdff -lnetcdf -lhdf5_fortran -lhdf5 -lz
INCFLAGS += -I/home/
LDFLAGS += -L/home/
LDFLAGS += -L/home/
LDFLAGS += -L/home/
LIBS += -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz
COMP_LIBS += libncdf.a libfdict.a
FPPFLAGS += -DCDF -DNCDF -DNCDF_4
FFLAGS_DEBUG = -g -O0 # your appropriate flags here...
atom.o: atom.F
$(FC) -c $(FFLAGS_DEBUG) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $<
.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:
- Answered
- For:
- Siesta Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Nspiller for more information if necessary.