[Halld-offline] danarest -> multi-threaded

David Lawrence davidl at jlab.org
Wed Oct 10 07:53:19 EDT 2012


Hi All,

   Just a heads up that last night I checked in a minor change to the 
danarest plugin that allows it to be used with multiple threads. 
Previously, it would seg. fault (or worse) if multiple threads were 
used. It seems to run fine now with multiple threads. As a reminder, you 
can run with multiple threads using something like this:

hd_ana -PPLUGINS=danarest -PNTHREADS=16 hdgeant_smeared.hddm

where the "16" could be set to "Ncores" to have it automatically detect 
the number of cores available and launch an equal number of threads.

If you notice any funny behavior after updating, please let me know.

Regards,
-David

-------- Original Message --------
Subject: 	r9762 - trunk/sim-recon/src/programs/Utilities/plugins/danarest
Date: 	Tue, 9 Oct 2012 21:00:42 -0400
From: 	Hall-D.SVN.Repository at jlab.org
To: 	davidl at jlab.org, brash at pcs.cnu.edu, wolin at jlab.org, 
zisis at uregina.ca, mashephe at indiana.edu, remitche at indiana.edu, 
zihlmann at jlab.org, somov at jlab.org, staylor at jlab.org, 
kmoriya at indiana.edu, pmatt at jlab.org, leckey at jlab.org



Author: davidl
Date: 2012-10-09 21:00:42 -0400 (Tue, 09 Oct 2012)
New Revision: 9762

Modified:
    trunk/sim-recon/src/programs/Utilities/plugins/danarest/JEventProcessor_danarest.cc
    trunk/sim-recon/src/programs/Utilities/plugins/danarest/JEventProcessor_danarest.h
Log:
Make the hddm_r::HDDM record object local instead of a class member so danarest can run with more than one thread.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.jlab.org/pipermail/halld-offline/attachments/20121010/64dc6663/attachment.html 


More information about the Halld-offline mailing list