Re: [Coin-ipopt] Is Ipopt + MUMPS thread safe?
Andreas Waechter
andreasw at watson.ibm.com
Thu Oct 11 12:49:14 EDT 2007
I wouldn't necessarily assume that Ipopt isn't threadsafe, at least the
goal was to have it threadsafe.
Javier, could you try with Harwell's MA27 (that should be threadsafe the
way it is integrated in Ipopt) and see if that works?
Thanks
On Thu, 11 Oct 2007, Damien Hocking wrote:
> I'm pretty sure IPOPT isn't thread-safe. MUMPS definitely isn't. If you want to run two separate solves in two threads, you need a separate instance of IPOPT in each thread. Watch your BLAS and LAPACK libraries too, if they're old F77 codes, they might have things like SAVE statements, which means you should only run one instance in any process space.
>
> Damien
> _____
>
> From: Javier Pedrido [mailto:javierpedrido at hotmail.com]
> To: coin-ipopt at list.coin-or.org
> Sent: Thu, 11 Oct 2007 09:39:45 -0600
> Subject: [Coin-ipopt] Is Ipopt + MUMPS thread safe?
>
> Hi,
>
> I was trying the new Java interface and whenever I run it from 2 different
> threads, Ipopt crashes. Ipopt uses MUMPS as linear solver and was compiled
> with g95/g++ and with ifort/cl. Both builds crash in multi-threaded
> environments. Am I doing something wrong or Ipopt/MUMPS are not thread safe?
>
> Thanks in advance,
> Javier
>
> _________________________________________________________________
> MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
>
> _______________________________________________
> Coin-ipopt mailing list
> Coin-ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-ipopt
>
More information about the Coin-ipopt
mailing list