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