Re: [f2py] OpenMP - again
Paul Anton Letnes <[email protected]> Sun, 12 Sep 2010 12:29:44 +0200
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
> > If you have time then could you create a wiki page, say f2py_OpenMP in > the scipy cookbook, something along the lines of the following pages: > http://www.scipy.org/Cookbook/F2Py > http://www.scipy.org/Cookbook/f2py_and_NumPy > > Best regards, > Pearu Regarding your suggestion, I have made a draft article here: http://www.scipy.org/Dynetrekk/f2py_OpenMP_draft The text is rather minimal so far, but the example does work, and a speedup close to 4 is demonstrated on a 4-core intel machine. I would be interested to hear any comments whether this is understandable reading, and test results on other OS-es and compilers. Also, I guess someone familiar with other compilers might be able to port the example. I would be interested in the Portland Group compiler example myself, as I have not managed to get this one working. Hope this is useful for someone, Paul.