Dear all,
I am trying to compile parallel SIESTA 2, this is proving somewhat
difficult. I am getting an error message that I dont understand, see below
for my arch.make and the error msg. Any help in understanding this would be
greatly appreciated.
Thank you very much,
Paul.
My arch.make file:
.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90
SIESTA_ARCH=x86_64-unknown-linux-gnu--Intel
FC=mpif90
FFLAGS= -O -mp1 # -ftz -fpe3
FPPFLAGS= -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
TRANSPORTFLAGS= -O -mp1 -ftz -c -fpe3
#COMP_LIBS=dc_lapack.a
MPI_HOME=/opt/mpich125rsh
MPI_LIB=$(MPI_HOME)/lib
MPI_INTERFACE=$(MPI_HOME)/lib/libmpichf90.a
MPI_INCLUDE=$(MPI_HOME)/include
DEFS_MPI=-DMPI
BLACS=/usr/local/ACML_Collection/acml3.1/pathscale64/lib/libblacsCinit.a
/usr/local/ACML_Collection/acml3.1/pathscale64/lib/libblacsF77init.a
/usr/local/ACML_Collection/acml3.1/pathscale64/lib/libblacs.a
SCALAPACK=/usr/local/ACML_Collection/acml3.1/pathscale64/lib/libscalapack.a
LAPACK=/usr/local/ACML_Collection/acml3.1/pathscale64/lib/libacml.a
BLAS=/usr/local/ACML_Collection/acml3.1/pathscale64/lib/libacml.a
LIBS=-L$(SCALAPACK) $(LAPACK) $(BLAS) $(BLACS)
RANLIB=ranlib
SYS=nag
DEFS= $(DEFS_CDF) $(DEFS_MPI)
DEFS= $(DEFS_CDF) $(DEFS_MPI)
#
.F.o:
$(FC) -c $(FFLAGS) $(DEFS) $<
.f.o:
$(FC) -c $(FFLAGS) $<
.F90.o:
$(FC) -c $(FFLAGS) $(DEFS) $<
.f90.o:
$(FC) -c $(FFLAGS) $<
#
The error message:
module sys
^
pathf95-855 pathf90: ERROR SYS, File = sys.F, Line = 11, Column = 14
The compiler has detected errors in module "SYS". No module information
file will be created for this module.
use mpi_siesta
^
pathf95-292 pathf90: ERROR MESSAGE, File = sys.F, Line = 24, Column = 11
"MPI_SIESTA" is specified as the module name on a USE statement, but the
compiler cannot find it.
use mpi_siesta
^
pathf95-292 pathf90: ERROR DIE, File = sys.F, Line = 43, Column = 11
"MPI_SIESTA" is specified as the module name on a USE statement, but the
compiler cannot find it.
use mpi_siesta
^
pathf95-292 pathf90: ERROR BYE, File = sys.F, Line = 74, Column = 11
"MPI_SIESTA" is specified as the module name on a USE statement, but the
compiler cannot find it.
pathf95: PathScale(TM) Fortran Version 2.4 (f14) Thu Jun 4, 2009 18:29:32
pathf95: 103 source lines
pathf95: 4 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)
pathf95: "explain pathf95-message number" gives more information about each
message
make: *** [sys.o] Error 2