The ScaLAPACK and BLAS you use have been compiled for OpenMPI. Either use OpenMPI for SIESTA, or compile those libraries with mpich.

The last few missing references may also point to a different compiler or optimization level being used for LAPACK than what you are using.

HTH,

  Herbert

Carlo Motta wrote:
Dear SIESTA experts,

I am trying to compile the parallel version of SIESTA with mpich-1.2.7.
After compiling all the objects, when it comes to compile siesta (mpif90 -o siesta *.o ...) I get these errors (see below). Is this ever happened to anyone? Could you give me some help? Attached you find my arch.make file.

Thank you very much,

Carlo

/home/carlo/Scalapack/lib/blacs.a(blacs_gridmap_.o): In function `blacs_gridmap_':
blacs_gridmap_.c:(.text+0x1d6): undefined reference to `ompi_mpi_comm_null'
/home/carlo/Scalapack/lib/blacs.a(blacs_gridexit_.o): In function `blacs_gridexit_':
blacs_gridexit_.c:(.text+0x70): undefined reference to `ompi_mpi_comm_null'
/home/carlo/Scalapack/lib/blacs.a(blacs_get_.oo): In function `Cblacs_get':
blacs_get_.c:(.text+0x77): undefined reference to `ompi_mpi_comm_world'
blacs_get_.c:(.text+0xed): undefined reference to `ompi_mpi_comm_null'
/home/carlo/Scalapack/lib/blacs.a(Cblacs_gridmap_.oo): In function `Cblacs_gridmap':
blacs_gridmap_.c:(.text+0x27): undefined reference to `ompi_mpi_comm_null'
/home/carlo/Scalapack/lib/blacs.a(Cblacs_gridexit_.oo): In function `Cblacs_gridexit':
blacs_gridexit_.c:(.text+0x7c): undefined reference to `ompi_mpi_comm_null'
/home/carlo/Scalapack/lib/blacs.a(BI_MPI_F77_to_c_trans_comm.o): In function `BI_MPI_F77_to_c_trans_comm': BI_MPI_F77_to_c_trans_comm.c:(.text+0xe1): undefined reference to `ompi_mpi_comm_world' BI_MPI_F77_to_c_trans_comm.c:(.text+0x118): undefined reference to `ompi_mpi_comm_world' /home/carlo/Scalapack/lib/blacs.a(BI_TransUserComm.o): In function `BI_TransUserComm': BI_TransUserComm.c:(.text+0x29): undefined reference to `ompi_mpi_comm_world'
/home/carlo/Scalapack/lib/libreflapack.a(dlarnv.o): In function `dlarnv_':
dlarnv.f:(.text+0x3a5): undefined reference to `__svml_log2'
dlarnv.f:(.text+0x3c1): undefined reference to `__svml_cos2'
dlarnv.f:(.text+0x481): undefined reference to `__svml_log2'
dlarnv.f:(.text+0x493): undefined reference to `__svml_cos2'
dlarnv.f:(.text+0x52c): undefined reference to `__svml_log2'
dlarnv.f:(.text+0x548): undefined reference to `__svml_cos2'
make: *** [siesta] Error 1



--
Herbert Fruchtl
Senior Scientific Computing Officer
School of Chemistry, School of Mathematics and Statistics
University of St Andrews
--
The University of St Andrews is a charity registered in Scotland:
No SC013532

Responder a