Login  Register

Re: Parallel Computing

Posted by Cedrick W. Johnson on Jan 31, 2011; 12:35pm
URL: http://quantlib.414.s1.nabble.com/Parallel-Computing-tp81p84.html

Just throwing perhaps a potential solution out there, don't know the feasibility of it and i'm sorely lacking in my AM coffee:

You could try to use R and the RQuantlib packages to do this across multiple cores using the 'multicore' package, or either 'SNOW' and 'foreach' packages. In a little bit i'll try to put together a quick self contained example if this may be an approach using the bonds example.

Regards,
Cedrick

On Mon, Jan 31, 2011 at 4:15 AM, Breig, Dr. Christoph (IDS GmbH) <[hidden email]> wrote:
Hi,
 
during the last days I was trying parallel computing using quantlib and boost::threads. I tried to price a large amount of bonds similar to the one-bond example bonds.cpp. One thread calculated one bond. For testing purposes I ran two threads at the same time on a two core machine. Unfortunately the two thread method did not work (the one thread method and a almost fully mutexed method worked fine). Does anybody have experience with parallel computing using QuantLib? Possibly it does not work through global parameters like settlement date?
 
Cheers!
Chris
 

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users