[petsc-dev] failed rebase

Satish Balay balay at mcs.anl.gov
Fri Apr 3 13:41:04 CDT 2020


This MR is at https://gitlab.com/petsc/petsc/-/merge_requests/2684

Satish

On Fri, 3 Apr 2020, Mark Adams wrote:

> I am in no hurry to rebase.
> This branch added just a few fortran stubs, so Plex is clearly about to
> bust. (Matt has a branch with more Fortran stubs)
> I can wait until it's in master.
> Thanks,
> Mark
> 
> On Fri, Apr 3, 2020 at 12:06 PM Satish Balay via petsc-dev <
> petsc-dev at mcs.anl.gov> wrote:
> 
> > On Fri, 3 Apr 2020, Satish Balay via petsc-dev wrote:
> >
> > > So run bfort on 10 files at a time?
> >
> > The following is working..
> >
> > Satish
> >
> > ------
> > $ git diff
> > diff --git a/lib/petsc/bin/maint/generatefortranstubs.py
> > b/lib/petsc/bin/maint/generatefortranstubs.py
> > index 329fcb5b6f..351cf71257 100755
> > --- a/lib/petsc/bin/maint/generatefortranstubs.py
> > +++ b/lib/petsc/bin/maint/generatefortranstubs.py
> > @@ -178,8 +178,10 @@ def processDir(petscdir, bfort, verbose, dirpath,
> > dirnames, filenames):
> >                 '-mpi', '-shortargname', '-ferr', '-ptrprefix Petsc',
> > '-ptr64 PETSC_USE_POINTER_CONVERSION',
> >                 '-fcaps PETSC_HAVE_FORTRAN_CAPS', '-fuscore
> > PETSC_HAVE_FORTRAN_UNDERSCORE',
> >                 '-f90mod_skip_header','-f90modfile','f90module.f90']
> > -    cmd =
> > 'BFORT_CONFIG_PATH='+os.path.join(petscdir,'lib','petsc','conf')+'
> > '+bfort+' '+' '.join(options+newls)
> > -    output = check_output(cmd, cwd=dirpath, shell=True,
> > stderr=subprocess.STDOUT)
> > +    split_ct = 10
> > +    for i in range(0, len(newls), split_ct):
> > +      cmd =
> > 'BFORT_CONFIG_PATH='+os.path.join(petscdir,'lib','petsc','conf')+'
> > '+bfort+' '+' '.join(options+newls[i:i+split_ct])
> > +      output = check_output(cmd, cwd=dirpath, shell=True,
> > stderr=subprocess.STDOUT)
> >      FixDir(petscdir,outdir,verbose)
> >
> >    # remove from list of subdirectories all directories without source code
> > balay at sb /home/balay/petsc ((752ef57468...) *)
> > $ time lib/petsc/bin/maint/generatefortranstubs.py bfort
> >
> > real    0m3.514s
> > user    0m2.055s
> > sys     0m1.642s
> >
> 



More information about the petsc-dev mailing list