[Cops] MPI and COPS
Ted Ralphs
ted at lehigh.edu
Tue Jan 22 00:04:26 EST 2008
The log file says it's failing because "linking to Fortran libraries
from C fails." So the problem seems to lie with the C compiler. The MPI
compilers are just wrappers around another C compiler (adding the right
arguments to link to the MPI libraries). In this case, I think they are
wrappers around gcc, which means you are probably not really using the
portland group compilers unless someone implemented custom wrappers. It
could be that you are somehow mixing Portland group libraries with gcc
libraries. Can you do an "mpicc --version" and try to see what compiler
you are using? Or just do "which mpicc" and look directly at the wrapper
script. The next step would then be to look at the config.log from the
successful serial build to see what compilers were used there. A
possible solution would be just to use the same compilers for building
the MPI code. See
http://www.open-mpi.org/faq/?category=mpi-apps#cant-use-wrappers
for instructions on that. You could also try configuring without
specifying the MPI compiler name. I think configure will find it
automatically. Sometime, there are multiple options. Perhaps you are
using the wrong one. Well, that gives you a few things to try. Let me
know how it goes.
Cheers,
Ted
lrma wrote:
> Hi,
>
>
>
> I’m attempting to compile the COPS system for use on a cluster. The
> cluster uses openMPI and the Portland group compiler.
>
>
>
> The source has been checkout out from the latest stable branch.
>
>
>
> While the normal process of
>
> ./configure,
>
> Make,
>
> Make install,
>
>
>
> Works without any problems, when trying to link in with the MPI
> libraries there have been a few problems.
>
>
>
> The following command line was used:
>
>
>
> ./configure --enable-static --disable-shared
> --with-mpi-incdir=/usr/local/openmpi/1.2.4-pgi/include
> --with-mpi-lib='-L/usr/local/openmpi/1.2.4-pgi/lib -lmpi' MPICC=mpicc
> MPICXX=mpiCC
>
>
>
> The configure fails to build CoinUtils and the process stops there
>
>
>
> I have attached the config.log for top folder and the config.log for the
> CoinUtils
>
>
>
> Any help or direction on where to seek further help is much appreciated.
>
>
>
> Regards,
>
> Luke
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cops mailing list
> Cops at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cops
--
Dr. Ted Ralphs
Associate Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
ted at lehigh dot edu
coral.ie.lehigh.edu/~ted
More information about the Cops
mailing list