Discussion:
[Quantlib-users] Release candidates for QuantLib 1.10
Luigi Ballabio
2017-04-12 15:46:20 UTC
Permalink
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
shailesh kumar
2017-04-18 18:53:16 UTC
Permalink
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


Regards
Shailesh Kumar
Post by Luigi Ballabio
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
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Dirk Eddelbuettel
2017-04-18 19:16:01 UTC
Permalink
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 <***@gmail.com>
| 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
| QuantLib-***@lists.sourceforge.net
| 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
| QuantLib-***@lists.sourceforge.net
| https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
http://dirk.eddelbuettel.com | @eddelbuettel | ***@debian.org
Luigi Ballabio
2017-04-18 19:28:37 UTC
Permalink
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
Post by Dirk Eddelbuettel
| 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 <
|
| 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
| 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
| https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
Luigi Ballabio
2017-04-18 19:35:51 UTC
Permalink
Oh, right, it was you for Solaris as well. It's good to have an
archaeologist around :)
Post by Luigi Ballabio
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
Post by Dirk Eddelbuettel
| 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 <
|
| 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
| 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
| https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
shailesh kumar
2017-04-19 04:03:40 UTC
Permalink
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
Post by Luigi Ballabio
Oh, right, it was you for Solaris as well. It's good to have an
archaeologist around :)
Post by Luigi Ballabio
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
Post by Dirk Eddelbuettel
| 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 <
|
| 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
| 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
| https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
Luigi Ballabio
2017-04-19 08:06:32 UTC
Permalink
I'll look into it. In the meantime, you might try downgrading to an
earlier Boost version.

Luigi
Post by shailesh kumar
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
Post by Luigi Ballabio
Oh, right, it was you for Solaris as well. It's good to have an
archaeologist around :)
Post by Luigi Ballabio
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
Post by Dirk Eddelbuettel
| 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 <
|
| 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
| 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
| https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
CK TUNG
2017-04-19 09:28:05 UTC
Permalink
Hi

How can I create wheel file for QuantLib Python ?

I compiled QuantLib and make -C Python for SWIG successfully.

Then I cd Python;
python setup.py bdist_wheel

But it said error : invalid command 'bdist_wheel'

So only python setup.py bdist
is possible?

Thanks
I'll look into it. In the meantime, you might try downgrading to an earlier Boost version.
Luigi
Post by shailesh kumar
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
Oh, right, it was you for Solaris as well. It's good to have an archaeologist around :)
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
Post by Dirk Eddelbuettel
| 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
|
|
|
|
|
| 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
| 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
| 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
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Luigi Ballabio
2017-04-19 10:35:52 UTC
Permalink
I think you have to modify setup.py and replace

from distutils.core import setup, Extension

with

from setuptools import setup
from distutils.core import Extension

since the wheel functionality is only available in setuptools.

Luigi
Post by CK TUNG
Hi
How can I create wheel file for QuantLib Python ?
I compiled QuantLib and make -C Python for SWIG successfully.
Then I cd Python;
python setup.py bdist_wheel
But it said error : invalid command 'bdist_wheel'
So only python setup.py bdist
is possible?
Thanks
I'll look into it. In the meantime, you might try downgrading to an earlier Boost version.
Luigi
Post by shailesh kumar
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
Post by Luigi Ballabio
Oh, right, it was you for Solaris as well. It's good to have an
archaeologist around :)
Post by Luigi Ballabio
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
Post by Dirk Eddelbuettel
| 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 <
|
| 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
| 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
| 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
https://lists.sourceforge.net/lists/listinfo/quantlib-users
CK TUNG
2017-04-19 11:35:50 UTC
Permalink
yes, this solved the problem.

Thanks
Post by Luigi Ballabio
I think you have to modify setup.py and replace
from distutils.core import setup, Extension
with
from setuptools import setup
from distutils.core import Extension
since the wheel functionality is only available in setuptools.
Luigi
Post by CK TUNG
Hi
How can I create wheel file for QuantLib Python ?
I compiled QuantLib and make -C Python for SWIG successfully.
Then I cd Python;
python setup.py bdist_wheel
But it said error : invalid command 'bdist_wheel'
So only python setup.py bdist
is possible?
Thanks
I'll look into it. In the meantime, you might try downgrading to an earlier Boost version.
Luigi
Post by shailesh kumar
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
Oh, right, it was you for Solaris as well. It's good to have an archaeologist around :)
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
Post by Dirk Eddelbuettel
| 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
|
|
|
|
|
| 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
| 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
| 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
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Luigi Ballabio
2017-04-19 15:07:48 UTC
Permalink
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
Post by shailesh kumar
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
Post by Luigi Ballabio
Oh, right, it was you for Solaris as well. It's good to have an
archaeologist around :)
Post by Luigi Ballabio
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
Post by Dirk Eddelbuettel
| 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 <
|
| 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
| 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
| https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
Luigi Ballabio
2017-04-19 16:11:37 UTC
Permalink
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
Post by Luigi Ballabio
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
Post by shailesh kumar
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
Post by Luigi Ballabio
Oh, right, it was you for Solaris as well. It's good to have an
archaeologist around :)
Post by Luigi Ballabio
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
Post by Dirk Eddelbuettel
| 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 <
|
| 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
| 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
| https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
shailesh kumar
2017-04-19 20:46:05 UTC
Permalink
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
Post by Luigi Ballabio
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
Post by Luigi Ballabio
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
Post by shailesh kumar
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 <
Post by Luigi Ballabio
Oh, right, it was you for Solaris as well. It's good to have an
archaeologist around :)
Post by Luigi Ballabio
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
Post by Dirk Eddelbuettel
| 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.
|
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 <
|
| 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
| 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
| https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
Luigi Ballabio
2017-04-19 20:48:11 UTC
Permalink
Ok, thanks. I guess I'll just delete the gcc 3.4 branch then.
Post by shailesh kumar
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
Post by Luigi Ballabio
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
Post by Luigi Ballabio
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 <
Post by shailesh kumar
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 <
Post by Luigi Ballabio
Oh, right, it was you for Solaris as well. It's good to have an
archaeologist around :)
Post by Luigi Ballabio
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
Post by Dirk Eddelbuettel
| 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.
|
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 <
|
| 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
| 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
| https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
Loading...