Having just installed QuantLib I followed to build and run one of the examples published on the QuantLib site: DiscreteHedging.cpp
I didn't quite knew how much is needed to do that, but I began with the simplest possible CMakeLists.txt:
ADD_EXECUTABLE( DiscreteHedging DiscreteHedging.cpp )
TARGET_LINK_LIBRARIES( DiscreteHedging QuantLib )
after executing 'cmake .' it worked straight away. Amazing.
Saturday, December 31, 2011
QuantLib 1.1 ebuild
I decided to install QuantLib on my gentoo today, but as I found out - the most recent ebuild for QuantLib in the portage comes from 2008 and installs the 0.9.6 version :/
So, as usual, I attempted to hack the existing ebuild and try if it works. I copied the quantlib-0.9.6.ebuild inside /usr/portage/dev-libs/quantlib as quantlib-1.1.ebuild. Then I just downloaded QuantLib 1.1 into the local distfiles directory and the executed
Then I run emerge. The default, successful install took 1 hour 40 minutes.
So, as usual, I attempted to hack the existing ebuild and try if it works. I copied the quantlib-0.9.6.ebuild inside /usr/portage/dev-libs/quantlib as quantlib-1.1.ebuild. Then I just downloaded QuantLib 1.1 into the local distfiles directory and the executed
ebuild /usr/portage/dev-libs/quantlib/quantlib-1.1.ebuild digest
Then I run emerge. The default, successful install took 1 hour 40 minutes.
Sunday, June 26, 2011
VPS and Cloud Computing - free test accounts. Part II
In my previous post I focused on russian solutions, so this time a little break to the english side :) Before I dived into East European territory I had a glance at HostSearch VPS listing. What you will find there are offers from VPS companies along with coupons and discount codes. Give it a shot, maybe you'll find something for you.
VPS and Cloud Computing - free test accounts. Part I
There was a time, not long ago, when I needed to find as many as possible free VPS or Cloud Computing (CC) trial accounts for carrying intense mathematical computations. I did succeed, there was plenty of them, and I'd like to share my results. Be not scared, though, many of them are being hosted in russian speaking countries, so you will need basic vocabulary to be able to swiftly use them.
Subscribe to:
Comments (Atom)