Hello
I'm new to QuantLib and am experiencing some difficulties in compiling the project ohxllib in the QuantLibXL solution (version 1.1). Could someone please assist?
The problem seems to be that the project ohxllib contains references to the files:
enumerations.cpp
export.hpp
functioncount.hpp
garbagecollection.cpp
...
...
etc...
However, these files are not present (for me); hence the compilation fails. I also similar problems when compiling the project QuantLibObjects. Here the compiler is looking for files such as \qlo\enumerations\register\register_pairs.cpp, register_types.cpp, but these do not exist either. In fact the directory \qlo is located under QuantLibAddins, not QuantLibXL...
Any help appreciated.
Regards
Rajiv
------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
These files should be generated by gensrc, which should be invoked by
the IDE at the start of the build. Do you see anything in the output window that suggests it failed to generate them? Luigi On Mon, Mar 5, 2012 at 11:33 PM, Rajiv Sesodia <[hidden email]> wrote: > I'm new to QuantLib and am experiencing some difficulties in compiling the > project ohxllib in the QuantLibXL solution (version 1.1). Could someone > please assist? > > The problem seems to be that the project ohxllib contains references to the > files: > > enumerations.cpp > export.hpp > functioncount.hpp > garbagecollection.cpp > ... > ... > etc... > > However, these files are not present (for me); hence the compilation fails. > I also similar problems when compiling the project QuantLibObjects. Here the > compiler is looking for files such as > \qlo\enumerations\register\register_pairs.cpp, register_types.cpp, > but these do not exist either. In fact the directory \qlo is located under > QuantLibAddins, not QuantLibXL... > > Any help appreciated. > > Regards > Rajiv ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
unknown location(0): fatal error in "QuantLib::detail::quantlib_test_case(&SwaptionTest::testCashSettledSwaptions)": std::exception: 1st leg: d1 (March 31st, 2015) later than d2 (March 30th, 2015)
c:\quantlib-1.2\test-suite\utilities.hpp(78): last checkpoint The test suite - Swaption is run on today (CommonVars) = March 24, 2012 with the above error. Tried with other days 25, 26, March, 2012 have the same problem For today = March 27, 2012, the same error with d1 and d2 changed to 2020 It run fine if today = March 23, 2012 As I just started going through the system, what does it mean and the cause of the problem? Meanwhile, I am going over the Example Code on Market Model, two questions: 1. What is the Pathwise Greeks methodology used for the simulation, the 1999 Glasserman & Zhao, or the Adjoint method, or the more current modified adjoint method? 2. What is that upper/inner bound calculation? What is outer paths and inner paths? Many Thanks ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
On Sat, Mar 24, 2012 at 4:13 PM, Billy Ng <[hidden email]> wrote:
> unknown location(0): fatal error in "QuantLib::detail::quantlib_test_case(&SwaptionTest::testCashSettledSwaptions)": std::exception: 1st leg: d1 (March 31st, 2015) later than d2 (March 30th, 2015) > c:\quantlib-1.2\test-suite\utilities.hpp(78): last checkpoint > > The test suite - Swaption is run on today (CommonVars) = March 24, 2012 with the above error. > As I just started going through the system, what does it mean and the cause of the problem? Date adjustments going awry on an end of month, I guess. We'll have to investigate. Later, Luigi ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
As expected, it was a problem with date adjustments. I just committed a fix.
Thanks for the heads-up. Luigi On Mon, Mar 26, 2012 at 4:16 PM, Luigi Ballabio <[hidden email]> wrote: > On Sat, Mar 24, 2012 at 4:13 PM, Billy Ng <[hidden email]> wrote: >> unknown location(0): fatal error in "QuantLib::detail::quantlib_test_case(&SwaptionTest::testCashSettledSwaptions)": std::exception: 1st leg: d1 (March 31st, 2015) later than d2 (March 30th, 2015) >> c:\quantlib-1.2\test-suite\utilities.hpp(78): last checkpoint >> >> The test suite - Swaption is run on today (CommonVars) = March 24, 2012 with the above error. >> As I just started going through the system, what does it mean and the cause of the problem? > > Date adjustments going awry on an end of month, I guess. We'll have > to investigate. > > Later, > Luigi ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Any comment on my other two questions on Market Model Example Code?
1. What is the Pathwise Greeks methodology used in the simulation? 2. What is that upper/inner bound calculation in the example code? What is outer paths and inner paths? Billy Ng -----Original Message----- From: Luigi Ballabio [mailto:[hidden email]] Sent: Wednesday, March 28, 2012 9:04 PM To: Billy Ng Cc: [hidden email] Subject: Re: QuantLib 1.2 Test Suite - Swaption Test Valiadtion Fails As expected, it was a problem with date adjustments. I just committed a fix. Thanks for the heads-up. Luigi On Mon, Mar 26, 2012 at 4:16 PM, Luigi Ballabio <[hidden email]> wrote: > On Sat, Mar 24, 2012 at 4:13 PM, Billy Ng <[hidden email]> wrote: >> unknown location(0): fatal error in "QuantLib::detail::quantlib_test_case(&SwaptionTest::testCashSettledSwaptions)": std::exception: 1st leg: d1 (March 31st, 2015) later than d2 (March 30th, 2015) >> c:\quantlib-1.2\test-suite\utilities.hpp(78): last checkpoint >> >> The test suite - Swaption is run on today (CommonVars) = March 24, 2012 with the above error. >> As I just started going through the system, what does it mean and the cause of the problem? > > Date adjustments going awry on an end of month, I guess. We'll have > to investigate. > > Later, > Luigi This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
I'd refer you to Mark Joshi's papers for those. For instance,
<http://ssrn.com/abstract=907407> and <http://ssrn.com/abstract=1768409>. Mark, are you reading? Any other suggestion? Luigi On Wed, Mar 28, 2012 at 3:09 PM, Billy Ng <[hidden email]> wrote: > Any comment on my other two questions on Market Model Example Code? > > 1. What is the Pathwise Greeks methodology used in the simulation? > 2. What is that upper/inner bound calculation in the example code? What is outer paths and inner paths? ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |