[petsc-users] compile petsc-dev error

Gong Ding gdiso at ustc.edu
Fri Mar 25 06:11:05 CDT 2011


It seems pastix and parms has function name conflict.

/usr/local/petsc-dev/linux-icc/lib/libpastix.a(sparRow.o): In function `cleanCS'
:
kass/src/sparRow.c:(.text+0x0): multiple definition of `cleanCS'
/usr/local/petsc-dev/linux-icc/lib/libparms.a(sets.o):src/DDPQ/sets.c:(.text+0x6
60): first defined here
ld: Warning: size of symbol `cleanCS' changed from 160 in /usr/local/petsc-dev/l
inux-icc/lib/libparms.a(sets.o) to 288 in /usr/local/petsc-dev/linux-icc/lib/lib
pastix.a(sparRow.o)
/usr/local/petsc-dev/linux-icc/lib/libpastix.a(sparRow.o): In function `cleanCS'
:
kass/src/sparRow.c:(.text+0x0): multiple definition of `cleanCS'
/usr/local/petsc-dev/linux-icc/lib/libparms.a(sets.o):src/DDPQ/sets.c:(.text+0x6
60): first defined here
ld: Warning: size of symbol `cleanCS' changed from 160 in /usr/local/petsc-dev/l
inux-icc/lib/libparms.a(sets.o) to 288 in /usr/local/petsc-dev/linux-icc/lib/lib
pastix.a(sparRow.o)

The function ISCreateGeneral now takes an extra parameter PetscCopyMode. 
Which value is compatible to previous version of ISCreateGeneral?

MatZeroRows takes two extra Vec. Is it possible to keep the old API unchanged but
use a new API?  

And what will the version of next petsc release?
Is it will be 3.2 or 4.0? 




More information about the petsc-users mailing list