You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(17) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(23) |
| 2002 |
Jan
(18) |
Feb
(20) |
Mar
(22) |
Apr
(41) |
May
(28) |
Jun
(25) |
Jul
(10) |
Aug
(7) |
Sep
(5) |
Oct
(20) |
Nov
(13) |
Dec
(11) |
| 2003 |
Jan
(28) |
Feb
(5) |
Mar
(6) |
Apr
(5) |
May
(17) |
Jun
(6) |
Jul
(45) |
Aug
(35) |
Sep
(24) |
Oct
(50) |
Nov
(53) |
Dec
(6) |
| 2004 |
Jan
(4) |
Feb
(10) |
Mar
(52) |
Apr
(46) |
May
(8) |
Jun
(25) |
Jul
(12) |
Aug
(6) |
Sep
(8) |
Oct
(8) |
Nov
(9) |
Dec
(7) |
| 2005 |
Jan
(18) |
Feb
(60) |
Mar
(19) |
Apr
(26) |
May
(14) |
Jun
(27) |
Jul
(8) |
Aug
(15) |
Sep
(19) |
Oct
(53) |
Nov
(20) |
Dec
(23) |
| 2006 |
Jan
(16) |
Feb
(27) |
Mar
(33) |
Apr
(51) |
May
(36) |
Jun
(25) |
Jul
(54) |
Aug
(30) |
Sep
(25) |
Oct
(67) |
Nov
(43) |
Dec
(13) |
| 2007 |
Jan
(23) |
Feb
(27) |
Mar
(55) |
Apr
(79) |
May
(60) |
Jun
(66) |
Jul
(46) |
Aug
(30) |
Sep
(90) |
Oct
(49) |
Nov
(85) |
Dec
(74) |
| 2008 |
Jan
(68) |
Feb
(59) |
Mar
(64) |
Apr
(28) |
May
(66) |
Jun
(35) |
Jul
(73) |
Aug
(76) |
Sep
(65) |
Oct
(46) |
Nov
(41) |
Dec
(19) |
| 2009 |
Jan
(46) |
Feb
(90) |
Mar
(51) |
Apr
(104) |
May
(13) |
Jun
(24) |
Jul
(20) |
Aug
(39) |
Sep
(109) |
Oct
(101) |
Nov
(117) |
Dec
(57) |
| 2010 |
Jan
(55) |
Feb
(42) |
Mar
(39) |
Apr
(22) |
May
(33) |
Jun
(41) |
Jul
(25) |
Aug
(52) |
Sep
(75) |
Oct
(60) |
Nov
(62) |
Dec
(52) |
| 2011 |
Jan
(70) |
Feb
(31) |
Mar
(26) |
Apr
(28) |
May
(17) |
Jun
(38) |
Jul
(51) |
Aug
(35) |
Sep
(27) |
Oct
(35) |
Nov
(10) |
Dec
(20) |
| 2012 |
Jan
(21) |
Feb
(29) |
Mar
(13) |
Apr
(37) |
May
(33) |
Jun
(12) |
Jul
(34) |
Aug
(27) |
Sep
(29) |
Oct
(35) |
Nov
(58) |
Dec
(27) |
| 2013 |
Jan
(27) |
Feb
(16) |
Mar
(40) |
Apr
(16) |
May
(34) |
Jun
(37) |
Jul
(6) |
Aug
(3) |
Sep
(4) |
Oct
(49) |
Nov
(13) |
Dec
(12) |
| 2014 |
Jan
(15) |
Feb
(21) |
Mar
(11) |
Apr
(13) |
May
(27) |
Jun
(60) |
Jul
(19) |
Aug
(29) |
Sep
(20) |
Oct
(28) |
Nov
(41) |
Dec
(15) |
| 2015 |
Jan
(33) |
Feb
(29) |
Mar
(26) |
Apr
(17) |
May
(2) |
Jun
(13) |
Jul
(21) |
Aug
(30) |
Sep
(22) |
Oct
(15) |
Nov
(46) |
Dec
(20) |
| 2016 |
Jan
(6) |
Feb
(5) |
Mar
(9) |
Apr
(15) |
May
(9) |
Jun
(4) |
Jul
(3) |
Aug
(4) |
Sep
(39) |
Oct
(8) |
Nov
(5) |
Dec
(8) |
| 2017 |
Jan
(4) |
Feb
(14) |
Mar
(4) |
Apr
(16) |
May
(5) |
Jun
(10) |
Jul
(25) |
Aug
(2) |
Sep
(5) |
Oct
(11) |
Nov
(8) |
Dec
(11) |
| 2018 |
Jan
(7) |
Feb
(4) |
Mar
|
Apr
(1) |
May
(4) |
Jun
(21) |
Jul
(8) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2019 |
Jan
(1) |
Feb
(5) |
Mar
(18) |
Apr
(9) |
May
(5) |
Jun
(21) |
Jul
(25) |
Aug
(25) |
Sep
(4) |
Oct
(2) |
Nov
(2) |
Dec
(5) |
| 2020 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(6) |
Dec
|
| 2021 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(4) |
Jun
|
Jul
(1) |
Aug
|
Sep
(2) |
Oct
(9) |
Nov
(1) |
Dec
(5) |
| 2022 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
(2) |
May
(5) |
Jun
(3) |
Jul
(3) |
Aug
(3) |
Sep
(3) |
Oct
(14) |
Nov
|
Dec
(1) |
| 2023 |
Jan
(10) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(2) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(5) |
Nov
|
Dec
|
| 2024 |
Jan
(8) |
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(4) |
Aug
(5) |
Sep
|
Oct
(4) |
Nov
(1) |
Dec
(1) |
| 2025 |
Jan
(3) |
Feb
(2) |
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2026 |
Jan
(1) |
Feb
(12) |
Mar
|
Apr
(2) |
May
(8) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Hao Z. <ha...@ha...> - 2017-07-05 14:09:07
|
Hi Luigi, I was not aware of the difference between std::shared_ptr and boost::shared_ptr. After checking the source code for GCC, I found that at least in GCC, std::shared_ptr also has the check for nullptr. However this check is only available in debug mode. Hao On Wednesday, July 5, 2017 8:31:05 AM EDT Luigi Ballabio wrote: > A warning on shared_ptr, though: unlike boost::shared_ptr, std::shared_ptr > can't be configured to throw an exception when accessing a null pointer, so > a call to p->foo() segfaults. Currently we rely on boost's behavior and > don't have checks for null pointers (which is convenient, but we're > probably making lots of unnecessary checks at each method call instead of > checking for nulls just once) so they should probably be added before the > library is safely usable. > > Luigi > > > On Wed, Jul 5, 2017 at 12:05 PM Johannes Göttker-Schnetmann < > jsc...@gm...> wrote: > > > Hi Hao, Peter, > > > > I also find this very interesting. Since C++ is moving at a better pace > > for some time we need at some point decide how QuantLib reacts to this. > > Personally I am using modern compilers and like the features modern C++ > > provides. Therefore I would appreciate if QuantLib decides to fork or move > > completely to a modern C++ version. > > > > Boost is in part an incubator of ideas, which at some point might make it > > into the C++ standard. For QuantLib the most prominent instances are > > boost::shared_pointer and boost:unique_pointer which are both in the > > standard for quite some time now. I would prefer to use the standard > > libraries instead of boost in those cases. > > > > Kind regards, > > Johannes > > > > On 4. Jul 2017, at 17:38, Peter Caspers <pca...@gm...> wrote: > > > > Hi Hao, thatâs very interesting. Do you know where the performance gain is > > coming from, is it mostly MKL vs. UBLAS? Or are there other drivers as > > well? > > Iâd also be interested in the motivation to do this in the first place, I > > never thought boost as such was a bad thing? > > The upgrade to C++17 is surely nice and makes sense, no doubt. > > Best Regards > > Peter > > > > On 04 Jul 2017, at 09:42, Luigi Ballabio <lui...@gm...> wrote: > > > > Hello Hao, > > that's great news---I've been wondering myself if this was possible. > > I'll be sure to check out your project. > > I suggest you also post to quantlib-users for greater exposure. > > > > Later, > > Luigi > > > > > > On Tue, Jul 4, 2017 at 5:24 AM Hao Zhang via QuantLib-dev < > > qua...@li...> wrote: > > > >> Hello Everyone, > >> > >> I have removed all Boost dependency from QuantLib, and ported QuantLib to > >> C++17. The code is hosted on GitHub (https://github.com/haozhangphd/ > >> QuantLib-noBoost <https://github.com/haozhangphd/QuantLib-noBoost>). > >> > >> The ported code passes all test cases, and there are significant > >> performance improvements in SOME functionalities. Using the QuantLib > >> Benchmark Suite, Quantlib-noBoost gives 3425 mflops (running time 13.15s), > >> while unmodified QuantLib gives 1440 mflops (running time 44.8s) on my > >> Dell > >> Inspiron 13 i7348 laptop, both running under identical conditions with > >> identical compiler flags. The total running time of the whole test suite > >> is > >> also shorter by ~10% after Boost is removed. > >> > >> I will continue maintaining this project, and regularly backporting latest > >> commits from QuantLib. I will also make this project work on other > >> compilers besides GCC in the near future. > >> > >> Best Regards, > >> > >> Hao > >> > >> > >> ------------------------------------------------------------------------------ > >> Check out the vibrant tech community on one of the world's most > >> engaging tech sites, Slashdot.org <http://slashdot.org/>! > >> http://sdm.link/slashdot > >> _______________________________________________ > >> QuantLib-dev mailing list > >> Qua...@li... > >> https://lists.sourceforge.net/lists/listinfo/quantlib-dev > >> > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org <http://slashdot.org/>! > > http://sdm.link/slashdot_______________________________________________ > > QuantLib-dev mailing list > > Qua...@li... > > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > > > > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! > > http://sdm.link/slashdot_______________________________________________ > > QuantLib-dev mailing list > > Qua...@li... > > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > > > > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > QuantLib-dev mailing list > > Qua...@li... > > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > |
|
From: Luigi B. <lui...@gm...> - 2017-07-05 12:31:22
|
A warning on shared_ptr, though: unlike boost::shared_ptr, std::shared_ptr can't be configured to throw an exception when accessing a null pointer, so a call to p->foo() segfaults. Currently we rely on boost's behavior and don't have checks for null pointers (which is convenient, but we're probably making lots of unnecessary checks at each method call instead of checking for nulls just once) so they should probably be added before the library is safely usable. Luigi On Wed, Jul 5, 2017 at 12:05 PM Johannes Göttker-Schnetmann < jsc...@gm...> wrote: > Hi Hao, Peter, > > I also find this very interesting. Since C++ is moving at a better pace > for some time we need at some point decide how QuantLib reacts to this. > Personally I am using modern compilers and like the features modern C++ > provides. Therefore I would appreciate if QuantLib decides to fork or move > completely to a modern C++ version. > > Boost is in part an incubator of ideas, which at some point might make it > into the C++ standard. For QuantLib the most prominent instances are > boost::shared_pointer and boost:unique_pointer which are both in the > standard for quite some time now. I would prefer to use the standard > libraries instead of boost in those cases. > > Kind regards, > Johannes > > On 4. Jul 2017, at 17:38, Peter Caspers <pca...@gm...> wrote: > > Hi Hao, that’s very interesting. Do you know where the performance gain is > coming from, is it mostly MKL vs. UBLAS? Or are there other drivers as > well? > I’d also be interested in the motivation to do this in the first place, I > never thought boost as such was a bad thing? > The upgrade to C++17 is surely nice and makes sense, no doubt. > Best Regards > Peter > > On 04 Jul 2017, at 09:42, Luigi Ballabio <lui...@gm...> wrote: > > Hello Hao, > that's great news---I've been wondering myself if this was possible. > I'll be sure to check out your project. > I suggest you also post to quantlib-users for greater exposure. > > Later, > Luigi > > > On Tue, Jul 4, 2017 at 5:24 AM Hao Zhang via QuantLib-dev < > qua...@li...> wrote: > >> Hello Everyone, >> >> I have removed all Boost dependency from QuantLib, and ported QuantLib to >> C++17. The code is hosted on GitHub (https://github.com/haozhangphd/ >> QuantLib-noBoost <https://github.com/haozhangphd/QuantLib-noBoost>). >> >> The ported code passes all test cases, and there are significant >> performance improvements in SOME functionalities. Using the QuantLib >> Benchmark Suite, Quantlib-noBoost gives 3425 mflops (running time 13.15s), >> while unmodified QuantLib gives 1440 mflops (running time 44.8s) on my >> Dell >> Inspiron 13 i7348 laptop, both running under identical conditions with >> identical compiler flags. The total running time of the whole test suite >> is >> also shorter by ~10% after Boost is removed. >> >> I will continue maintaining this project, and regularly backporting latest >> commits from QuantLib. I will also make this project work on other >> compilers besides GCC in the near future. >> >> Best Regards, >> >> Hao >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org <http://slashdot.org/>! >> http://sdm.link/slashdot >> _______________________________________________ >> QuantLib-dev mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-dev >> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org <http://slashdot.org/>! > http://sdm.link/slashdot_______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! > http://sdm.link/slashdot_______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > |
|
From: Johannes Göttker-S. <jsc...@gm...> - 2017-07-05 10:02:30
|
Hi Hao, Peter,
I also find this very interesting. Since C++ is moving at a better pace for
some time we need at some point decide how QuantLib reacts to this.
Personally I am using modern compilers and like the features modern C++
provides. Therefore I would appreciate if QuantLib decides to fork or move
completely to a modern C++ version.
Boost is in part an incubator of ideas, which at some point might make it
into the C++ standard. For QuantLib the most prominent instances are
boost::shared_pointer and boost:unique_pointer which are both in the
standard for quite some time now. I would prefer to use the standard
libraries instead of boost in those cases.
Kind regards,
Johannes
On 4. Jul 2017, at 17:38, Peter Caspers <pca...@gm...> wrote:
Hi Hao, that’s very interesting. Do you know where the performance gain is
coming from, is it mostly MKL vs. UBLAS? Or are there other drivers as
well?
I’d also be interested in the motivation to do this in the first place, I
never thought boost as such was a bad thing?
The upgrade to C++17 is surely nice and makes sense, no doubt.
Best Regards
Peter
On 04 Jul 2017, at 09:42, Luigi Ballabio <lui...@gm...> wrote:
Hello Hao,
that's great news---I've been wondering myself if this was possible.
I'll be sure to check out your project.
I suggest you also post to quantlib-users for greater exposure.
Later,
Luigi
On Tue, Jul 4, 2017 at 5:24 AM Hao Zhang via QuantLib-dev <
qua...@li...> wrote:
> Hello Everyone,
>
> I have removed all Boost dependency from QuantLib, and ported QuantLib to
> C++17. The code is hosted on GitHub (https://github.com/haozhangphd/
> QuantLib-noBoost <https://github.com/haozhangphd/QuantLib-noBoost>).
>
> The ported code passes all test cases, and there are significant
> performance improvements in SOME functionalities. Using the QuantLib
> Benchmark Suite, Quantlib-noBoost gives 3425 mflops (running time 13.15s),
> while unmodified QuantLib gives 1440 mflops (running time 44.8s) on my Dell
> Inspiron 13 i7348 laptop, both running under identical conditions with
> identical compiler flags. The total running time of the whole test suite is
> also shorter by ~10% after Boost is removed.
>
> I will continue maintaining this project, and regularly backporting latest
> commits from QuantLib. I will also make this project work on other
> compilers besides GCC in the near future.
>
> Best Regards,
>
> Hao
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org <http://slashdot.org/>!
> http://sdm.link/slashdot
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org <http://slashdot.org/>!
http://sdm.link/slashdot_______________________________________________
QuantLib-dev mailing list
Qua...@li...
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
_________________________________________
QuantLib-dev mailing list
Qua...@li...
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
|
|
From: Hao Z. <ha...@ha...> - 2017-07-05 05:48:00
|
Hello Everyone, I just tried the SWIG Python binding with QuantLib-noBoost, and I found the Python binding works after little amount of modification (all test cases pass). My modified SWIG codes are here: https://github.com/haozhangphd/QuantLib-noBoost-SWIG. I only tried the Python binding, but I suppose other languages should also work. Best Regards, Hao On Tuesday, July 4, 2017 1:44:24 PM MDT Hao Zhang via QuantLib-users wrote: > Hello Everyone, > > I have removed all Boost dependency from QuantLib, and ported QuantLib to > C++17. The code is hosted on GitHub > (https://github.com/haozhangphd/QuantLib-noBoost). > > The ported code passes all test cases with no performance penalty. There are > significant performance improvements in SOME functionalities. The total > running time of the whole test suite is shorter by ~10% after Boost is > removed. > > I will continue maintaining this project, and regularly backport latest > commits from QuantLib. I will also make this project work on other > compilers besides GCC in the near future. > > Best Regards, > > Hao > > ---------------------------------------------------------------------------- > -- Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Hao Z. <ha...@ha...> - 2017-07-04 19:28:25
|
Hi Peter and Luigi, Thank you very much for your support! No, the performance gain is not from MKL, as MKL is not used in the default setting. I am sorry that I cannot pinpoint the exact source of performance gain yet. My hunch is that many Boost modules are quite general, and provide features that's not used by QuantLib. There are also safety checks in Boost that's not relevant to QuantLib. By targeting only QuantLib, I do not need to write many redundant features and safety checks, and avoid some extra instructions. Also the move semantics in modern C++ may also help with speed. I apologize that I cannot answer your question in more detail at this point. Best Regards, Hao On Tuesday, July 4, 2017 11:38:00 AM EDT Peter Caspers wrote: > Hi Hao, that's very interesting. Do you know where the performance gain > is coming from, is it mostly MKL vs. UBLAS? Or are there other drivers > as well? I'd also be interested in the motivation to do this in the > first place, I never thought boost as such was a bad thing? The upgrade > to C++17 is surely nice and makes sense, no doubt. Best Regards > Peter > > > On 04 Jul 2017, at 09:42, Luigi Ballabio <lui...@gm...> > > wrote: > > > > Hello Hao, > > > > that's great news---I've been wondering myself if this was > > possible. I'll be sure to check out your project.> > > I suggest you also post to quantlib-users for greater exposure. > > > > Later, > > > > Luigi > > > > On Tue, Jul 4, 2017 at 5:24 AM Hao Zhang via QuantLib-dev > > <qua...@li... > > <mailto:qua...@li...>> wrote: Hello Everyone, > > > > I have removed all Boost dependency from QuantLib, and ported QuantLib > > to C++17. The code is hosted on GitHub > > (https://github.com/haozhangphd/ QuantLib-noBoost > > <https://github.com/haozhangphd/QuantLib-noBoost>). > > > > The ported code passes all test cases, and there are significant > > performance improvements in SOME functionalities. Using the QuantLib > > Benchmark Suite, Quantlib-noBoost gives 3425 mflops (running time > > 13.15s), while unmodified QuantLib gives 1440 mflops (running time > > 44.8s) on my Dell Inspiron 13 i7348 laptop, both running under > > identical conditions with identical compiler flags. The total running > > time of the whole test suite is also shorter by ~10% after Boost is > > removed. > > > > I will continue maintaining this project, and regularly backporting > > latest commits from QuantLib. I will also make this project work on > > other compilers besides GCC in the near future. > > > > Best Regards, > > > > Hao > > > > ---------------------------------------------------------------------- > > -------- Check out the vibrant tech community on one of the world's > > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > <http://sdm.link/slashdot> > > _______________________________________________ > > QuantLib-dev mailing list > > Qua...@li... > > <mailto:Qua...@li...> > > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > <https://lists.sourceforge.net/lists/listinfo/quantlib-dev> > > --------------------------------------------------------------------- > > --------- Check out the vibrant tech community on one of the world's > > most engaging tech sites, Slashdot.org! > > http://sdm.link/slashdot_____________________________________________ > > __ QuantLib-dev mailing list > > Qua...@li... > > https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
|
From: Peter C. <pca...@gm...> - 2017-07-04 15:38:11
|
Hi Hao, that’s very interesting. Do you know where the performance gain is coming from, is it mostly MKL vs. UBLAS? Or are there other drivers as well? I’d also be interested in the motivation to do this in the first place, I never thought boost as such was a bad thing? The upgrade to C++17 is surely nice and makes sense, no doubt. Best Regards Peter > On 04 Jul 2017, at 09:42, Luigi Ballabio <lui...@gm...> wrote: > > Hello Hao, > that's great news---I've been wondering myself if this was possible. I'll be sure to check out your project. > I suggest you also post to quantlib-users for greater exposure. > > Later, > Luigi > > > On Tue, Jul 4, 2017 at 5:24 AM Hao Zhang via QuantLib-dev <qua...@li... <mailto:qua...@li...>> wrote: > Hello Everyone, > > I have removed all Boost dependency from QuantLib, and ported QuantLib to > C++17. The code is hosted on GitHub (https://github.com/haozhangphd/ > QuantLib-noBoost <https://github.com/haozhangphd/QuantLib-noBoost>). > > The ported code passes all test cases, and there are significant > performance improvements in SOME functionalities. Using the QuantLib > Benchmark Suite, Quantlib-noBoost gives 3425 mflops (running time 13.15s), > while unmodified QuantLib gives 1440 mflops (running time 44.8s) on my Dell > Inspiron 13 i7348 laptop, both running under identical conditions with > identical compiler flags. The total running time of the whole test suite is > also shorter by ~10% after Boost is removed. > > I will continue maintaining this project, and regularly backporting latest > commits from QuantLib. I will also make this project work on other > compilers besides GCC in the near future. > > Best Regards, > > Hao > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot <http://sdm.link/slashdot> > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... <mailto:Qua...@li...> > https://lists.sourceforge.net/lists/listinfo/quantlib-dev <https://lists.sourceforge.net/lists/listinfo/quantlib-dev> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
|
From: Luigi B. <lui...@gm...> - 2017-07-04 07:43:07
|
Hello Hao,
that's great news---I've been wondering myself if this was possible.
I'll be sure to check out your project.
I suggest you also post to quantlib-users for greater exposure.
Later,
Luigi
On Tue, Jul 4, 2017 at 5:24 AM Hao Zhang via QuantLib-dev <
qua...@li...> wrote:
> Hello Everyone,
>
> I have removed all Boost dependency from QuantLib, and ported QuantLib to
> C++17. The code is hosted on GitHub (https://github.com/haozhangphd/
> QuantLib-noBoost <https://github.com/haozhangphd/QuantLib-noBoost>).
>
> The ported code passes all test cases, and there are significant
> performance improvements in SOME functionalities. Using the QuantLib
> Benchmark Suite, Quantlib-noBoost gives 3425 mflops (running time 13.15s),
> while unmodified QuantLib gives 1440 mflops (running time 44.8s) on my Dell
> Inspiron 13 i7348 laptop, both running under identical conditions with
> identical compiler flags. The total running time of the whole test suite is
> also shorter by ~10% after Boost is removed.
>
> I will continue maintaining this project, and regularly backporting latest
> commits from QuantLib. I will also make this project work on other
> compilers besides GCC in the near future.
>
> Best Regards,
>
> Hao
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
|
|
From: Hao Z. <ha...@ha...> - 2017-07-04 03:20:44
|
Hello Everyone, I have removed all Boost dependency from QuantLib, and ported QuantLib to C++17. The code is hosted on GitHub (https://github.com/haozhangphd/ QuantLib-noBoost). The ported code passes all test cases, and there are significant performance improvements in SOME functionalities. Using the QuantLib Benchmark Suite, Quantlib-noBoost gives 3425 mflops (running time 13.15s), while unmodified QuantLib gives 1440 mflops (running time 44.8s) on my Dell Inspiron 13 i7348 laptop, both running under identical conditions with identical compiler flags. The total running time of the whole test suite is also shorter by ~10% after Boost is removed. I will continue maintaining this project, and regularly backporting latest commits from QuantLib. I will also make this project work on other compilers besides GCC in the near future. Best Regards, Hao |
|
From: Luigi B. <lui...@gm...> - 2017-06-26 09:28:02
|
Hello,
did you try to compile from a released archive or a git clone? It looks
like, for some reason, make is trying to (re)generate the wrapper code. The
errors are because ./configure didn't find swig, and now it's replacing it
with a null string so "swig -csharp" becomes "-csharp" and make tries to
execute that.
Workarounds: either install swig (which you might need later if you change
anything), or try again downloading the release from <
https://sourceforge.net/projects/quantlib/files/QuantLib/1.10/other%20languages/
>.
As for Ruby: I haven't been able to make that work for a while, but I
haven't tackled the problem since I'm not a Ruby programmer. It would be
great if you managed to fix the build.
Hope this helps,
Luigi
On Sun, Jun 25, 2017 at 7:06 PM Die Optimisten <in...@di...>
wrote:
> Hi,
> I tried to compile latest (stable) Ver 1.10;
> because logfiles are large, I attached them:
> log.txt;: stdout/stderr
> config.log settings-Output
>
> Why is CSharp compiled, when --disabled ?
> Do others depend on this?
>
> I disabled it because of
> csharp -c++ -outdir csharp -namespace QuantLib -o
> cpp/quantlib_wrap.cpp ../SWIG/quantlib.i
> error CS2007: Unrecognized command-line option: `-c++'
> USING Linux Debian
> ------
> guile: command not found # Whats THAT for??
> (Err 127) -- ignored # ok
> ------
> java -c++ -outdir org/quantlib \
> -package org.quantlib -o quantlib_wrap.cpp ../SWIG/quantlib.i
> Unrecognized option: -c++
> Error: Could not create the Java Virtual Machine.
>
> But:
> $ java -version
> java version "1.7.0_131"
> OpenJDK Runtime Environment (IcedTea 2.6.9) (7u131-2.6.9-2~deb7u1)
> OpenJDK 64-Bit Server VM (build 24.131-b00, mixed mode)
> -----------
> Python:
> creating build/temp.linux-x86_64-2.7/QuantLib
> gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
> QuantLib/quantlib_wrap.cpp -o
> build/temp.linux-x86_64-2.7/QuantLib/quantlib_wrap.o -Wno-unused -g -O2
> -fno-strict-aliasing -Wno-unused -Wno-uninitialized -Wno-sign-compare
> -Wno-write-strings
> gcc: error: QuantLib/quantlib_wrap.cpp: No such file or directory
> gcc: fatal error: no input files
> compilation terminated.
> error: command 'gcc' failed with exit status 4
> ------------
> R:
> /bin/bash: r: command not found
> make[1]: [src/QuantLib.cpp] Error 127 (ignored)
> mv src/QuantLib.R R/
> mv: cannot stat `src/QuantLib.R': No such file or directory
> make[1]: *** [src/QuantLib.cpp] Error 1
> make[1]: Leaving directory
> `/mnt/A4/TmpTmp-Anschauen/Filme/Temp/X/QuantLib/QuantLib-SWIG-1.10/R'
> make: *** [all-recursive] Error 1
>
> => after all except Ruby are disabled!!
>
> What is wrong here?
>
> -- Thanks Andrew --
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
|
|
From: Die O. <in...@di...> - 2017-06-25 17:03:34
|
Hi,
I tried to compile latest (stable) Ver 1.10;
because logfiles are large, I attached them:
log.txt;: stdout/stderr
config.log settings-Output
Why is CSharp compiled, when --disabled ?
Do others depend on this?
I disabled it because of
csharp -c++ -outdir csharp -namespace QuantLib -o
cpp/quantlib_wrap.cpp ../SWIG/quantlib.i
error CS2007: Unrecognized command-line option: `-c++'
USING Linux Debian
------
guile: command not found # Whats THAT for??
(Err 127) -- ignored # ok
------
java -c++ -outdir org/quantlib \
-package org.quantlib -o quantlib_wrap.cpp ../SWIG/quantlib.i
Unrecognized option: -c++
Error: Could not create the Java Virtual Machine.
But:
$ java -version
java version "1.7.0_131"
OpenJDK Runtime Environment (IcedTea 2.6.9) (7u131-2.6.9-2~deb7u1)
OpenJDK 64-Bit Server VM (build 24.131-b00, mixed mode)
-----------
Python:
creating build/temp.linux-x86_64-2.7/QuantLib
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
QuantLib/quantlib_wrap.cpp -o
build/temp.linux-x86_64-2.7/QuantLib/quantlib_wrap.o -Wno-unused -g -O2
-fno-strict-aliasing -Wno-unused -Wno-uninitialized -Wno-sign-compare
-Wno-write-strings
gcc: error: QuantLib/quantlib_wrap.cpp: No such file or directory
gcc: fatal error: no input files
compilation terminated.
error: command 'gcc' failed with exit status 4
------------
R:
/bin/bash: r: command not found
make[1]: [src/QuantLib.cpp] Error 127 (ignored)
mv src/QuantLib.R R/
mv: cannot stat `src/QuantLib.R': No such file or directory
make[1]: *** [src/QuantLib.cpp] Error 1
make[1]: Leaving directory
`/mnt/A4/TmpTmp-Anschauen/Filme/Temp/X/QuantLib/QuantLib-SWIG-1.10/R'
make: *** [all-recursive] Error 1
=> after all except Ruby are disabled!!
What is wrong here?
-- Thanks Andrew --
|
|
From: Die O. <in...@di...> - 2017-06-25 15:03:33
|
Hello, has anyone installed it using SWIG with Ruby ? I tried it half a year ago and failed, but now it's a newer version, maybe things have changed... Dependencies: Which libs-versions are necessary to compile it? Where do I find a *beginners* doc for Quantlib? All seen on the docu-Page is the Reference? What could I read to get the "finance-wisdom" to use it? (Maybe you want to answer me directly, because the mailing-list is about the LIBRARY...) thanks Andrew |
|
From: Luigi B. <lui...@gm...> - 2017-06-14 09:52:50
|
I haven't been using the Excel addin for a long time, but looking at the code it doesn't seem that callable bonds are exported. Luigi On Fri, Jun 2, 2017 at 10:09 AM aubertseba <seb...@gm...> wrote: > Hi, > > I would like to know how to price a callable bond with QuantlibXL 1.8 or > 1.9 > ? Thanks in advance for your response. > > Sebastien > > > > -- > View this message in context: > http://quantlib.10058.n7.nabble.com/Pricing-callable-bonds-with-QuantlibXL-1-8-or-1-9-tp18325.html > Sent from the quantlib-dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > |
|
From: Luigi B. <lui...@gm...> - 2017-06-06 09:32:20
|
Hello Richard,
the code for binomial and trinomial trees is in the
`ql/methods/lattices` folder. For an example of code instantiating a
binomial tree, you can look at the BinomialVanillaEngine class in
`ql/pricingengines/vanilla/binomialengine.hpp`. For a trinomial tree, you
can look at any of the models in `ql/models/shortrate`.
Luigi
On Fri, Jun 2, 2017 at 3:48 PM Richard Fu <RF...@fi...> wrote:
> Hi,
>
>
>
> I wonder if anyone has sample code that instantiates StochasticProccess1D
> and builds binomial or trinomial trees? Thanks!
>
>
>
>
>
> *Richard *
>
>
> ________________________________________
> CONFIDENTIALITY NOTICE
>
> This email transmission, and any documents, files or previous email
> messages attached to it may contain information that is confidential or
> legally privileged.
>
> If you are not the intended recipient,or a person responsible for
> delivering it to the intended recipient, you are hereby notified that you
> must not read this transmission and that any disclosure, copying, printing,
> distribution or use of any of the information contained in or attached to
> this transmission is STRICTLY PROHIBITED.
>
> If you have received this transmission in error, please immediately notify
> the sender by telephone or return email and delete the original
> transmission and its attachments without reading or saving in any manner.
> Thank you.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
|
|
From: Mehdi B. <meh...@gm...> - 2017-06-03 16:26:24
|
Dear Quantlib community, I am pleased to introduce you *Quantjudge*, the first on-line assessment platform dedicated to Quants. If you are hiring Quantitative analysts/developers, Quantjudge can really help you select the right candidates and make a difference. If you are looking for a new job, Quantjudge is also a good place to train and impress employers ! The tests involve Quantitative Finance Modelling (ex: Stochastic calculus, Statistics, Monte Carlo, VaR...) as well as coding (C++ /C#/Java/Python) in the form of multiple choice questions and live coding exercises. Examples of live coding tests : *Monte Carlo simulation:* http://account.quantjudge.com/inscriptionCandidat.php?lien=Black-Scholes-challenge *Linear regression :* http://account.quantjudge.com/inscriptionCandidat.php?lien=Linear-regression-challenge For more details, please visit us on : http://quantjudge.com/ Email: co...@qu... |
|
From: Luigi B. <lui...@gm...> - 2017-06-03 07:56:19
|
You can use the form at the bottom of https://lists.sourceforge.net/lists/listinfo/quantlib-dev On Sat, Jun 3, 2017, 06:45 Abhilaksh Sharma <abh...@gm...> wrote: > Hello, > I'd like to be removed from this mailing list. > > Best Regards > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > |
|
From: Abhilaksh S. <abh...@gm...> - 2017-06-03 04:43:24
|
Hello, I'd like to be removed from this mailing list. Best Regards |
|
From: Richard Fu <RF...@fi...> - 2017-06-02 13:45:33
|
Hi, I wonder if anyone has sample code that instantiates StochasticProccess1D and builds binomial or trinomial trees? Thanks! Richard ________________________________________ CONFIDENTIALITY NOTICE This email transmission, and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient,or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. Thank you. |
|
From: aubertseba <seb...@gm...> - 2017-06-02 08:08:06
|
Hi, I would like to know how to price a callable bond with QuantlibXL 1.8 or 1.9 ? Thanks in advance for your response. Sebastien -- View this message in context: http://quantlib.10058.n7.nabble.com/Pricing-callable-bonds-with-QuantlibXL-1-8-or-1-9-tp18325.html Sent from the quantlib-dev mailing list archive at Nabble.com. |
|
From: Luigi B. <lui...@gm...> - 2017-05-19 08:09:07
|
Not sure. You can remove boost::math, I guess.
For those systems, I suggest you fork the repo, create branches for each
system, add the changes you need, and merge upstream from time to time.
Luigi
On Fri, May 19, 2017 at 10:03 AM shailesh kumar <sha...@gm...>
wrote:
> Hi Luigi,
>
> I am building Quantlib on AIX 7 using xlC compiler and getting error for
> *boost::math::isnan*
> If i remove boost::math, the compilation goes through.
>
> Am i missing something? Please help me in getting this issue resolved.
>
>
> Making all in math
> source='gaussiannoncentralchisquaredpolynomial.cpp'
> object='gaussiannoncentralchisquaredpolynomial.lo' libtool=yes
> DEPDIR=.deps depmode=aix /bin/sh ../../../config/depcomp /bin/sh
> ../../../libtool --tag=CXX --mode=compile xlC_r -DHAVE_CONFIG_H -I.
> -I../../../ql -I../../.. -I../../..
> -I/scratch/ofsbuild/THIRDPARTY/BOOST_1.54/include -qrtti=all
> -DQL_PATCH_SOLARIS -c -o gaussiannoncentralchisquaredpolynomial.lo
> gaussiannoncentralchisquaredpolynomial.cpp
> libtool: compile: xlC_r -DHAVE_CONFIG_H -I. -I../../../ql -I../../..
> -I../../.. -I/scratch/ofsbuild/THIRDPARTY/BOOST_1.54/include -qrtti=all
> -DQL_PATCH_SOLARIS -c -M gaussiannoncentralchisquaredpolynomial.cpp -o
> gaussiannoncentralchisquaredpolynomial.o
> "gaussiannoncentralchisquaredpolynomial.cpp", line 133.26: 1540-0063 (S)
> The text "(" is unexpected.
> "gaussiannoncentralchisquaredpolynomial.cpp", line 147.26: 1540-0063 (S)
> The text "(" is unexpected.
> "gaussiannoncentralchisquaredpolynomial.cpp", line 165.26: 1540-0063 (S)
> The text "(" is unexpected.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 2.
>
>
> Thanks & Regards
> Shailesh Kumar
>
|
|
From: shailesh k. <sha...@gm...> - 2017-05-19 08:03:27
|
Hi Luigi,
I am building Quantlib on AIX 7 using xlC compiler and getting error for
*boost::math::isnan*
If i remove boost::math, the compilation goes through.
Am i missing something? Please help me in getting this issue resolved.
Making all in math
source='gaussiannoncentralchisquaredpolynomial.cpp'
object='gaussiannoncentralchisquaredpolynomial.lo' libtool=yes
DEPDIR=.deps depmode=aix /bin/sh ../../../config/depcomp /bin/sh
../../../libtool --tag=CXX --mode=compile xlC_r -DHAVE_CONFIG_H -I.
-I../../../ql -I../../.. -I../../..
-I/scratch/ofsbuild/THIRDPARTY/BOOST_1.54/include -qrtti=all
-DQL_PATCH_SOLARIS -c -o gaussiannoncentralchisquaredpolynomial.lo
gaussiannoncentralchisquaredpolynomial.cpp
libtool: compile: xlC_r -DHAVE_CONFIG_H -I. -I../../../ql -I../../..
-I../../.. -I/scratch/ofsbuild/THIRDPARTY/BOOST_1.54/include -qrtti=all
-DQL_PATCH_SOLARIS -c -M gaussiannoncentralchisquaredpolynomial.cpp -o
gaussiannoncentralchisquaredpolynomial.o
"gaussiannoncentralchisquaredpolynomial.cpp", line 133.26: 1540-0063 (S)
The text "(" is unexpected.
"gaussiannoncentralchisquaredpolynomial.cpp", line 147.26: 1540-0063 (S)
The text "(" is unexpected.
"gaussiannoncentralchisquaredpolynomial.cpp", line 165.26: 1540-0063 (S)
The text "(" is unexpected.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Thanks & Regards
Shailesh Kumar
|
|
From: Luigi B. <lui...@gm...> - 2017-05-16 08:36:34
|
QuantLib is a cross-platform, free/open-source quantitative finance C++ library for modeling, pricing, trading, and risk management in real-life. Version 1.10 has been released and is available for download at < http://quantlib.org/download.shtml>. Please post any problems you have with this release to the QuantLib mailing list (<qua...@li...>), or open a GitHub issue at < https://github.com/lballabio/quantlib/issues>. -- The QuantLib group |
|
From: Roland L. <rol...@qu...> - 2017-05-05 11:40:14
|
Dear all, ORE is the first end-to-end open source risk application based on QuantLib, see opensourcerisk.org <http://opensourcerisk.org/> and github.com/opensourcerisk/engine <https://github.com/opensourcerisk/engine>. This second release adds coverage for bonds, equity and inflation derivatives, as well as a framework for sensitivity analysis and stress testing. We hope that ORE will accelerate the process of the professional risk community embracing the Open Source opportunity to create a global standard. Please download the code and information at opensourcerisk.org <http://opensourcerisk.org/> and engage with your peers through the forum to contribute to the development of the next generation global risk standards. Best regards, Roland |
|
From: Eric E. <eri...@re...> - 2017-05-02 21:53:13
|
Hi All, QuantLibXL / QuantLibAddin / ObjectHandler version 1.9 has been released. This is the "old" build based on gensrc. Here is the link to the downloads page: http://sourceforge.net/projects/quantlib/files/ Here are the links to the updated web sites: http://www.objecthandler.org http://www.quantlibaddin.org http://www.quantlibxl.org Kind Regards, Eric |
|
From: Luigi B. <lui...@gm...> - 2017-04-19 20:48:30
|
Ok, thanks. I guess I'll just delete the gcc 3.4 branch then. On Wed, Apr 19, 2017, 22:46 shailesh kumar <sha...@gm...> wrote: > Hi Luigi, > > The gcc-3.4 branch on GitHub didn't work and landed up in compilation > issues. > > In order to maintain uniformity in Quantlib source code across all OS, i > have used Quantlib 1.10 with boost 1.54.0 to compile with gcc34/g++34 on > OEL 6 and build went through successfully. > > I am targeting Quantlib build on other OS such as OEL 7 (gcc/g++) , AIX > 6.1 / 7.1 (xlc_r/xlC_r) , Sun Solaris 10/11 (cc/CC) and will update in > couple of days. > > Thanks for your help. > > Regards > Shailesh Kumar > > > > > > > > > On Wed, Apr 19, 2017 at 9:41 PM, Luigi Ballabio <lui...@gm...> > wrote: > >> For instance, Boost 1.54 seems to work (apart from linking, but that >> might be an issue with the installation of gcc 3.4.6 I'm using). >> >> Luigi >> >> >> On Wed, Apr 19, 2017 at 5:07 PM Luigi Ballabio <lui...@gm...> >> wrote: >> >>> Please try to see if the gcc-3.4 branch on GitHub works for you. If so, >>> clone it in your repo so that you can maintain it in the future: I probably >>> won't include the changes in version 1.10. My suggestion of testing >>> earlier versions of Boost stands: most if not all the errors came from >>> Boost code. >>> >>> Luigi >>> >>> >>> On Wed, Apr 19, 2017 at 6:03 AM shailesh kumar < >>> sha...@gm...> wrote: >>> >>>> Hi Luigi/Dirk, >>>> >>>> Thanks for your quick response. >>>> >>>> I am forced to perform role of archaeologist :) >>>> >>>> My Modified Duration component was earlier based on Quantlib 0.9.7 >>>> (last built in 2007) but in order to support "negative jumps in >>>> interest-rate curves" and to incorporate other bug fixes, i upgraded >>>> the Quantlib version to latest keeping the compiler version same as >>>> component also had few external libraries dependencies built with >>>> gcc34/g++34 >>>> >>>> Luigi, >>>> >>>> As suggested, I ran ./configure CXXFLAGS='-DQL_PATCH_SOLARIS' but it >>>> failed at squarerootprocessrndcalculator.cpp:64: instantiated from here >>>> Request to please guide so as to disable it at my end to proceed >>>> further. >>>> >>>> Regards >>>> Shailesh Kumar >>>> >>>> >>>> >>>> >>>> >>>> On Wed, Apr 19, 2017 at 1:05 AM, Luigi Ballabio < >>>> lui...@gm...> wrote: >>>> >>>>> Oh, right, it was you for Solaris as well. It's good to have an >>>>> archaeologist around :) >>>>> >>>>> On Tue, Apr 18, 2017, 21:28 Luigi Ballabio <lui...@gm...> >>>>> wrote: >>>>> >>>>>> I second Dirk that we probably shouldn't put much effort in making >>>>>> that code compile. However, we can disable it so that the build succeeds, >>>>>> even if the resulting library will miss a few features. In fact, I did the >>>>>> same thing recently for an older Solaris compiler. May you try running >>>>>> configure as >>>>>> >>>>>> ./configure CXXFLAGS='-DQL_PATCH_SOLARIS' >>>>>> >>>>>> and see if you get to the end of the build? >>>>>> >>>>>> Luigi >>>>>> >>>>>> On Tue, Apr 18, 2017, 21:16 Dirk Eddelbuettel <ed...@de...> wrote: >>>>>> >>>>>>> >>>>>>> On 19 April 2017 at 00:23, shailesh kumar wrote: >>>>>>> | Hi Luigi, >>>>>>> | >>>>>>> | I tried compiling preliminary tarballs for QuantLib 1.10 >>>>>>> as available at < >>>>>>> | https://sourceforge.net/projects/quantlib/files/test> on OEL 6.7 >>>>>>> (Oracle Linux >>>>>>> | Server release 6.7) >>>>>>> | using gcc34/g++34 version gcc34 (GCC) 3.4.6 20060404 (Red Hat >>>>>>> 3.4.6-19.el6)/ >>>>>>> | g++34 (GCC) 3.4.6 20060404 (Red Hat 3.4.6-19.el6) along with Boost >>>>>>> version >>>>>>> | 1.62.0 >>>>>>> | >>>>>>> | I am getting below compilation error. >>>>>>> | >>>>>>> | ../../../ql/experimental/math/tcopulapolicy.hpp:134: >>>>>>> instantiated from here >>>>>>> | >>>>>>> /scratch/ofsaadb/build/CAP802_JAVA7_O12C/BOOSTNEW/include/boost/math/tools/ >>>>>>> | roots.hpp:68: error: no matching function for call to `get(const >>>>>>> | boost::fusion::tuple<long double, long double, >>>>>>> boost::fusion::void_, >>>>>>> | boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, >>>>>>> | boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, >>>>>>> | boost::fusion::void_>&)' >>>>>>> | make[3]: *** [gaussianlhplossmodel.lo] Error 1 >>>>>>> | make[3]: Leaving directory >>>>>>> `/scratch/ofsaaweb/QuantLib-suncc/ql/experimental/ >>>>>>> | credit' >>>>>>> | make[2]: *** [all-recursive] Error 1 >>>>>>> | make[2]: Leaving directory >>>>>>> `/scratch/ofsaaweb/QuantLib-suncc/ql/experimental' >>>>>>> | make[1]: *** [all-recursive] Error 1 >>>>>>> | make[1]: Leaving directory `/scratch/ofsaaweb/QuantLib-suncc/ql' >>>>>>> | make: *** [all] Error 2 >>>>>>> | >>>>>>> | Request to please help me resolving this issue. >>>>>>> | This works if i use gcc/g++ version 4.4.7 compiler but fails for >>>>>>> gcc34/g++34 >>>>>>> >>>>>>> I hope you do realize that gcc 3.4 was released _eleven_ years ago. >>>>>>> >>>>>>> Even 4.4.* is pretty ancient at an age of five years. >>>>>>> >>>>>>> Dirk >>>>>>> >>>>>>> | >>>>>>> | >>>>>>> | Regards >>>>>>> | Shailesh Kumar >>>>>>> | >>>>>>> | >>>>>>> | >>>>>>> | >>>>>>> | On Wed, Apr 12, 2017 at 9:16 PM, Luigi Ballabio < >>>>>>> lui...@gm...> >>>>>>> | wrote: >>>>>>> | >>>>>>> | Hi all, >>>>>>> | preliminary tarballs for QuantLib 1.10 are available at >>>>>>> <https:// >>>>>>> | sourceforge.net/projects/quantlib/files/test> (no docs yet, >>>>>>> but most >>>>>>> | changes are listed at >>>>>>> https://github.com/lballabio/QuantLib/milestone/5? >>>>>>> | closed=1). Please download them and try them out if you have >>>>>>> a few cycles >>>>>>> | available. >>>>>>> | >>>>>>> | Thanks, >>>>>>> | Luigi >>>>>>> | >>>>>>> | >>>>>>> | >>>>>>> | ------------------------------------------------------------ >>>>>>> | ------------------ >>>>>>> | Check out the vibrant tech community on one of the world's most >>>>>>> | engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>>>>> | _______________________________________________ >>>>>>> | QuantLib-users mailing list >>>>>>> | Qua...@li... >>>>>>> | https://lists.sourceforge.net/lists/listinfo/quantlib-users >>>>>>> | >>>>>>> | >>>>>>> | >>>>>>> | >>>>>>> ------------------------------------------------------------------------------ >>>>>>> | Check out the vibrant tech community on one of the world's most >>>>>>> | engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>>>>> | _______________________________________________ >>>>>>> | QuantLib-users mailing list >>>>>>> | Qua...@li... >>>>>>> | https://lists.sourceforge.net/lists/listinfo/quantlib-users >>>>>>> >>>>>>> -- >>>>>>> http://dirk.eddelbuettel.com | @eddelbuettel | ed...@de... >>>>>>> >>>>>> >>>> > |
|
From: shailesh k. <sha...@gm...> - 2017-04-19 20:46:16
|
Hi Luigi, The gcc-3.4 branch on GitHub didn't work and landed up in compilation issues. In order to maintain uniformity in Quantlib source code across all OS, i have used Quantlib 1.10 with boost 1.54.0 to compile with gcc34/g++34 on OEL 6 and build went through successfully. I am targeting Quantlib build on other OS such as OEL 7 (gcc/g++) , AIX 6.1 / 7.1 (xlc_r/xlC_r) , Sun Solaris 10/11 (cc/CC) and will update in couple of days. Thanks for your help. Regards Shailesh Kumar On Wed, Apr 19, 2017 at 9:41 PM, Luigi Ballabio <lui...@gm...> wrote: > For instance, Boost 1.54 seems to work (apart from linking, but that might > be an issue with the installation of gcc 3.4.6 I'm using). > > Luigi > > > On Wed, Apr 19, 2017 at 5:07 PM Luigi Ballabio <lui...@gm...> > wrote: > >> Please try to see if the gcc-3.4 branch on GitHub works for you. If so, >> clone it in your repo so that you can maintain it in the future: I probably >> won't include the changes in version 1.10. My suggestion of testing >> earlier versions of Boost stands: most if not all the errors came from >> Boost code. >> >> Luigi >> >> >> On Wed, Apr 19, 2017 at 6:03 AM shailesh kumar <sha...@gm...> >> wrote: >> >>> Hi Luigi/Dirk, >>> >>> Thanks for your quick response. >>> >>> I am forced to perform role of archaeologist :) >>> >>> My Modified Duration component was earlier based on Quantlib 0.9.7 (last >>> built in 2007) but in order to support "negative jumps in interest-rate >>> curves" and to incorporate other bug fixes, i upgraded the Quantlib >>> version to latest keeping the compiler version same as component also had >>> few external libraries dependencies built with gcc34/g++34 >>> >>> Luigi, >>> >>> As suggested, I ran ./configure CXXFLAGS='-DQL_PATCH_SOLARIS' but it >>> failed at squarerootprocessrndcalculator.cpp:64: instantiated from >>> here >>> Request to please guide so as to disable it at my end to proceed >>> further. >>> >>> Regards >>> Shailesh Kumar >>> >>> >>> >>> >>> >>> On Wed, Apr 19, 2017 at 1:05 AM, Luigi Ballabio < >>> lui...@gm...> wrote: >>> >>>> Oh, right, it was you for Solaris as well. It's good to have an >>>> archaeologist around :) >>>> >>>> On Tue, Apr 18, 2017, 21:28 Luigi Ballabio <lui...@gm...> >>>> wrote: >>>> >>>>> I second Dirk that we probably shouldn't put much effort in making >>>>> that code compile. However, we can disable it so that the build succeeds, >>>>> even if the resulting library will miss a few features. In fact, I did the >>>>> same thing recently for an older Solaris compiler. May you try running >>>>> configure as >>>>> >>>>> ./configure CXXFLAGS='-DQL_PATCH_SOLARIS' >>>>> >>>>> and see if you get to the end of the build? >>>>> >>>>> Luigi >>>>> >>>>> On Tue, Apr 18, 2017, 21:16 Dirk Eddelbuettel <ed...@de...> wrote: >>>>> >>>>>> >>>>>> On 19 April 2017 at 00:23, shailesh kumar wrote: >>>>>> | Hi Luigi, >>>>>> | >>>>>> | I tried compiling preliminary tarballs for QuantLib 1.10 >>>>>> as available at < >>>>>> | https://sourceforge.net/projects/quantlib/files/test> on OEL 6.7 >>>>>> (Oracle Linux >>>>>> | Server release 6.7) >>>>>> | using gcc34/g++34 version gcc34 (GCC) 3.4.6 20060404 (Red Hat >>>>>> 3.4.6-19.el6)/ >>>>>> | g++34 (GCC) 3.4.6 20060404 (Red Hat 3.4.6-19.el6) along with Boost >>>>>> version >>>>>> | 1.62.0 >>>>>> | >>>>>> | I am getting below compilation error. >>>>>> | >>>>>> | ../../../ql/experimental/math/tcopulapolicy.hpp:134: >>>>>> instantiated from here >>>>>> | /scratch/ofsaadb/build/CAP802_JAVA7_O12C/BOOSTNEW/include/ >>>>>> boost/math/tools/ >>>>>> | roots.hpp:68: error: no matching function for call to `get(const >>>>>> | boost::fusion::tuple<long double, long double, boost::fusion::void_, >>>>>> | boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, >>>>>> | boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, >>>>>> | boost::fusion::void_>&)' >>>>>> | make[3]: *** [gaussianlhplossmodel.lo] Error 1 >>>>>> | make[3]: Leaving directory `/scratch/ofsaaweb/QuantLib- >>>>>> suncc/ql/experimental/ >>>>>> | credit' >>>>>> | make[2]: *** [all-recursive] Error 1 >>>>>> | make[2]: Leaving directory `/scratch/ofsaaweb/QuantLib- >>>>>> suncc/ql/experimental' >>>>>> | make[1]: *** [all-recursive] Error 1 >>>>>> | make[1]: Leaving directory `/scratch/ofsaaweb/QuantLib-suncc/ql' >>>>>> | make: *** [all] Error 2 >>>>>> | >>>>>> | Request to please help me resolving this issue. >>>>>> | This works if i use gcc/g++ version 4.4.7 compiler but fails for >>>>>> gcc34/g++34 >>>>>> >>>>>> I hope you do realize that gcc 3.4 was released _eleven_ years ago. >>>>>> >>>>>> Even 4.4.* is pretty ancient at an age of five years. >>>>>> >>>>>> Dirk >>>>>> >>>>>> | >>>>>> | >>>>>> | Regards >>>>>> | Shailesh Kumar >>>>>> | >>>>>> | >>>>>> | >>>>>> | >>>>>> | On Wed, Apr 12, 2017 at 9:16 PM, Luigi Ballabio < >>>>>> lui...@gm...> >>>>>> | wrote: >>>>>> | >>>>>> | Hi all, >>>>>> | preliminary tarballs for QuantLib 1.10 are available at >>>>>> <https:// >>>>>> | sourceforge.net/projects/quantlib/files/test> (no docs yet, >>>>>> but most >>>>>> | changes are listed at https://github.com/ >>>>>> lballabio/QuantLib/milestone/5? >>>>>> | closed=1). Please download them and try them out if you have a >>>>>> few cycles >>>>>> | available. >>>>>> | >>>>>> | Thanks, >>>>>> | Luigi >>>>>> | >>>>>> | >>>>>> | >>>>>> | ------------------------------------------------------------ >>>>>> | ------------------ >>>>>> | Check out the vibrant tech community on one of the world's most >>>>>> | engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>>>> | _______________________________________________ >>>>>> | QuantLib-users mailing list >>>>>> | Qua...@li... >>>>>> | https://lists.sourceforge.net/lists/listinfo/quantlib-users >>>>>> | >>>>>> | >>>>>> | >>>>>> | ------------------------------------------------------------ >>>>>> ------------------ >>>>>> | Check out the vibrant tech community on one of the world's most >>>>>> | engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>>>> | _______________________________________________ >>>>>> | QuantLib-users mailing list >>>>>> | Qua...@li... >>>>>> | https://lists.sourceforge.net/lists/listinfo/quantlib-users >>>>>> >>>>>> -- >>>>>> http://dirk.eddelbuettel.com | @eddelbuettel | ed...@de... >>>>>> >>>>> >>> |