Raphael Arlitt:
 |Since OpenDX seems to do parallel mode using Posix threads it should run on 
 |any plattform that has a pthread library installed. I will give it a try! 

pthreads don't matter.  You may want to:

    > cd dx.src
    > find . -name '*.[Cch]' | xargs grep pthread_create
    >

to convince yourself that they aren't being used directly.  As I mentioned,
the DX SMP parallelism on UNIX is at the process level (think "fork" and
shared memory).

DX always links with pthread if it's found, but this is usually superfluous
and not used for parallelism.  You can remove this -lpthread link on some
(most?) platforms with no ill effects.

I suspect this pthread dependency was added years ago because some of the
system libraries DX does depend on one platform weren't correctly linked
with the libraries they, in turn, depended on -- namedly pthread (e.g. the
X11/GL libs for some XFree86 builds require -lpthread, but aren't linked
with it).  Why this forced link was applied to all platforms is a mystery...

 |What parts are really parallelized in dxexec - I know I can just read the 
 |source, but it would be nice if there are any infos on that, or if somebody 
 |could roughly describe it.

Maybe someone will come back with a complete list.  You can get a subset
list by grepping the tree for DXExecuteTaskGroup.

Randy

-- 
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711

Reply via email to