ML symbols in petscksp.so

Satish Balay balay at mcs.anl.gov
Wed Oct 28 16:55:57 CDT 2009


On Wed, 28 Oct 2009, Jed Brown wrote:

> Barry Smith wrote:
> > 
> >   We do do this for Mac (libpetsc*.dylib) and I think it mostly works.
> > But I am not aware of anyone doing this intentionally for PETSc on Linux
> > (though I think it is a good idea if it can be done).
> 
> It has been working for more than a year on Linux.  If you still have a
> --with-shared build from last week, run
> 
> $ nm -D $PETSC_ARCH/lib/libpetscksp.so |grep ML_  # I have over 800 symbols
> 
> I still have all the symbols from HYPRE, Sundials, MUMPS, etc.  Only ML
> was broken in the last few days.

I don't see any changes in the 'shared' target for linux [in conf/rules]

And I just did a build with current petsc-dev - and see a bunch of ML_ symbols

>>>>>
./configure --with-mpi-dir=/home/petsc/soft/linux-Ubuntu_8.04-ia32/mpich2-1.0.8p1-gcc431 --download-ml=1 PETSC_ARCH=arch-linux-ml --with-shared=1 && make PETSC_ARCH=arch-linux-ml
[petsc:petsc-dev/arch-linux-ml/lib] petsc> nm -Ao *.so | grep ML_ | grep ' T ' | wc -l
820
[petsc:petsc-dev/arch-linux-ml/lib] petsc> 
<<<<

Satish



More information about the petsc-dev mailing list