[petsc-dev] making tarball of knepley/pylith branch

Satish Balay balay at mcs.anl.gov
Fri Jun 14 14:04:38 CDT 2013


On Fri, 14 Jun 2013, Brad Aagaard wrote:

> Satish,
> 
> When I use the tarball of the knepley/pylith branch that I generated it looks
> like I am missing all of the fortranstubs. Configure and make proceed, but the
> first 'make test' fails due to missing symbols.
> 
> The link of the test fails:
> /home/brad/tmp/petsc-pylith/arch-gcc-4.6.1_debug/lib/libpetsc.so: undefined
> reference to `kspfgmresmodifypcksp_'
> /home/brad/tmp/petsc-pylith/arch-gcc-4.6.1_debug/lib/libpetsc.so: undefined
> reference to `kspfgmresmodifypcnochange_'
> /home/brad/tmp/petsc-pylith/arch-gcc-4.6.1_debug/lib/libpetsc.so: undefined
> reference to `tsmonitordefault_'
> 
> I noticed that the builddist script runs "make allfortransubs" and the tarball
> excludes bin/maint. Where are the fortran stubs supposed to be in the
> resulting tarball?

in ftn-auto subdir of the corresponding source dir. i.e

src/ksp/ksp/impls/gmres/fgmres/ftn-auto/modpcff.c
src/ts/interface/ftn-auto/tsf.c

Satish
> 
> Thanks,
> Brad
> 
> 
> On 06/14/2013 09:34 AM, Satish Balay wrote:
> > On Fri, 14 Jun 2013, Satish Balay wrote:
> > 
> > > On Thu, 13 Jun 2013, Brad Aagaard wrote:
> > > 
> > > > In the past I have used the nightly tarball of petsc for our PyLith
> > > > releases.
> > > > Matt created a knepley/pylith branch that we now use with PyLith. I want
> > > > to
> > > > create a tarball analogous to the nightly tarball for the knepley/pylith
> > > > branch for our upcoming PyLith release.
> > > 
> > > you could do: bin/maint/builddist knepley/pylith
> > 
> > That should be: bin/maint/builddist $PETSC_DIR knepley/pylith
> > 
> > nd looks like I need to fixup the script to convert knepley/pylith to
> > knepley-pylith [otherwise the script will attempt to generate
> > ~/petsc-knepley/pylith.tar.gz :(
> > 
> > satish
> > 
> > > > 
> > > > I found the builddist script in $PETSC_DIR/bin/maint but it seems to
> > > > mess with
> > > > my current repo (cleaning, etc) and wants to configure with matlab
> > > > enabled.
> > > > Should I make a clean clone for building the tarball?
> > > 
> > > Yes I spin tarballs form a separate/clean repo.
> > > 
> > > Since the script was written to not add in superflus stuff into
> > > release tarballs - it attempts to do a thorough 'clean' of the build
> > > tree.
> > > 
> > > > What is the recommended
> > > > procedure for customizing the configure options in builddist (the
> > > > cleaning
> > > > removes any changes I make) so that I get a tarball but don't need extra
> > > > packages like matlab and c2html?
> > > 
> > > Hm - I don't think its possible to switch that off from configure
> > > [without some modifications]
> > > 
> > > I can spin a nightly tarball for knepley/pylith and place it at the
> > > petsc ftp site - if that would be useful.
> > > 
> > > Satish
> > > 
> > > 
> > 
> 
> 




More information about the petsc-dev mailing list