Dear SIESTA users,
I read the archive, but could not figure out why I am failing to compile
parallel version on cluster machines.
The attached is the arch.make file. Using 'make' I get the following errors
numerous times:
"Interfaces.f90", 1516-036 (S) Entity none has undefined type.
"Interfaces.f90", line 2464.16: 1516-050 (S) Expression or initial value
must be evaluated at compile time.
Also, I see the following during compilation:
/opt/ibmcmp/xlf/8.1/bin/xlf90: 1501-214 command option M reserved for future
use - ignored
/opt/ibmcmp/xlf/8.1/bin/xlf90: 1501-257 Option P is not recognized. Option
will be ignored.
Could anyone suggest whats wrong? Thanks in advance.
Zubaer
UIUC, USA
*"arch.make*"
.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90
SIESTA_ARCH=powerpc-apple-darwin7.9.0--Xlf
FPP=
FPP_OUTPUT=
FC=/turing/software/mpich-gm/bin/mpif90
RANLIB=ranlib
SYS=xlf
SP_KIND=none
DP_KIND=none
KINDS=$(SP_KIND) $(DP_KIND)
FFLAGS=-g -O3
FPPFLAGS=-DMPI
LDFLAGS=
ARFLAGS_EXTRA=
FCFLAGS_fixed_f=-qfixed -qsuffix=cpp=f
FCFLAGS_free_f90=-qfree=f90 -qsuffix=f=f90
FPPFLAGS_fixed_F=-qfixed -qsuffix=cpp=F
FPPFLAGS_free_F90=-qfree=f90 -qsuffix=cpp=F90
BLAS_LIBS=libblas.a
LAPACK_LIBS=dc_lapack.a liblapack.a
BLACS_LIBS=/turing/software/BLACS/LIB/blacs_MPI-MACOSX-0.a
SCALAPACK_LIBS=/turing/software/SCALAPACK/libscalapack.a
COMP_LIBS=dc_lapack.a liblapack.a libblas.a
NETCDF_LIBS=
NETCDF_INTERFACE=
LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS)
$(NETCDF_LIBS)
#SIESTA needs an F90 interface to MPI
#This will give you SIESTA's own implementation
#If your compiler vendor offers an alternative, you may change
#to it here.
MPI_INTERFACE=libmpi_f90.a
MPI_INCLUDE=/turing/software/mpich-1.2.7pl/include
MPI_LIB=/turing/software/mpich-1.2.7pl/lib
#Dependency rules are created by autoconf according to whether
#discrete preprocessing is necessary or not.
.F.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $<
.F90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_free_F90) $<
.f.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f) $<
.f90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90) $<