Hi Ivan I just mean literally that you should try typing those commands in the command-line, to see if they work, first of all. If they do work, then we can work out how to make sure they come through in the SCons scripts.
I'm not so familiar with 64-bit platforms, so I need you to help me out with working out the correct compiler flags here. Anyone else got any clues on this? Cheers JP Ivan Pulido wrote: > Sorry John, where do I edit this parameters? I tried looking on the > ascend dir which is a copy of the svn tree, but I cant find where to > specify this, what file do I have to edit? Thanks for the answer. Cheers. > > On Thu, Mar 26, 2009 at 1:02 AM, John Pye <[email protected] > <mailto:[email protected]>> wrote: > > Hi Ivan > > Ivan Pulido wrote: > > As far as I can see it's using -fPIC as build options, here's the > > command it's using > > > > gfortran -o solvers/lsode/liblsode_ascend.so -fPIC -shared > > solvers/lsode/lsode.os solvers/lsode/asc_lsode.os > > solvers/lsode/linpack/d1mach.os solvers/lsode/linpack/dgbfa.os > > solvers/lsode/linpack/dgbsl.os solvers/lsode/linpack/dgefa.os > > solvers/lsode/linpack/dgesl.os -L. -lblas -lgfortran -lascend > > > > and here is the other one for lsode.f > > > > gfortran -o solvers/lsode/lsode.os -c -w solvers/lsode/lsode.f > > > > So, no idea whats wrong here, heh. Ideas appreciated and excuse > me, if > > I "bother" too much please let me know. Thanks. > > Can you please try what happens if you type (added '-shared -fPIC'): > > gfortran -shared -fPIC -o solvers/lsode/lsode.os -c -w > solvers/lsode/lsode.f > > followed by (the same as you pasted): > > gfortran -o solvers/lsode/liblsode_ascend.so -fPIC -shared > solvers/lsode/lsode.os solvers/lsode/asc_lsode.os > solvers/lsode/linpack/d1mach.os solvers/lsode/linpack/dgbfa.os > solvers/lsode/linpack/dgbsl.os solvers/lsode/linpack/dgefa.os > solvers/lsode/linpack/dgesl.os -L. -lblas -lgfortran -lascend > > Actually, try the first line with just '-fPIC' added, too. > > Also, please try installing BLAS (libblas-devel or whatever) on your > system, so that SCons doesn't have to build its own local copy. You > should then have /usr/lib/libblas.a and also /usr/lib/libblas.so. > > And let me know if it works or doesn't work. > > Cheers > JP > > > > > -- > Ivan Pulido > Estudiante de FĂsica > Universidad Industrial de Santander -- Dr John Pye Dept of Engineering Australian National University ------------------------------------------------------------------------------ _______________________________________________ Ascend-sim-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

