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