[Ipopt] [mumps-users] Ipopt MUMPS interface and MPI problems

Dominique Orban dominique.orban at gmail.com
Wed Jul 9 16:37:57 EDT 2014


In Homebrew, we compile IPOPT with -DHAVE_MPI_INITIALIZED to get around
this. See
https://github.com/Homebrew/homebrew-science/blob/master/ipopt.rb#L36 and
recent discussions on the IPOPT mailing list.

Dominique


On Wed, Jul 9, 2014 at 3:45 PM, Paulo César Pereira de Andrade <
paulo.cesar.pereira.de.andrade at gmail.com> wrote:

>   Hi,
>
>   The Ipopt MUMPS interface calls MPI_Init in the class constructor
> and MPI_Finalize in the destructor. But openmpi causes a fatal
> error due to it:
> --------------------------------------------------------------------------
> Calling MPI_Init or MPI_Init_thread twice is erroneous.
> --------------------------------------------------------------------------
>
> Debian uses this patch for Ipopt:
>
>
> http://sources.debian.net/src/coinor-ipopt/3.11.7-2/debian/patches/mpi-init.patch
>
> But "only" that patch causes the Ipopt testsuite to fail due to calling
> MPI functions before MPI_Init.
>
> What is the proper way to handle it? I believe it should be
> somewhat like only call MPI_Init and MPI_Finalize from the
> test suite main function, but I have few knowledge of all
> details (e.g. maybe only required if linking Ipopt to a parallel
> MUMPS) ...
>
> Thanks,
> Paulo
>
> Subscription/unsubscription: see
> https://listes.ens-lyon.fr/sympa/subscribe/mumps-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20140709/cd8cbd1d/attachment.html>


More information about the Ipopt mailing list