Carlo,

It seems that you have compiled your blacs and scalapack with openmpi
libraries, and are compiling siesta with mpich. Both should be compiled with
mpich as the mpi communications library. Try re-compiling blacs and
scalapack with mpich, then re-compiling siesta.

Cheers,

Marcos

On Tue, Sep 7, 2010 at 3:33 PM, Carlo Motta <[email protected]> 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
>
>
>

Responder a