From: Eric F. <efe...@ph...> - 2008-10-08 11:12:39
|
Rainer, That explains the issue then. Good to know! Thanks a lot, Eric > -----Original Message----- > From: Rainer Machne [mailto:ra...@tb...] > Sent: 08 October 2008 12:04 > To: Eric Fernandez > Cc: sbm...@li... > Subject: Re: [SOSlib-discuss] compiled model simulation now > segfaults[Scanned] > > Eric Fernandez wrote: > > Rainer, > > > > I am as puzzled as you actually! I cannot get the error > anymore, but I > > uninstalled the older libraries and reinstalled, might explain the > > issue. > > Yeah, that works for me too. > > It is the old story: the command-line compiler includes the > globally installed sosLib header files, so it requires a > `make install', so that really the current header files are > included, and not older ones. > > Maybe we can introduce some option "useLocalHeaders" for > compilation, so the compiler command includes the local > header files and lib for testing. > > Rainer > > > > > > > Cheers, > > Eric > > > >> -----Original Message----- > >> From: Rainer Machne [mailto:ra...@tb...] > >> Sent: 08 October 2008 11:59 > >> To: Eric Fernandez > >> Cc: sbm...@li... > >> Subject: Re: [SOSlib-discuss] compiled model simulation now > >> segfaults[Scanned] > >> > >> Hi Eric, > >> > >> I get the same error for the current CVS state, sorry for that! > >> So far I couldn't find out what it is. It seems that the compiled > >> rhs. > >> functions don't recognize cvodeData. > >> > >> However, my current state here doesn't have this problem! > >> I will commit to CVS later today or tomorrow (including > all the new > >> topological sorting stuff), and I am ... pretty confident ... that > >> everything should work as before. > >> > >> Rainer > >> > >> > >> Eric Fernandez wrote: > >>> Hi, > >>> > >>> Some change made to SOSlib now leads odeSolver to segfaults when > >>> trying to simulate a model with compilation, at least on > my system > >>> (AIX). Do you see that under Linux ? I don't know if it > >> also segfaults > >>> with other projects uding SOSlib, I only tested > odeSolver/odeSolver. > >>> > >>> I double checked with an older CVS which behaves > properly. Updated > >>> files since this one are: > >>> U examples/ASTgetIndexTest.c > >>> P examples/Makefile.am > >>> P examples/Sense.c > >>> P examples/adj_sensitivity.c > >>> P examples/adjsenstest.c > >>> P examples/adjsenstest_ContDiscData.c > >>> P examples/batch_integrate.c > >>> P examples/integrate.c > >>> P examples/sensitivity.c > >>> P examples/senstest.c > >>> P examples/simpleIntegratorInstance.c > >>> cvs update: Updating odeSolver > >>> P odeSolver/printModel.c > >>> cvs update: Updating sbml > >>> cvs update: Updating scripts > >>> cvs update: Updating src > >>> P src/arithmeticCompiler.c > >>> P src/cvodeData.c > >>> P src/cvodeSolver.c > >>> P src/integratorInstance.c > >>> P src/modelSimplify.c > >>> P src/odeConstruct.c > >>> P src/odeModel.c > >>> P src/processAST.c > >>> P src/sensSolver.c > >>> P src/solverError.c > >>> cvs update: Updating src/sbmlsolver > >>> P src/sbmlsolver/cvodeData.h > >>> P src/sbmlsolver/odeModel.h > >>> P src/sbmlsolver/processAST.h > >>> P src/sbmlsolver/solverError.h > >>> > >>> I have not identified the problem yet. > >>> > >>> Regards, > >>> Eric > >>> > >>> > >> > --------------------------------------------------------------------- > >> - > >>> --- This SF.Net email is sponsored by the Moblin Your Move > >> Developer's > >>> challenge Build the coolest Linux based applications with > >> Moblin SDK & > >>> win great prizes Grand prize is a trip for two to an Open > >> Source event > >>> anywhere in the world > >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >>> _______________________________________________ > >>> sbmlsolver-discuss mailing list > >>> sbm...@li... > >>> https://lists.sourceforge.net/lists/listinfo/sbmlsolver-discuss > >> > > |