We don't bite newbies here... much | |
PerlMonks |
Re^4: OpenMP from Perl?by Anonymous Monk |
on Jun 21, 2007 at 14:22 UTC ( [id://622580]=note: print w/replies, xml ) | Need Help?? |
I've just had a play with both, and it is not so simple. The most basic structure in OpenMP is to parallel a (C-style) 'for' loop by prefixing with a #pragma in C/C++. A Perl 'for' loop is not translated into a C 'for' loop by B::C, so it is not just a case of hacking the resulting C. Looks like I'll have to convert the OpenMP directives into Perl threading constructs.
In Section
Seekers of Perl Wisdom
|
|