I'm trying to build Siesta 3.1 with gfortran+openmpi on Rocks 5.3, the
following is the error I receive:
make[1]: Entering directory `/root/workspace/siesta-3.1/parallel/MPI'
mpif90 -c -g -O2 -I. -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/root/workspace/siesta-3.1/Src/MPI/mpi.F
In file V_S.uses:1
Included at /root/workspace/siesta-3.1/Src/MPI/mpi.F:54
USE MPI__r4_V ; USE MPI__r4_S
1
Fatal Error: Can't open module file 'mpi__r4_v.mod' for reading at
(1): No such file or directory
make[1]: *** [mpi.o] Error 1
make[1]: Leaving directory `/root/workspace/siesta-3.1/parallel/MPI'
make: *** [libmpi_f90.a] Error 2
I've tried google but searching for mpi__r4_v.mod doesn't return
anything useful. So any ideas? I am of course able to build the serial
version.
I create my arch.make via configure --enable-mpi
--with-blas=/share/apps/lib64/libblas.a
--with-lapack=/share/apps/lib64/liblapack.a
--with-blacs="/share/apps/lib64/libblacsCinit.a
/share/apps/lib64/libblacsF77init.a /share/apps/lib64/libblacs.a"
--with-scalapack=/share/apps/lib64/libscalapack.a
arch.make:
.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90
SIESTA_ARCH=x86_64-unknown-linux-gnu--unknown
FPP=
FPP_OUTPUT=
FC=mpif90
RANLIB=ranlib
SYS=nag
SP_KIND=4
DP_KIND=8
KINDS=$(SP_KIND) $(DP_KIND)
FFLAGS=-g -O2
FPPFLAGS= -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
LDFLAGS=
ARFLAGS_EXTRA=
FCFLAGS_fixed_f=
FCFLAGS_free_f90=
FPPFLAGS_fixed_F=
FPPFLAGS_free_F90=
BLAS_LIBS=/share/apps/lib64/libblas.a
LAPACK_LIBS=/share/apps/lib64/liblapack.a
BLACS_LIBS=/share/apps/lib64/libblacsCinit.a
/share/apps/lib64/libblacsF77init.a /share/apps/lib64/libblacs.a
SCALAPACK_LIBS=/share/apps/lib64/libscalapack.a
COMP_LIBS=dc_lapack.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=.
#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) $<
--
Personally, I liked the university. They gave us money and facilities,
we didn't have to produce anything! You've never been out of college!
You don't know what it's like out there! I've worked in the private
sector. They expect results. -Ray Ghostbusters