Share QuantlibXL objects over different PCs

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Share QuantlibXL objects over different PCs

Paolo Tenconi
Hi,
I'd like to share quantlibXL objects created on different machines (which use a shared drive) for example

a) On PC "A" I create A.xls that build some quantlibxl permanent object
    (for example a term structure object)

b) then from PC "B" I create B.xls and I want it to use some objects created on PC "A"
    (previous point), in a way that B.xls is aware of any changes occured in the meantime on
    PC "A" quantlibXL objects

Can anyone help me with this?
I was wondering if it's possibile to share a repository of quantlib objects between machines on a local network or if there's another solution to this problem.

Any suggestion is welcome, thanks
Paolo


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Share QuantlibXL objects over different PCs

Kim Kuen Tang

Hi Paolo,

Paolo Tenconi schrieb:

> Hi,
> I'd like to share quantlibXL objects created on different machines
> (which use a shared drive) for example
>
> a) On PC "A" I create A.xls that build some quantlibxl permanent object
>     (for example a term structure object)
>
> b) then from PC "B" I create B.xls and I want it to use some objects
> created on PC "A"
>     (previous point), in a way that B.xls is aware of any changes
> occured in the meantime on
>     PC "A" quantlibXL objects
>
> Can anyone help me with this?
This seems to me like a feature request, and i think that this is not
implemented yet. You can do the following test. Open two excel sheets (
A.xls and B.xls) and create an arbitrary object in sheet A. Use the
function ohObjectExists to test wheter the object is really created.
After that use the function again in sheet B and you will see that this
object doesnt exist in sheet B. You can use the function
ohRepositoryListObjectIDs to list all objects created on this sheet.

HTH

Cheers,
Kim

> I was wondering if it's possibile to share a repository of quantlib
> objects between machines on a local network or if there's another
> solution to this problem.
>
> Any suggestion is welcome, thanks
> Paolo
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>  


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Share QuantlibXL objects over different PCs

Luigi Ballabio
In reply to this post by Paolo Tenconi
On Tue, 2010-03-23 at 11:50 +0100, Paolo Tenconi wrote:
> Hi,
> I'd like to share quantlibXL objects created on different machines
> (which use a shared drive)

I don't think that's possible, as the machines don't share memory (which
is where the instantiated objects live.)

Luigi


--

The purpose of abstraction is not to be vague, but to create a new
semantic level in which one can be absolutely precise.
-- W.E. Dijkstra



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Share QuantlibXL objects over different PCs

Tawanda Gwena
Very related, and probably equivalent:Is it possible to implement some  
form of serialization for QuantLib objects?

Currently I keep a serializable object which can create the  
instantiations of the required objects on demand, but this amounts to  
keeping two copies of each object.


On Mar 23, 2010, at 7:39 AM, Luigi Ballabio wrote:

> On Tue, 2010-03-23 at 11:50 +0100, Paolo Tenconi wrote:
>> Hi,
>> I'd like to share quantlibXL objects created on different machines
>> (which use a shared drive)
>
> I don't think that's possible, as the machines don't share memory  
> (which
> is where the instantiated objects live.)
>
> Luigi
>
>
> --
>
> The purpose of abstraction is not to be vague, but to create a new
> semantic level in which one can be absolutely precise.
> -- W.E. Dijkstra
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Share QuantlibXL objects over different PCs

Paolo Tenconi
Thanks Gwenda and Luigi,
yes, the serialization would fit my needs too. Can you give me some reference/example regarding this solution? The example coming with the installer gives me many errors.
Many thanks


2010/3/23 Tawanda Gwena <[hidden email]>
Very related, and probably equivalent:Is it possible to implement some form of serialization for QuantLib objects?

Currently I keep a serializable object which can create the instantiations of the required objects on demand, but this amounts to keeping two copies of each object.



On Mar 23, 2010, at 7:39 AM, Luigi Ballabio wrote:

On Tue, 2010-03-23 at 11:50 +0100, Paolo Tenconi wrote:
Hi,
I'd like to share quantlibXL objects created on different machines
(which use a shared drive)

I don't think that's possible, as the machines don't share memory (which
is where the instantiated objects live.)

Luigi


--

The purpose of abstraction is not to be vague, but to create a new
semantic level in which one can be absolutely precise.
-- W.E. Dijkstra


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Share QuantlibXL objects over different PCs

Luigi Ballabio
In reply to this post by Tawanda Gwena
On Tue, 2010-03-23 at 09:23 -0400, Tawanda Gwena wrote:
> Very related, and probably equivalent:Is it possible to implement some  
> form of serialization for QuantLib objects?

Not in QuantLib proper.  Serialization is implemented in QuantLibAddin.

Luigi


--

For every problem there is one solution which is simple, neat, and
wrong.
-- H. L. Mencken



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users