#2626: Multipole is not OpenMP parallelized
Reporter:Gabriele Bozzola
Status:new
Milestone:
Version:
Type:enhancement
Priority:trivial
Component:

Comment (by Gabriele Bozzola):

I was looking at the inner function Multipole_Integrate (ie, fixed a radius, l, and m). I think that loops there (which are over theta and phi) can be parallelized with no problems. However, you are probably right and the simplest thing to do would be to add pragmas over l and m. The function call is

      for (int l=0; l <= lmax; l++)
      {
        for (int m=-l; m <= l; m++)
        {
          // Integrate sYlm (real + i imag) ove

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2626/multipole-is-not-openmp-parallelized