Hi,
this is the relevant part of your config.log
configure:1594: checking whether the Fortran compiler works
configure:1600: ./a.out
./a.out: symbol lookup error:
/export/apps/siesta/openmpi-1.8.8/lib/libmpi_mpifh.so.2: undefined
symbol: mpi_fortran_weights_empty
configure:1603: $? = 127
configure:1612: error: cannot run Fortran compiled programs.
it seems something is busted with this Open MPI install.
can you please run
nm /export/apps/siesta/openmpi-1.8.8/lib/libmpi_mpifh.so.2 | grep -i
mpi_fortran_weights_empty
nm /export/apps/siesta/openmpi-1.8.8/lib/libmpi.so.1 | grep -i
mpi_fortran_weights_empty
ldd /export/apps/siesta/openmpi-1.8.8/lib/libmpi_mpifh.so.2
hopefully we will find out what is going wrong
(i'd like to make sure you are not using IntelMPI libmpi.so.1 with Open
MPI libmpi_mpifh.so.2, that can happen if Intel MPI appears first in
your LD_LIBRARY_PATH)
Cheers,
Gilles
On 9/12/2016 3:59 PM, Mahmood Naderan wrote:
Hi,
Following the suggestion by Gilles Gouaillardet
(https://mail-archive.com/users@lists.open-mpi.org/msg29688.html), I
ran a configure command for a program like this
# ../Src/configure FC=/export/apps/siesta/openmpi-1.8.8/bin/mpifort
--with-blas=libopenblas.a --with-lapack=liblapack.a
--with-scalapack=libscalapack.a
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for Fortran compiler default output file name... a.out
checking whether the Fortran compiler works... configure: error:
cannot run Fortran compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
The content of config.log is available at http://pastebin.com/LTxxRMwH
It seems that mpifort (the wrapper compiler) has different usage than
previous mpif90
Any idea about that?
Regards,
Mahmood
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users