[Gretl-devel] Compilation on Ubuntu 13.10, MPI

David Voňka david.vonka at gmail.com
Fri Mar 14 11:41:21 EDT 2014


I just checkoed out the source and try to compile it on my ubuntu 13.10
64bit box. The problem seems to be the MPI. configure works ok,
./configure --without-mpi

but when I call make, the compilation fails with

make[1]: Leaving directory `/home/vonkad/dev/gretl/lib'
make -C cli
make[1]: Entering directory `/home/vonkad/dev/gretl/cli'
mkdir .deps
gcc -c -g -O2 -I.. -I.. -I../lib/src  -I/usr/include/glib-2.0
-DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H gretlcli.c
gcc -g -O2 -I.. -I.. -I../lib/src  -I/usr/include/glib-2.0
-DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -MM gretlcli.c >
gcc -c -g -O2 -I.. -I.. -I../lib/src  -I/usr/include/glib-2.0
-DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H complete.c
gcc -g -O2 -I.. -I.. -I../lib/src  -I/usr/include/glib-2.0
-DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -MM complete.c >
../libtool --mode=link gcc -mavx -Winline   -o gretlcli gretlcli.o
complete.o \
    ../lib/libgretl-1.0.la -lreadline -lncurses
libtool: link: gcc -mavx -Winline -o .libs/gretlcli gretlcli.o complete.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
-lreadline -lncurses -pthread
../lib/.libs/libgretl-1.0.so: undefined reference to `set_mpi_variant'
collect2: error: ld returned 1 exit status
make[1]: *** [gretlcli] Error 1
make[1]: Leaving directory `/home/vonkad/dev/gretl/cli'
make: *** [cli] Error 2

a similar problem appears when I call ./configure without hte parameter,
but the undefined referece is to another object, not set_mpi_variant. I
have installed the mpi-default-dev package.

Thanks for any help,
David Vonka

David Voňka
mobil: +420 608 916 031
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wfu.edu/pipermail/gretl-devel/attachments/20140314/8cb155eb/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 73401 bytes
Desc: not available
Url : http://lists.wfu.edu/pipermail/gretl-devel/attachments/20140314/8cb155eb/attachment-0001.bin 

More information about the Gretl-devel mailing list