Hello there,
When trying to compile parallel version using ifc7.1(without mkl), the
following error appears:
_________________
ifc -tpp5 -O2 -w -mp -Vaxlib -c -O -DMPI ionew.F
module IONEW
module subroutine IO_SETUP
module subroutine IO_SETERR
module subroutine IO_SETOUT
module subroutine IO_GETERR
module subroutine IO_GETOUT
module subroutine IO_ASSIGN
module subroutine IO_RESERVE
module subroutine IO_CLOSE
module subroutine IO_STATUS
Error 355 : In procedure IO_SETUP variable MPI_COMM_WORLD has not been given a
type
1 Error
compilation aborted for ionew.F (code 1)
make: *** [ionew.o] Error 1
_________________
Following's the arch.make file:
_________________
SIESTA_ARCH=intel-mpich
FC=ifc -tpp5 -O2 -w -mp -Vaxlib
FC_ASIS=$(FC)
FFLAGS= -O
FFLAGS_DEBUG= -g
LDFLAGS=-Vaxlib
RANLIB=echo
SYS=bsd
COMP_LIBS=linalg.a
#
BLACS_LIBS=/usr/lib/blacs_MPI-LINUX-0.a
SCALAPACK_LIBS=/usr/local/include/libscalapack.a
MPI_INTERFACE=libmpi_f90.a
MPI_INCLUDE=/usr/local/include
DEFS_MPI=-DMPI
LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) -lmpi
DEFS= $(DEFS_MPI)
#
.F.o:
$(FC) -c $(FFLAGS) $(DEFS) $<
.f.o:
$(FC) -c $(FFLAGS) $<
.F90.o:
$(FC) -c $(FFLAGS) $(DEFS) $<
.f90.o:
$(FC) -c $(FFLAGS) $<
_________________
Any suggesstion is highly appreciated.
Best regards,
Zhou