From: Rainer M. <ra...@tb...> - 2008-01-30 11:52:16
|
Hi Eric, yes to both questions: an odeModel_t structure is only compiled once, and is reused for subsequent integrations (or for all integratorInstances which are based on this model!) and setVariableValue can be used as normal. sensModel_t is independent from odeModel_t, and the corresponding functions are compiled when sensitivity is activated. I am not sure about recompilation of these, i.e. to which extend it is recognized that a specific sensitivity structure is already existing. It might be that this is still on the todo list and sensitivity is recompiled on every run. Let me know if this should be done sooner. Thanks for all the AIX patches. We would probably like to contact to you before the next official release to check whether we made all changes correctly for AIX. BTW, we are currently working on an internal compiler for the functions, but for now it only works on 32bit architectures and is not implemented in CVS yet. Thanks, Rainer Eric Fernandez wrote: > Hi, > > I have managed to make SOSlib compile SBML models under AIX (using gcc), > and the gain in solving seems very significant. However, it comes with a > penalty overhead: the time to compile very large models. > > Once a model has been compiled the first time, is it possible to reuse > the compiled file for several simulations using the same model? > > Is it also possible to change a variable value using > IntegratorInstance_setVariableValue(ii,varindex,val) ? > I'll send the patch very soon; that was not very difficult to correct > actually. > > Eric > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > sbmlsolver-discuss mailing list > sbm...@li... > https://lists.sourceforge.net/lists/listinfo/sbmlsolver-discuss |