Message: 5
Date: Fri, 14 Mar 2014 22:54:11 +0000 (GMT)
From: Allin Cottrell <cottrell@wfu.edu>
Subject: Re: [Gretl-devel] Compilation on Ubuntu 13.10, MPI
To: Gretl development <gretl-devel@lists.wfu.edu>
Message-ID: <alpine.LNX.2.03.1403142248050.1246@wfu.edu>
Content-Type: text/plain; charset="utf-8"
On Fri, 14 Mar 2014, David Vo?ka wrote:
> This is the result of make after simple ./configure
>
> libtool: link: mpicc -mavx -Winline -o .libs/gretlcli-mpi gretlcli-mpi.o
> ../lib/.libs/libgretl-1.0.so -llapack -lblas -lgfortran -lm -ldl -lz -lxml2
> -lglib-2.0 -lgmp -lfftw3 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so
> -pthread
> gretlcli-mpi.o: In function `main':
> /home/vonkad/dev/gretl/cli/gretlcli-mpi.c:318: undefined reference to
> `ompi_mpi_comm_world'
> /home/vonkad/dev/gretl/cli/gretlcli-mpi.c:319: undefined reference to
> `ompi_mpi_comm_world'
> /home/vonkad/dev/gretl/cli/gretlcli-mpi.c:320: undefined reference to
> `ompi_mpi_errors_return'
> /home/vonkad/dev/gretl/cli/gretlcli-mpi.c:320: undefined reference to
> `ompi_mpi_comm_world'
> collect2: error: ld returned 1 exit status
It looks as if your MPI installation is broken. The MPI compiler, mpicc,
is not linking to the right MPI library, and/or the gretl build has
included the wrong mpi.h header.
Have you by any chance installed both OpenMPI and MPICH2 at some point?
Allin Cottrell
------------------------------
_______________________________________________
Gretl-devel mailing list
Gretl-devel@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel
End of Gretl-devel Digest, Vol 86, Issue 10
*******************************************