> I think you have just to set > > unsigned int n_threads = 4; // set n_threads or read it from a param file > multithread_info.n_default_threads = n_threads; > > in your main program or in the part of the program that use threads.
Yes. The current development version of deal.II uses an entirely different scheme to distribute work among processors that doesn't use a fixed number of threads any more: http://www.dealii.org/developer/doxygen/deal.II/group__threads.html#MTToC You may want to check the current subversion version if you're curious. Best W. ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
