Loading...
Home / is multi-threading enabled?

Home Forums General is multi-threading enabled?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6223
    suhasghorp
    Participant

    If I had to run NPV simulations for a portfolio comprising 100s of swaps, can I “turn on” multithreading capabilities of the underlying QuantLib libraries? Or does the ObservationModel parameter in ore.xml controls this somehow? I have a machine with multiple cores and I am not sure ORE is making full use of it.
    Thanks,
    Suhas

    #6225
    Anonymous
    Inactive

    Hi Suhas,

    ORE is a single threaded library, so 100 swaps will be done sequentially. QuantLib itself is not threadsafe which is the main reason for this. There are other solutions, based on process based parallelisation.

    This is covered in the FAQ a bit.

    Regards,
    Niall.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.