[Pw_forum] compile error on espresso-5.1

Neeraj Goel neeraj.goel179 at gmail.com
Thu Sep 11 05:52:40 CEST 2014


you must have c compilar as well as fortran complilar prior to
installing quantum espresso.

On 9/11/14, kajiura <kajiura at endomoribu.shinshu-u.ac.jp> wrote:
> Hello!
>
> I’m trying to compile the espresso-5.1, but I get two error messages
> when I give the command “make all”.I performed the compile in the
> following procedures .
>
> 1. cd espresso-5.1
> 2. ./configure
> 3. make all
>
> When I carry out the command "make all", the following error messages
> appear.
>
> --------------------------------------------------------------------------------------------------------------------------------------
> /opt/intel/composerxe-2011.4.191/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(blacs_extended.o):(.data+0x0):
> undefined reference to `ompi_request_null'
> /opt/intel/composerxe-2011.4.191/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(BI_BlacsAbort.o):
> In function `BI_BlacsAbort':
> _BI_BlacsAbort.c:(.text+0x26): undefined reference to `ompi_mpi_comm_world'
> /opt/intel/composerxe-2011.4.191/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(BI_Pack.o):
> In function `BI_Pack':
> _BI_Pack.c:(.text+0x13): undefined reference to `ompi_mpi_byte'
> _BI_Pack.c:(.text+0x64): undefined reference to `ompi_mpi_packed'
> /opt/intel/composerxe-2011.4.191/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(BI_GetMpiGeType.o):
> In function `BI_GetMpiGeType':
> _BI_GetMpiGeType.c:(.text+0x32): undefined reference to `ompi_mpi_byte'
> /opt/intel/composerxe-2011.4.191/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(BI_GetMpiTrType.o):
> In function `BI_GetMpiTrType':
> _BI_GetMpiTrType.c:(.text+0xa4): undefined reference to `ompi_mpi_byte'
> /opt/intel/composerxe-2011.4.191/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(BI_MPI_C_to_f77_trans_comm.o):
> In function `BI_MPI_C_to_f77_trans_comm':
> _BI_MPI_C_to_f77_trans_comm.c:(.text+0x6): undefined reference to
> `MPI_Comm_c2f'
> /opt/intel/composerxe-2011.4.191/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a(sys2blacs_handle_.oo):
> In function `Csys2blacs_handle':
> _sys2blacs_handle_.c:(.text+0x20): undefined reference to
> `ompi_mpi_comm_null'
> _sys2blacs_handle_.c:(.text+0xb1): undefined reference to
> `ompi_mpi_comm_world'
> _sys2blacs_handle_.c:(.text+0x17f): undefined reference to
> `ompi_mpi_comm_world'
> /opt/intel/composerxe-2011.4.191/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.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+0x6): undefined reference to
> `MPI_Comm_f2c'
> make[2]: *** [pw.x] Error 1
> make[2]: Leaving directory `/home/nishi/kajiura/PWscf/espresso-5.1/PW/src'
> make[1]: *** [pw] Error 1
> make[1]: Leaving directory `/home/nishi/kajiura/PWscf/espresso-5.1/PW'
> make: *** [pw] Error 1
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Could someone kindly tell me how to avoid the above errors?
>
> Kajiura
>
> --
> /////////////////////////////////////////////
>  Yoshiki Kajiura
>  Shinshu-u University
>  E-mail:kajiura at endomoribu.shinshu-u.ac.jp
> ////////////////////////////////////////////
>
>




More information about the users mailing list