A list for the developers of CellML tools

Text archives Help


[cellml-dev] Programmatically solving models


Chronological Thread 
  • From: alan.garny at dpag.ox.ac.uk (Alan Garny)
  • Subject: [cellml-dev] Programmatically solving models
  • Date: Thu, 22 Dec 2011 22:20:22 +0100

Oh, I forgot to comment on your last point: I intend to make OpenCOR usable
both from the command line and from within a graphical user interface. I am
not there yet though




Alan



From: cellml-tools-developers-bounces at cellml.org
[mailto:cellml-tools-developers-bounces at cellml.org] On Behalf Of Alan Garny
Sent: 22 December 2011 22:17
To: 'A list for the developers of CellML tools'
Subject: Re: [cellml-dev] Programmatically solving models



Ciao Paolo,



I don?t know about the Elowitz & Leibler 2000 model, but I have just tried
your model (Megaupload? Hmm
!) in OpenCell 0.8 and though I could indeed
load it and run it, if you switch to the ?Show equations? view you will see
a message that reads ?Error: Could not fully instantiate imports.? I must
confess that I am rather puzzled by what OpenCell reports and don?t know
what to think of it (since I could run your model).



Otherwise, I have tried to open your model in OpenCOR
<http://www.opencor.ws/> which uses version 1.10 of the CellML API, and it
seemed to be able to load it fine and the call to fullyInstantiateImports()
didn?t generate any exception. However, OpenCOR is still very much work in
progress, so I am not able to do much more at this point, even though I can
(using the CellML API) generate some C code.



So, sorry, this is not very helpful. Maybe Andrew Miller (the person behind
the CellML API) can help on this one




Best regards, Alan.



From: cellml-tools-developers-bounces at cellml.org
[mailto:cellml-tools-developers-bounces at cellml.org] On Behalf Of Paolo
Pannarale
Sent: 22 December 2011 17:56
To: cellml-tools-developers at cellml.org
Subject: [cellml-dev] Programmatically solving models



Dear developers, I'm trying to solve some problems I faced programmatically
simulating a model in java with the cellmlapi.
Following your suggestions (vol 46 issue 5) I'm trying to use ccgs first, in
c++.
I can run the test Cellml2C.cpp in the ccgs api tests on the
elowitz_leibler_2000 model.
The same test fails on my model (available at
http://www.megaupload.com/?d=NF3DTVQF) at mod->fullyInstantiateImports()
throwing an "unknown exception". I'm using the cellml-sdk-1.10-Win32-MSVC10
api.
I can correctly load the model and simulate it in opencell.
The model is validated correctly in opencell apart from throwing some
warnings.
Can you help me?
Do you know any easier method to programmatically simulate a model other
than using the api? (e.g. commandline opencell or similar)
Thanks, Paolo

Happy xmas!

--
?[M]y work, which I?ve done for a long time, was not pursued in order to
gain the praise I now enjoy, but chiefly from a craving after knowledge,
which I notice resides in me more than in most other men. And
wherewithal, whenever I found out anything remarkable, I have thought it my
duty to put down my discovery on paper, so that all ingenious people might
be informed thereof.?
(van Leeuwenhoek, Letter to the Royal Society, June 12 1716)

?Make it as simple as possible. But not simpler?.
(Albert Einstein)

"The best way to predict the future is to invent it".
(Alan Kay)

___________________________________

Questo documento ? indirizzato esclusivamente al destinatario.
Tutte le informazioni ivi contenute, compresi eventuali allegati,
sono soggette a riservatezza secondo i termini del D.Lgs. 196/2003
in materia di "privacy" e ne ? proibito l'utilizzo da parte di
altri soggetti. Se avesse ricevuto per errore questo messaggio,
La preghiamo cortesemente di contattare il mittente al pi? presto
e di cancellare il messaggio subito dopo. Grazie.
----
This document is exclusively intended for the stated addressee.
All information therein, including any attachment, are reserved
as per Italian D.Lgs. 196/2003 about privacy, and cannot be used
by third parties. In case you received this message by mistake,
please inform the sender and delete the message afterward.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.cellml.org/pipermail/cellml-tools-developers/attachments/20111222/41d5a2b9/attachment-0001.htm>




Archive powered by MHonArc 2.6.18.

Top of page