[Symphony] Symphony in a shared-memory architecture

Ted Ralphs ted at lehigh.edu
Mon Feb 7 11:29:57 EST 2011


The parameter "max_active_nodes" controls how many threads are used
with OpenMP. To set that parameter through the API, do, e.g.,

sym_set_int_param(env,  "max_active_nodes", 8);

Let me know if that fixes your problem.

Cheers,

Ted

On Thu, Feb 3, 2011 at 5:12 AM, Aiko Vogelsang <aikovogelsang at gmx.de> wrote:
> Hello everybody,
>
> I've a question on how to use Symphony in a shared-memory architecture again.
>
> Because of the hints I got last month I compiled Symphony with the option "--enable-openmp". Everything works fine during compiling and installing.
> If I invoke the solver from the command line with the option "-p 4" Symphony works in parallel (as I read in the manual).
>
> But if I include the header files and the library files of Symphony and the related projects into my C++ project the solver still works in sequential. I tried to insert some compiler (which is GCC 4.5) options but nothing worked.
> According to my understanding I need an additional option compareable to "-p 4" that would be inserted in the command line.
>
> If I could get a hint for this problem it would be very helpful! Many thanks in advance!
>
> Best regards
> Aiko
>
> _______________________________________________
> Symphony mailing list
> Symphony at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/symphony
>



-- 
Dr. Ted Ralphs
Associate Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted




More information about the Symphony mailing list