[Developers] admb threading

John Sibert sibert at hawaii.edu
Wed Nov 28 16:30:23 PST 2012


Johnoel and I need some feedback about how to approach threading. Dave 
has provided a nice proof of concept using pthreads to implement 
parallel processing on larger chunks of code. This approach is likely to 
have the biggest performance improvement, but seems application specific 
and would require more expertize on the part of users.

Alternatively it is possible to implement threading internally in the 
ADMB libraries, concentrating on smaller chunks of code, for instance 
the solve(...) function. This approach would probably have smaller 
performance payoff in most applications, but would be more transparent 
to users.

In principle, the two approaches are not mutually exclusive.

So my question to the ADMB Developer group is what did we mean when we 
assigned a high priority to parallelization?  Do we want parallel code 
that is "transparent" to the user (if so what parts of the would have 
the highest priority)? Or do we want to develop tools that allow users 
to create their on threaded code for specific applications? (Don't tell 
me both.)

Cheers,
John
PS enjoy the attached.

-- 
John Sibert
Emeritus Researcher, SOEST
University of Hawaii at Manoa

Visit the ADMB project http://admb-project.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ThreadHell.jpg
Type: image/jpeg
Size: 43185 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/developers/attachments/20121128/32eb0560/attachment-0001.jpg>


More information about the Developers mailing list