On Mon, 19 Apr 2010, Marcin B�^Bażejowski wrote:
in my opinion the most productive use of openmp would be dividing
loop
into threads. Maybe user could define wihich loop should run parallel.
That would certainly be nice, but it would require quite a lot of
thought.
As things stand (if I understand the mechanism correctly) you have
to specify at compile time which code sections are to be
parallelized via openmp. In principle it's possible that gretl
could call a C compiler to build a gretl-loop as a C function with
user-specified parallel code -- a sort of "instant plugin". That
functionality would necessarily be limited to platforms that offer
an openmp-aware C compiler, preferably gcc. It would also require
more knowledge than I currently possess regarding "Just in Time"
compilation ;-)
Allin