Hello professional mpb users,
I am trying to install mpb with mpi support on my computer. I installed cygwin and also mpich2-1.2.1 as my mpi libraries.

My problem right now is to install fftw-2.1.5 with --enable-mpi. I pass the configure stage yet when I run make, I receive the following error


libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries
rm -fr .libs/librfftw_mpi.la .libs/librfftw_mpi.* .libs/librfftw_mpi.*
ar cru .libs/librfftw_mpi.a  rfftwnd_mpi.o rfftw_f77_mpi.o
ranlib .libs/librfftw_mpi.a
creating librfftw_mpi.la
(cd .libs && rm -f librfftw_mpi.la && ln -s ../librfftw_mpi.la librfftw_mpi.la)
mpicc -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -malign-double -fstrict-aliasing -DH5_USE_16_API=1 -I/usr/local/include -L/usr/local/lib  test_sched.c   -o test_sched
/tmp/ccApGYbh.o:test_sched.c:(.text+0x72): undefined reference to `_make_comm_schedule'
/tmp/ccApGYbh.o:test_sched.c:(.text+0x88): undefined reference to `_check_comm_schedule'
...
<many similar errors>
...
/tmp/ccApGYbh.o:test_sched.c:(.text+0x22e): undefined reference to `_free_comm_schedule'
collect2: ld returned 1 exit status
<builtin>: recipe for target `test_sched' failed
make[1]: *** [test_sched] Error 1


I tried to set the configure in different ways:
./configure --prefix=/usr/local --enable-mpi CC=mpicc CXX=mpic++
./configure --prefix=/usr/local --enable-mpi CC=mpixx LINK=mpixx
./configure --prefix=/usr/local --enable-mpi F77="gfortran"

but the error repeats.

I looked it up many times. I found this post, relating to RISM with fftw-2.1.5 and mpi
http://dev-archive.ambermd.org/201003/0363.html

I wonder if there's a way to bypass the test_sched test and install the pacage anyway, but I guess that the test is there for a reason. Any help on the matter would be appreciated


p.s.
I manage to successfully build and install fftw-3.2.2 with --enable-mpi, but I know that mpb doesn't work with fftw-3.x


Walla! Mail - Get your free unlimited mail today
_______________________________________________
mpb-discuss mailing list
mpb-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to