From: Eric F. <efe...@ph...> - 2008-09-09 15:06:49
|
Hi, I have just tried to recompile the tryptic libxml2/libsbml/SOSlib and compilation went through. However, when I try to run odeSolver, I get this error: bash-2.05a$ time ./odeSolver --time=48 --printstep=480 -fnz ../../../models/CC.xml exec(): 0509-036 Cannot load program ./odeSolver because of the following errors: 0509-022 Cannot load module /hpc/work/fernandz/local/lib/libsbml.a. 0509-150 Dependent module /hpc/work/fernandz/local/lib/libxml2.a(libxml2.shr.o) could not be loaded. 0509-152 Member libxml2.shr.o is not found in archive 0509-022 Cannot load module odeSolver. 0509-150 Dependent module /hpc/work/fernandz/local/lib/libsbml.a could not be loaded. 0509-022 Cannot load module . I wonder if this is because under AIX, libraries (shared or not) have the .a extension, and not .so ? I recompiled using expat and everything works again. Not a big deal, since your changes did not break the Expat-based SOSlib. Regarding the compilation command, I have tried your changes, and the compilation works very well with the new options. Some CFLAGS are specific with xlc but the ones you use did not affect the correct compilation. So apart from the libxml2 problem, which I am going to check, there is no problem, as long as I still use expat as the XML parser. Eric > -----Original Message----- > From: Rainer Machne [mailto:ra...@tb...] > Sent: 09 September 2008 13:57 > To: Eric Fernandez > Cc: sbm...@li... > Subject: Re: [SOSlib-discuss] SOSlib, libSBML and libxml2[Scanned] > > Hi Eric, > > Great, thanks! We are just now starting to prepair for the > release. this time for real :) > > I have changed the default in config/sbml.m4 to libxml2. > Maybe you can try if it works for you. > > > > BTW, I have committed the AIX patchs and the library now does work > > nicely on that Unix. Model now compiles using IBM native > compiler (xlc) > > and its compilation time is low. > > Ok, great. I took a short look at the code, and have just now > included > full CFLAGS and LDFLAGS for sundials and libsbml in the "command" > construction. Is this OK for AIX? > > Are there any differences except for the different "command"? > I haven't > noticed any, and if not, we could probably move it into the existing > compile_with_gcc function and just construct a different "command" > system call, just as done for APPLE currently. > > Rainer > |