A list for the developers of CellML tools

Text archives Help


[cellml-dev] Programmatically solving cellml models


Chronological Thread 
  • From: p.pannarale at gmail.com (Paolo Pannarale)
  • Subject: [cellml-dev] Programmatically solving cellml models
  • Date: Mon, 16 Jan 2012 12:42:21 +0100

Dear developers, I'm still trying to run cellml models under windows
through the cellml api, I first run into problems because of relative
xlink:hrefs but that issue is now solved. I can successfully run the ccgs
test cellml2c.cpp. Anyway I still have an exception at line 449 of
Runcellml.cpp of CIS test:

ccm = cis->compileModelODE(mod); ->> Exception (could not compile model...)

I set up the following env vars

PATH C:\Program Files (x86)\OpenCell\gcc\bin;C:\Program Files
(x86)\OpenCell\gcc\libexec\gcc\mingw32\3.4.2;%CELLML_HOME%\lib
LIBRARY_PATH C:\Program Files
(x86)\OpenCell\gcc\lib\gcc\mingw32\3.4.2;C:\Program Files
(x86)\OpenCell\gcc\lib;%CELLML_HOME%\include

or

C:\MinGW\bin;C:\MinGW\libexec\gcc\mingw32\4.6.1;%CELLML_HOME%\lib
%CELLML_HOME%\include;C:\MinGW\lib;C:\MinGW\lib\gcc\mingw32\4.6.1
with cellml_home=C:\Program Files (x86)\cellml-sdk-1.10_msvc

without these variables i get "createprocess failed (2)"

I'd like to debug the api in order to find the problem but i don't know how
to do it...I tried unsuccesfully to setup a msvc project of the cis
module...

I suppose it's an environment setup problem...

What is your suggestion?

Thank you, Paolo

--
?[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/20120116/e6f966fa/attachment.htm>




Archive powered by MHonArc 2.6.18.

Top of page