<div>Hi Laszlo,</div>  <div>&nbsp;</div>  <div>This idea doesn't work. Today I found that the mpich library is compiled by Sun Studio 11. I think I need an mpi library compiled by gcc.</div>  <div>&nbsp;</div>  <div>Thank you!</div>  <div>&nbsp;</div>  <div>Dan<BR><BR><B><I>Laszlo Ladanyi &lt;ladanyi@us.ibm.com&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Dan,<BR><BR>The "configure: error: Cannot find symbol MPI_Irecv with MPI" simply means<BR>that the configure script couldn't link a simple executable that had a simgle<BR>MPI_Irecv() call in its main function. You need to check the output of "mpicc<BR>-link_info". Don't bother with the -D flags, mpi was compiled with autotools,<BR>too, and Coin's configure should find the same definitions. But do look at<BR>what libs does it return. Those are the libs you need to link against if you<BR>are not using the mpicc/mpicxx script to compile and
 link C/C++ code, and<BR>Coin's configure scripts do not use those scripts. My best guess is that you<BR>need to link against at least the pthread lib as well as against mpich.<BR>Supposing you get back:<BR><BR>elrond:~$ mpicc -link_info<BR>cc -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1<BR>-DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1<BR>-L/usr/lib/mpich-shmem/lib -lmpich-shmem -lpthread -lrt<BR><BR>Then your configure command line would be:<BR><BR>../configure CXX=g++ CC=gcc --enable-static=yes<BR>--with-mpi-incdir=/usr/lib/mpich-shmem/include<BR>--with-mpi-lib="-L/usr/lib/mpich-shmem/lib -lmpich-shmem -lpthread -lrt"<BR><BR>Let me know if this works.<BR><BR>Thanks,<BR>--Laci<BR><BR><BR>If that doesn't work then check that <BR><BR>On Thu, 23 Nov 2006, Dan Chen wrote:<BR><BR>&gt; Hello everyone,<BR>&gt; <BR>&gt; I am trying to compile Bcp with mpich. When I configue with the following command:<BR>&gt; <BR>&gt; ../configure CXX=g++ CC=gcc
 --enable-static=yes --with-mpi-incdir=/opt/mpich-mx/include/ --with-mpi-lib="/opt/mpich-mx/lib/libmpich.a"<BR>&gt; <BR>&gt; I got the following error message:<BR>&gt; <BR>&gt; checking if user provides library for Mpi... yes<BR>&gt; checking for /opt/mpich-mx/include/mpi.h... yes<BR>&gt; checking whether symbol MPI_Irecv is available with MPI... no<BR>&gt; configure: error: Cannot find symbol MPI_Irecv with MPI<BR>&gt; configure: error: /bin/bash '../../Bcp/configure' failed for Bcp<BR>&gt; <BR>&gt; Can anybody tell me what is wrong?<BR>&gt; <BR>&gt; Thanks!<BR>&gt; <BR>&gt; <BR>&gt; Dan<BR>&gt; <BR>&gt; <BR>&gt; ---------------------------------<BR>&gt; Make free worldwide PC-to-PC calls. Try the new Yahoo! Canada Messenger with Voice<BR><BR>_______________________________________________<BR>Coin-discuss mailing list<BR>Coin-discuss@list.coin-or.org<BR>http://list.coin-or.org/mailman/listinfo/coin-discuss<BR></BLOCKQUOTE><BR><p>&#32;
                <hr size=1> <a href="http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca"><b>All new Yahoo! Mail - </b></a>
<hr size=1>Get a sneak peak at messages with a handy reading pane.