[petsc-dev] namespace conflicts with --with-single-library=1

Satish Balay balay at mcs.anl.gov
Wed Jan 13 13:38:49 CST 2010


Also renamed the corresponding includes [da.h, dense.h] and pushed.

Satish

On Wed, 13 Jan 2010, Matthew Knepley wrote:

> On Wed, Jan 13, 2010 at 1:26 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> > We have multiple sourcefiles with the same name - and this
> > breaks build with --with-single-library=1.
> >
> > I'd like to rename the following [others don't go into libs]
> >
> > ./semiLagrange/impls/da/da.c [to slda.c]
> > ./bilinear/impls/dense/seq/dense.c [bldense.c]
> 
> ./semiLagrange/interface/dlregis.c [slregis.c]
> > ./bilinear/interface/dlregis.c  [blregis.c]
> >
> > Matt - any objections?
> >
> 
> Nope, those are all fine with me.
> 
>   Matt
> 
> 
> > thanks,
> > Satish
> >
> > --------------------
> > asterix:/home/balay/tmp/spetsc/src>find . -type f -name "*.c" -exec
> > basename {} \; | sort | uniq -d |grep -v ^ex
> > characteristicf.c
> > color.c
> > da.c
> > dense.c
> > dlregis.c
> > flow.c
> > asterix:/home/balay/tmp/spetsc/src>find . -type f -name characteristicf.c
> > ./contrib/semiLagrange/interface/ftn-auto/characteristicf.c
> > ./semiLagrange/interface/ftn-auto/characteristicf.c
> > asterix:/home/balay/tmp/spetsc/src>find . -type f -name color.c
> > ./contrib/markadamscolor/color.c
> > ./mat/color/color.c
> > asterix:/home/balay/tmp/spetsc/src>find . -type f -name da.c
> > ./semiLagrange/impls/da/da.c
> > ./dm/da/src/da.c
> > asterix:/home/balay/tmp/spetsc/src>find . -type f -name dense.c
> > ./mat/impls/dense/seq/dense.c
> > ./bilinear/impls/dense/seq/dense.c
> > asterix:/home/balay/tmp/spetsc/src>find . -type f -name dlregis.c
> > ./semiLagrange/interface/dlregis.c
> > ./bilinear/interface/dlregis.c
> > asterix:/home/balay/tmp/spetsc/src>find . -type f -name flow.c
> > ./contrib/fun3d/comp/flow.c
> > ./contrib/fun3d/incomp/flow.c
> > asterix:/home/balay/tmp/spetsc/src>
> >
> >
> >
> 
> 
> 




More information about the petsc-dev mailing list