[Coin-discuss] Multi-threaded mode for Cbc/Clp

YANG YUAN erry.yuan at gmail.com
Tue Mar 27 13:50:05 EDT 2007


Hi John,

Thanks for your reply, Did you know whether OsiCbc is threadsafe? I tried my
parallel experiment with small instances on NCSA, it works just fine.
However, Cbc crashes when the instance size get larger.

Thanks -- yang


On 3/27/07, John J Forrest <jjforre at us.ibm.com> wrote:
>
> As far as I know Clp is threadsafe with one minor caveat.  If you use
> ClpSimplex::initialSolve then that can use signal_handler to trap ctrl-c
> for a graceful exit.  You can set an option to stop this happening.  I
> think the worst that would happen anyway is that a random process would
> stop each time you hit ctrl-c.
>
> John Forrest
>
>
>
>             "yang yuan"
>             <erry.yuan at gmail.
>             com>                                                       To
>             Sent by:                  Coin-discuss at list.coin-or.org
>             coin-discuss-boun                                          cc
>             ces at list.coin-or.
>             org                                                   Subject
>                                       [Coin-discuss] Multi-threaded mode
>                                       for Cbc/Clp
>             03/23/07 01:36 PM
>
>
>             Please respond to
>             Discussions about
>                open source
>               software for
>                Operations
>                 Research
>             <coin-discuss at lis
>              t.coin-or.org>
>
>
>
>
>
>
>
> Hi all,
>
> I am trying to run a shared-memory parallel experiment with OpenMP, and
> Cbc
> and Clp are the selected MIP/LP solver, and are compiled with default
> setting. However, i am not so sure that the Cbc/Clp is running in a
> multi-threaded mode as expected. If i remember it correct, SYMPHONY has an
> option for compilation in a shared-memory based environment. Does Cbc have
> the same option? and what should i do to compile Cbc for shared-memory
> use,
> if it hasn't been done automatically?
>
> Many thanks!  -- yang_______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20070327/eeee4d9f/attachment.html>


More information about the Coin-discuss mailing list