From: Rainer M. <ra...@tb...> - 2007-01-29 19:34:40
|
Dear Liu Zhicong, First I must say that unfortunately Andrew, our only Windows developer, is currently occupied in other projects. Personally I can not interpret your error messages. I will try to contact Andrew about it and hope that he has some idea. In the meantime I will try my best to help you out: Could you give some details on which functions of SOSlib you are using? (Maybe you could also try to use the sourceforge CVS version of SOSlib and see whether your error still occurs - some bugs have been fixed there, see bug list at sourceforge). However, due to above situation, the windows directories are probably be up-to-date, in case you use this.) In principle it is quite easy to run multiple integrations based on the same input model. You can create as many integrator instance as your system can manage, based on one ode model structure. SOSlib will actually handle memory errors and report according errors via its error management system and just return NULL instead of a new integrator Instance if the system is out of memory. See the examples directory e.g. the file ChangingIntegratorInstance.c (executable changeIntInst if you use the Makefile in this directory, don't know how that works on Windows) to learn about usage of SOSlib at the level of odeModel_t and integratorInstance_t. Using several integratorInstance_t instances created from one odeModel_t should be no problem and work without any memory loss. Did this help you? I am very sorry that we currently have no good support for Windows users. We would appreciate any contributions from this side. In general it would be great to get some feedback on problems and experiences you had with using SOSlib under Windows! Rainer liu zhicong wrote: > I use sbmlsovler library in mutil-thread application(this is a parameter scan > application).I use mutil-thread to scan difference parameter range and then i > get an exception (siginfo: ExceptionCode=0xc0000005, reading address > 0x0bbd4000). > SBML_odeSolver.dll is load at: > 0x0b660000 - 0x0b679000 D:\WINDOWS\SBML_odeSolver.dll > > Registers: > EAX=0x0bbcd090, EBX=0x0b0d0da0, ECX=0x0bbb4378, EDX=0x00003f91 > ESP=0x0b6ffb04, EBP=0x0b6ffb38, ESI=0x0b6ffb30, EDI=0x00000000 > EIP=0x1000142b, EFLAGS=0x00010246 > > Top of Stack: (sp=0x0b6ffb04) > 0x0b6ffb04: 00c810fb 0b0d0e60 0b6ffb4c 0bbcd090 > 0x0b6ffb14: 00000000 00003f91 0bbcd090 02af2aa0 > 0x0b6ffb24: 00000000 0bbcd090 00b2e720 00000001 > 0x0b6ffb34: 038d37b8 0b6ffbc8 00ccf3a4 00003f91 > 0x0b6ffb44: 0bbcd090 00000000 038d37b8 0b6ffbb4 > 0x0b6ffb54: 6d7ace4f 6d8065e8 6d6eaf79 0b6ffbc0 > 0x0b6ffb64: 0b6ffbc4 6d71a0bf 0b0d0da0 00000006 > 0x0b6ffb74: 00000008 00b345c0 02afb9e8 02afb9e8 > > My OS info: > > OS: Windows XP Build 2600 Service Pack 2 > > CPU:total 1 family 47, cmov, cx8, fxsr, mmx, sse, sse2 > > Memory: 4k page, physical 2096624k(1210096k free), swap 2988112k(2303676k > free) > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > sbmlsolver-discuss mailing list > sbm...@li... > https://lists.sourceforge.net/lists/listinfo/sbmlsolver-discuss > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > sbmlsolver-devel mailing list > sbm...@li... > https://lists.sourceforge.net/lists/listinfo/sbmlsolver-devel |