<div dir="ltr"><div><div><div>Hi,<br><br></div>I&#39;m a first-time user of chipps. I&#39;m mailing trying to solve MILPs on an MPI cluster. Quite excited.<br></div><br></div><div>Firstly, I had some trouble compiling alps:<br>
<br></div><div>To start with, using --with-mpi-incdir and with-mpi-libdir didn&#39;t work <br><br>./configure --enable-static --disable-shared MPICC=mpicc MPICXX=mpicxx MPIF90=mpif90 CC=mpicc CXX=mpicxx   CXXDEFS=&quot;-DOMPI_IGNORE_CXX_SEEK&quot;  --with-mpi-incdir=$OPENMPI_ROOT/include --with-mpi-libdir=$OPENMPI_ROOT/lib<br>
<br><br>Configure says:<br>checking if user provides library for Mpi... configure: error: You need to specify both an include directory and link flags to use library Mpi. Use --with-mpi-incdir of environment variable /apps/openmpi/1.4.3/include to specify the include directory. Use --with-mpi-lib or environment variable  to specify link flags.<br>
<br></div><div>So I had to <br><br>&gt; export MPIINCDIR=$OPENMPI_ROOT/include<br>&gt; export MPILIB=$OPENMPI_ROOT/lib<br><br></div><div>COnfigure then complained:<br>configure: error: Cannot find symbol(s) MPI_Irecv with MPI<br>
<br></div><div>Looking at config.log shows:<br><br>configure:21966: checking whether symbol MPI_Irecv is available with MPI<br>configure:21984: mpicc -o conftest -DCOIN_HAS_MPI   -DALPS_BUILD   conftest.c /apps/openmpi/1.4.3/lib  &gt;&amp;5<br>
/apps/openmpi/1.4.3/lib: file not recognized: Is a directory<br><br></div><div>It looks like configure forgot to put a &#39;-L&#39; in front of the $MPILIB value.<br><br>This whole problem can be circumvented by adding --disable-mpi-libcheck to the configure and it makes OK.<br>
</div><div><br></div>Just letting you know,<br><br>K<br><div><div><div><div><div><br>&gt; echo $OPENMPI_ROOT<br>/apps/openmpi/1.4.3<br><br>&gt; mpicc --version<br>icc (ICC) 11.1 20091130<br>Copyright (C) 1985-2009 Intel Corporation.  All rights reserved.<br>
<br>Blis-0.93.5<br>-- <br>Keith Bannister
</div></div></div></div></div></div>