Mahmood,

mpi_siesta is a siesta library, not an Open MPI library.

fwiw, you might want to try again from scratch with
MPI_INTERFACE=libmpi_f90.a
DEFS_MPI=-DMPI
in your arch.make

i do not think libmpi_f90.a is related to an OpenMPI library.

if you need some more support, please refer to the siesta doc and/or ask on
a siesta mailing list


Cheers,

Gilles

On Monday, September 12, 2016, Mahmood Naderan <mahmood...@gmail.com> wrote:

> Hi,
> Trying to build a source code with newer versions of OpenMPI, I still have
> some problems that weren't exist in previous versions.
>
> In 1.6.5, I wrote something in a arch.make file which is used by Makefile
>
> FC=/export/apps/siesta/openmpi-1.6.5/bin/mpif90
> MPI_INTERFACE=libmpi_f90.a
> MPI_INCLUDE=.
>
> And then I had to copy that library to the local folder in order to drop
> the full path.
>
>
>
> However, with 1.8.8, it has been stated that mpifort (the wrapper)
> provides all necssary libraries. So I now write
>
> FC=/export/apps/siesta/openmpi-1.8.8/bin/mpifort
> MPI_INTERFACE=
> MPI_INCLUDE=.
>
>
>
> However, the compilation of the program fails with
>
> make[1]: Entering directory `/export/apps/siesta/siesta-4.0/spar/fdf'
> In fdf, INCFLAGS is: -I/export/apps/siesta/siesta-4.0/Src/fdf      -I../
> /export/apps/siesta/openmpi-1.8.8/bin/mpifort -c -g -Os
> -I/export/apps/siesta/siesta-4.0/Src/fdf      -I../ -DMPI -DFC_HAVE_FLUSH
> -DFC_HAVE_ABORT  /export/apps/siesta/siesta-4.0/Src/fdf/fdf.F90
> /export/apps/siesta/siesta-4.0/Src/fdf/fdf.F90:498.20:
>
>       use mpi_siesta
>                     1
> Fatal Error: Can't open module file 'mpi_siesta.mod' for reading at (1):
> No such file or directory
>
>
>
> It seems that it is trying to find an MPI library. Any idea about that?
>
> Regards,
> Mahmood
>
>
>
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to