Re: How to build the test-suite executables?

Posted by Moreton, Peter on
URL: http://quantlib.414.s1.nabble.com/How-to-build-the-test-suite-executables-tp4837p4845.html

Thanks Dirk, I looked again, and found that the test-suite had built just fine; I missed the 'quantlib-test-suite' executable when I was looking through the folders. (Lack of knowledge of the OS is the problem here, but having moved from XP to Ubuntu for this project, I have to say I love Linux, and Ubuntu 6.06 makes XP look pretty shabby).

Installing binaries is not an option, because my interest is performance optimisation of the compute intensive code under the Opteron platform, and later offload to FPGA coprocessors, so I need the source code to compile fully.

Thanks again, Peter



-----Original Message-----
From: Dirk Eddelbuettel [mailto:[hidden email]]
Sent: Fri 09/06/2006 02:13
To: Moreton, Peter
Cc: [hidden email]
Subject: Re: [Quantlib-users] How to build the test-suite executables?
 

On 8 June 2006 at 20:44, Moreton, Peter wrote:
| Hi,
|  
| I'm new to Quantlib, and need some advice on how to build the Test-Suite executables. I'm running Ubuntu 6.06, and have built the boost libraries, and Quantlib, and have been able to compile up the examples (Swap, BermudanSwaption, ConvertibleBonds etc) and execute and benchmark these just fine.
|  
| Now I'd like to get the EuropeanOption code working, and I can see an example of this under test-suite, and I see a EuropeanOption.cpp and the .o file, but no executable? Should I be able to build a standalone .exe?
|  
| Could someone pls put me out of my misery, and tell me what I'm doing wrong? - thanks.

You could download the source package of my Debian packages and look at what
they do.  But to cut through the suspense it is mostly just 'configure;
make; make install'.  That seems to build the examples for me too.

Or just install the binaries... On my Ubuntu 5.10 box I see
edd@joe:~$ apt-cache search quantlib
libquantlib-0.3.9c2 - Quantitative Finance Library -- development package
libquantlib0-dev - Quantitative Finance Library -- library package
quantlib-examples - Quantitative Finance Library -- example binaries
quantlib-python - Python bindings for the Quantlib Quantitative Finance library
quantlib-refman - Quantitative Finance Library -- reference manual
quantlib-refman-html - Quantitative Finance Library -- reference manual in html
quantlib-ruby - Ruby bindings for the Quantlib Quantitative Finance library
r-cran-rquantlib - GNU R package interfacing the QuantLib finance library

The net has quite a few tutorials about (locally re-)building Debian (and
hence Ubuntu) packages -- so this may be an alternative to you.

Hope this helps,  Dirk

--
Hell, there are no rules here - we're trying to accomplish something.
                                                  -- Thomas A. Edison