History log of /petsc/src/vec/ (Results 4176 – 4200 of 6950)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
20803bd009-Feb-2011 Matthew G Knepley <knepley@gmail.com>

Merge

Hg-commit: 674bc8187eb8d0423d5e5713bd4ba8a46a2b8020


/petsc/bin/maint/generateetags.py
/petsc/bin/matlab/classes/PetscOptionsGetString.m
/petsc/bin/matlab/classes/examples/tutorials/ex10.m
/petsc/bin/matlab/classes/matlabheader.h
/petsc/conf/variables
/petsc/config/PETSc/Configure.py
/petsc/config/PETSc/packages/MUMPS.py
/petsc/config/PETSc/packages/ParMetis.py
/petsc/config/PETSc/packages/Scotch.py
/petsc/config/PETSc/packages/Zoltan.py
/petsc/config/PETSc/packages/fftw.py
/petsc/config/PETSc/packages/sowing.py
/petsc/config/PETSc/utilities/libraryOptions.py
/petsc/config/builder.py
/petsc/config/cmakeboot.py
/petsc/config/cmakegen.py
/petsc/config/examples/arch-cray-xt5-opt.py
/petsc/include/finclude/petscmatdef.h
/petsc/include/petscmat.h
/petsc/src/benchmarks/streams/BasicVersion.c
/petsc/src/benchmarks/streams/OpenMPVersion.c
/petsc/src/benchmarks/streams/makefile
/petsc/src/dm/interface/makefile
/petsc/src/docs/tex/manual/part2.tex
/petsc/src/docs/tex/petsc.bib
/petsc/src/docs/tex/petscapp.bib
/petsc/src/docs/website/developers/projects.html
/petsc/src/docs/website/documentation/faq.html
/petsc/src/docs/website/documentation/installation.html
/petsc/src/ksp/ksp/examples/tutorials/makefile
/petsc/src/ksp/ksp/interface/itfunc.c
/petsc/src/ksp/pc/impls/factor/factor.c
/petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c
/petsc/src/ksp/pc/impls/shell/shellpc.c
/petsc/src/mat/examples/tests/ex112.c
/petsc/src/mat/examples/tests/ex121.c
/petsc/src/mat/examples/tests/ex142.c
/petsc/src/mat/examples/tests/ex143.c
/petsc/src/mat/examples/tests/makefile
/petsc/src/mat/examples/tests/output/ex143.out
/petsc/src/mat/impls/aij/mpi/mpiaij.c
/petsc/src/mat/impls/aij/mpi/mumps/mumps.c
/petsc/src/mat/impls/aij/seq/aij.c
/petsc/src/mat/impls/fft/fft.c
/petsc/src/mat/impls/fft/fft.h
/petsc/src/mat/impls/fft/fftw/fftw.c
/petsc/src/mat/impls/fft/fftw/ftn-custom/makefile
/petsc/src/mat/impls/fft/fftw/ftn-custom/zfftwf.c
/petsc/src/mat/impls/fft/fftw/makefile
/petsc/src/mat/impls/fft/makefile
/petsc/src/mat/impls/makefile
/petsc/src/mat/interface/matregis.c
/petsc/src/mat/interface/matrix.c
/petsc/src/snes/examples/tutorials/ex27.c
/petsc/src/snes/examples/tutorials/ex32.c
/petsc/src/snes/examples/tutorials/makefile
/petsc/src/sys/objects/mpinit.c
/petsc/src/sys/objects/options.c
/petsc/src/ts/examples/tutorials/ex9.c
/petsc/src/ts/interface/ts.c
vec/impls/mpi/pdvec.c
vec/impls/seq/bvec2.c
/petsc/tutorials/multiphysics/makefile
/petsc/tutorials/multiphysics/mp.c
/petsc/tutorials/multiphysics/output/mp_10.out
6477988008-Feb-2011 Matthew G Knepley <knepley@gmail.com>

Now requirepackage is only used for proper packages, functions use requiresfunction, and the rest use requiresdefine

Hg-commit: dd65fd3461c02753386917514e6ebe12d345a30e


/petsc/conf/rules
/petsc/config/builder.py
/petsc/config/cmakeboot.py
/petsc/include/sieve/INumbering.hh
/petsc/include/sieve/LabelSifter.hh
/petsc/include/sieve/Mesh.hh
/petsc/include/sieve/Numbering.hh
/petsc/src/dm/ao/impls/basic/ftn-custom/makefile
/petsc/src/dm/ao/impls/mapping/ftn-custom/makefile
/petsc/src/dm/ao/interface/ftn-custom/makefile
/petsc/src/dm/f90-mod/makefile
/petsc/src/dm/impls/composite/f90-custom/makefile
/petsc/src/dm/impls/composite/ftn-custom/makefile
/petsc/src/dm/impls/da/f90-custom/makefile
/petsc/src/dm/impls/da/ftn-custom/makefile
/petsc/src/dm/interface/ftn-custom/makefile
/petsc/src/dm/mesh/f90-custom/makefile
/petsc/src/dm/mesh/ftn-custom/makefile
/petsc/src/docs/tex/petscapp.bib
/petsc/src/ksp/f90-mod/makefile
/petsc/src/ksp/ksp/examples/tutorials/ex8.c
/petsc/src/ksp/ksp/examples/tutorials/makefile
/petsc/src/ksp/ksp/impls/gmres/fgmres/ftn-custom/makefile
/petsc/src/ksp/ksp/impls/python/ftn-custom/makefile
/petsc/src/ksp/ksp/interface/f90-custom/makefile
/petsc/src/ksp/ksp/interface/ftn-custom/makefile
/petsc/src/ksp/pc/impls/asm/ftn-custom/makefile
/petsc/src/ksp/pc/impls/bicgstabcusp/makefile
/petsc/src/ksp/pc/impls/bjacobi/ftn-custom/makefile
/petsc/src/ksp/pc/impls/composite/ftn-custom/makefile
/petsc/src/ksp/pc/impls/factor/ftn-custom/makefile
/petsc/src/ksp/pc/impls/hypre/ftn-custom/makefile
/petsc/src/ksp/pc/impls/mg/ftn-custom/makefile
/petsc/src/ksp/pc/impls/python/ftn-custom/makefile
/petsc/src/ksp/pc/impls/sacusp/makefile
/petsc/src/ksp/pc/impls/shell/ftn-custom/makefile
/petsc/src/ksp/pc/interface/ftn-custom/makefile
/petsc/src/mat/color/ftn-custom/makefile
/petsc/src/mat/examples/tests/ex112.c
/petsc/src/mat/examples/tests/ex121.c
/petsc/src/mat/examples/tests/ex143.c
/petsc/src/mat/f90-mod/makefile
/petsc/src/mat/ftn-custom/makefile
/petsc/src/mat/ftn-kernels/makefile
/petsc/src/mat/impls/adj/mpi/ftn-custom/makefile
/petsc/src/mat/impls/aij/mpi/ftn-custom/makefile
/petsc/src/mat/impls/aij/seq/crl/ftn-kernels/makefile
/petsc/src/mat/impls/aij/seq/ftn-custom/makefile
/petsc/src/mat/impls/aij/seq/ftn-kernels/makefile
/petsc/src/mat/impls/aij/seq/matlab/makefile
/petsc/src/mat/impls/baij/mpi/ftn-custom/makefile
/petsc/src/mat/impls/baij/seq/ftn-custom/makefile
/petsc/src/mat/impls/baij/seq/ftn-kernels/makefile
/petsc/src/mat/impls/dense/mpi/ftn-custom/makefile
/petsc/src/mat/impls/dense/seq/ftn-custom/makefile
/petsc/src/mat/impls/fftw/fftw.c
/petsc/src/mat/impls/fftw/ftn-custom/makefile
/petsc/src/mat/impls/mffd/ftn-custom/makefile
/petsc/src/mat/impls/python/ftn-custom/makefile
/petsc/src/mat/impls/sbaij/mpi/ftn-custom/makefile
/petsc/src/mat/impls/sbaij/seq/ftn-custom/makefile
/petsc/src/mat/impls/shell/ftn-custom/makefile
/petsc/src/mat/interface/f90-custom/makefile
/petsc/src/mat/interface/ftn-custom/makefile
/petsc/src/mat/matfd/ftn-custom/makefile
/petsc/src/mat/order/ftn-custom/makefile
/petsc/src/mat/partition/ftn-custom/makefile
/petsc/src/mat/partition/impls/party/ftn-custom/makefile
/petsc/src/mat/partition/impls/scotch/ftn-custom/makefile
/petsc/src/mat/utils/ftn-custom/makefile
/petsc/src/snes/examples/tutorials/makefile
/petsc/src/snes/f90-mod/makefile
/petsc/src/snes/ftn-custom/makefile
/petsc/src/snes/impls/ls/ftn-custom/makefile
/petsc/src/snes/impls/python/ftn-custom/makefile
/petsc/src/snes/interface/f90-custom/makefile
/petsc/src/snes/interface/ftn-custom/makefile
/petsc/src/snes/utils/ftn-custom/makefile
/petsc/src/sys/ams/java/makefile
/petsc/src/sys/bag/f90-custom/makefile
/petsc/src/sys/draw/impls/win32/makefile
/petsc/src/sys/draw/impls/x/ftn-custom/makefile
/petsc/src/sys/draw/interface/ftn-custom/makefile
/petsc/src/sys/draw/utils/ftn-custom/makefile
/petsc/src/sys/error/ftn-custom/makefile
/petsc/src/sys/f90-mod/makefile
/petsc/src/sys/f90-src/makefile
/petsc/src/sys/fileio/ftn-custom/makefile
/petsc/src/sys/fsrc/makefile
/petsc/src/sys/ftn-custom/makefile
/petsc/src/sys/matlabengine/ftn-custom/makefile
/petsc/src/sys/matlabengine/makefile
/petsc/src/sys/memory/ftn-custom/makefile
/petsc/src/sys/mpiuni/f90-mod/makefile
/petsc/src/sys/objects/ftn-custom/makefile
/petsc/src/sys/plog/ftn-custom/makefile
/petsc/src/sys/plog/utils/makefile
/petsc/src/sys/python/ftn-custom/makefile
/petsc/src/sys/random/impls/rand/makefile
/petsc/src/sys/random/impls/rand48/makefile
/petsc/src/sys/time/nt_time/makefile
/petsc/src/sys/time/rs6000_time/makefile
/petsc/src/sys/utils/ftn-custom/makefile
/petsc/src/sys/utils/ftn-kernels/makefile
/petsc/src/sys/verbose/ftn-custom/makefile
/petsc/src/sys/viewer/impls/ascii/ftn-custom/makefile
/petsc/src/sys/viewer/impls/binary/f90-custom/makefile
/petsc/src/sys/viewer/impls/binary/ftn-custom/makefile
/petsc/src/sys/viewer/impls/draw/ftn-custom/makefile
/petsc/src/sys/viewer/impls/hdf5/ftn-custom/makefile
/petsc/src/sys/viewer/impls/hdf5/hdf5v.c
/petsc/src/sys/viewer/impls/matlab/ftn-custom/makefile
/petsc/src/sys/viewer/impls/matlab/makefile
/petsc/src/sys/viewer/impls/socket/ftn-custom/makefile
/petsc/src/sys/viewer/impls/socket/makefile
/petsc/src/sys/viewer/impls/string/ftn-custom/makefile
/petsc/src/sys/viewer/interface/ftn-custom/makefile
/petsc/src/ts/f90-mod/makefile
/petsc/src/ts/impls/implicit/sundials/ftn-custom/makefile
/petsc/src/ts/impls/python/ftn-custom/makefile
/petsc/src/ts/interface/ftn-custom/makefile
f90-mod/makefile
ftn-custom/makefile
is/impls/block/ftn-custom/makefile
is/impls/f90-custom/makefile
is/interface/f90-custom/makefile
is/interface/ftn-custom/makefile
is/utils/f90-custom/makefile
is/utils/ftn-custom/makefile
pf/impls/matlab/makefile
vec/impls/mpi/ftn-custom/makefile
vec/impls/seq/ftn-custom/makefile
vec/impls/seq/ftn-kernels/makefile
vec/interface/f90-custom/makefile
vec/interface/ftn-custom/makefile
vec/utils/ftn-custom/makefile
vec/utils/matlab/makefile
5001b9dc07-Feb-2011 Barry Smith <bsmith@mcs.anl.gov>

when writing vector to binary file always write the block size to the info file even when size one so that outdated values in the options database don't get used.

Hg-commit: 78016a9f6dd83870e0896c4e

when writing vector to binary file always write the block size to the info file even when size one so that outdated values in the options database don't get used.

Hg-commit: 78016a9f6dd83870e0896c4e504cdee0c23dea53

show more ...


/petsc/bin/maint/generateetags.py
/petsc/conf/variables
/petsc/config/PETSc/packages/MUMPS.py
/petsc/config/PETSc/packages/ParMetis.py
/petsc/config/PETSc/packages/Scotch.py
/petsc/config/PETSc/packages/Zoltan.py
/petsc/config/PETSc/packages/fftw.py
/petsc/config/PETSc/packages/sowing.py
/petsc/config/cmakeboot.py
/petsc/config/examples/arch-cray-xt5-opt.py
/petsc/include/finclude/petscmatdef.h
/petsc/include/petscmat.h
/petsc/include/sieve/INumbering.hh
/petsc/include/sieve/Numbering.hh
/petsc/src/benchmarks/streams/BasicVersion.c
/petsc/src/benchmarks/streams/OpenMPVersion.c
/petsc/src/benchmarks/streams/makefile
/petsc/src/docs/tex/petsc.bib
/petsc/src/docs/tex/petscapp.bib
/petsc/src/docs/website/developers/projects.html
/petsc/src/docs/website/documentation/faq.html
/petsc/src/docs/website/documentation/installation.html
/petsc/src/ksp/ksp/examples/tutorials/ex8.c
/petsc/src/ksp/ksp/examples/tutorials/makefile
/petsc/src/ksp/ksp/interface/itfunc.c
/petsc/src/ksp/pc/impls/factor/factor.c
/petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c
/petsc/src/ksp/pc/impls/shell/shellpc.c
/petsc/src/mat/examples/tests/ex112.c
/petsc/src/mat/examples/tests/ex121.c
/petsc/src/mat/examples/tests/ex142.c
/petsc/src/mat/examples/tests/ex143.c
/petsc/src/mat/examples/tests/makefile
/petsc/src/mat/examples/tests/output/ex143.out
/petsc/src/mat/impls/aij/mpi/mpiaij.c
/petsc/src/mat/impls/aij/mpi/mumps/mumps.c
/petsc/src/mat/impls/aij/seq/aij.c
/petsc/src/mat/impls/fft/fft.c
/petsc/src/mat/impls/fft/fft.h
/petsc/src/mat/impls/fft/fftw/fftw.c
/petsc/src/mat/impls/fft/fftw/ftn-custom/makefile
/petsc/src/mat/impls/fft/fftw/ftn-custom/zfftwf.c
/petsc/src/mat/impls/fft/fftw/makefile
/petsc/src/mat/impls/fft/makefile
/petsc/src/mat/impls/makefile
/petsc/src/mat/interface/matregis.c
/petsc/src/mat/interface/matrix.c
/petsc/src/snes/examples/tutorials/ex32.c
/petsc/src/snes/examples/tutorials/makefile
/petsc/src/sys/objects/mpinit.c
/petsc/src/sys/viewer/impls/hdf5/hdf5v.c
/petsc/src/ts/examples/tutorials/ex9.c
vec/impls/mpi/pdvec.c
vec/impls/seq/bvec2.c
/petsc/tutorials/multiphysics/makefile
/petsc/tutorials/multiphysics/mp.c
/petsc/tutorials/multiphysics/output/mp_10.out
76a6a73728-Jan-2011 Brad Aagaard <baagaard at usgs.gov>

Fixed bug where local Vec size of 0 caused HDF5 error when creating memspace with zero in one of the dimensions. Create a null memspace and then use H5Sselect_none() to reset the filespace to none af

Fixed bug where local Vec size of 0 caused HDF5 error when creating memspace with zero in one of the dimensions. Create a null memspace and then use H5Sselect_none() to reset the filespace to none after selecting hyperslab.

Hg-commit: 8d262f2637166759c312d0ba93fedcc6216337da

show more ...


/petsc/bin/maint/confignightly/bb30
/petsc/bin/maint/iphonebuilder.py
/petsc/bin/matlab/classes/examples/tutorials/exTS.m
/petsc/bin/matlab/classes/examples/tutorials/exTS_DVI.m
/petsc/conf/rules
/petsc/config/PETSc/Configure.py
/petsc/config/PETSc/packages/PaStiX.py
/petsc/config/PETSc/packages/TetGen.py
/petsc/config/PETSc/packages/Triangle.py
/petsc/config/PETSc/packages/X11.py
/petsc/config/PETSc/packages/fftw.py
/petsc/config/PETSc/utilities/arch.py
/petsc/config/PETSc/utilities/debuggers.py
/petsc/config/PETSc/utilities/petscdir.py
/petsc/config/PETSc/utilities/sharedLibraries.py
/petsc/config/builder.py
/petsc/config/cmakeboot.py
/petsc/config/configure.py
/petsc/config/install.py
/petsc/include/petscpc.h
/petsc/makefile
/petsc/src/docs/tex/manual/abstract.tex
/petsc/src/docs/tex/manual/acknowl.tex
/petsc/src/docs/tex/manual/gettinginfo.tex
/petsc/src/docs/tex/manual/part1.tex
/petsc/src/docs/tex/manual/part2.tex
/petsc/src/docs/tex/petscapp.bib
/petsc/src/docs/website/developers/projects.html
/petsc/src/docs/website/documentation/referencing.html
/petsc/src/ksp/ksp/examples/tutorials/ex10.c
/petsc/src/ksp/ksp/impls/lsqr/lsqr.c
/petsc/src/ksp/pc/impls/bicgstabcusp/bicgstabcusp.cu
/petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c
/petsc/src/ksp/pc/impls/lsc/lsc.c
/petsc/src/ksp/pc/impls/ml/ml.c
/petsc/src/mat/examples/tests/ex112.c
/petsc/src/mat/examples/tests/ex142.c
/petsc/src/mat/examples/tests/ex143.c
/petsc/src/mat/examples/tests/makefile
/petsc/src/mat/impls/aij/seq/seqcusp/aijcusp.cu
/petsc/src/mat/impls/fftw/fftw.c
/petsc/src/sys/ftn-custom/zstart.c
/petsc/src/sys/plog/logimpl.h
vec/impls/mpi/pdvec.c
3486a2af21-Jan-2011 Barry Smith <bsmith@mcs.anl.gov>

added .cu to .rm rule to makefiles
updated manual merge to use cusp

Hg-commit: 84dcc031450529677736345609eb641ad34aeb9f

99b7310f21-Jan-2011 Barry Smith <bsmith@mcs.anl.gov>

commit after manual merge

Hg-commit: 7297db73518173332630bb41c7f3242a65f459f4

df3a31bc21-Jan-2011 Barry Smith <bsmith@mcs.anl.gov>

finished converting cuda to cusp in source code

Hg-commit: 7d2435fd6968de7d5739915853d92ec73d2998c0

95812b2b21-Jan-2011 Matthew G Knepley <knepley@gmail.com>

Fixed bad merge

Hg-commit: 2254290672032c34a7e4042700d4e34c4723245a

b7ef5f1321-Jan-2011 Barry Smith <bsmith@mcs.anl.gov>

changed more file names from cuda to cusp

Hg-commit: c5000cb46896546bd89b0a3eaeeef63664d38ffc

797dd94a21-Jan-2011 Victor Minden <victorminden@gmail.com>

changed CUDA copysome to use new cudagetarray methods (maybe this will help?)

Hg-commit: 7abed4906277a23f6f89cb5a3e0638e8618c383d

e3d235bd21-Jan-2011 Barry Smith <bsmith@mcs.anl.gov>

changed names of directories that had cuda to cusp
changed names of some files that had cuda to cusp

Hg-commit: 7e265e74bd58a9e4b021e6c83e3146332a07fbdb

8154be4121-Jan-2011 Barry Smith <bsmith@mcs.anl.gov>

changed names of all GPU related functions, macros and variables that involve CUSP to use the string CUSP instead of the misleading CUDA

Hg-commit: 3264fa4049fd83eceb12c85feb980ef207360220


/petsc/bin/maint/confignightly/bb30
/petsc/conf/test
/petsc/include/petsccuda.h
/petsc/include/petscmat.h
/petsc/include/petscpc.h
/petsc/include/petscvec.h
/petsc/include/private/matimpl.h
/petsc/include/private/vecimpl.h
/petsc/src/dm/interface/dm.c
/petsc/src/docs/tex/manual/part2.tex
/petsc/src/docs/website/documentation/faq.html
/petsc/src/docs/website/documentation/installation.html
/petsc/src/docs/website/features/gpus.html
/petsc/src/docs/website/index.html
/petsc/src/ksp/pc/impls/bicgstabcuda/bicgstabcuda.cu
/petsc/src/ksp/pc/impls/bicgstabcuda/makefile
/petsc/src/ksp/pc/impls/makefile
/petsc/src/ksp/pc/impls/sacuda/makefile
/petsc/src/ksp/pc/impls/sacuda/sacuda.cu
/petsc/src/ksp/pc/interface/pcregis.c
/petsc/src/mat/impls/aij/aij/aijtype.c
/petsc/src/mat/impls/aij/mpi/makefile
/petsc/src/mat/impls/aij/mpi/mpicuda/makefile
/petsc/src/mat/impls/aij/mpi/mpicuda/mpiaijcuda.cu
/petsc/src/mat/impls/aij/seq/aij.c
/petsc/src/mat/impls/aij/seq/makefile
/petsc/src/mat/impls/aij/seq/seqcuda/aijcuda.cu
/petsc/src/mat/impls/aij/seq/seqcuda/cudamatimpl.h
/petsc/src/mat/impls/aij/seq/seqcuda/makefile
/petsc/src/mat/interface/dlregismat.c
/petsc/src/mat/interface/matregis.c
/petsc/src/mat/interface/matrix.c
/petsc/src/mat/order/sorder.c
/petsc/src/snes/examples/tutorials/ex47cu.cu
/petsc/src/snes/examples/tutorials/makefile
/petsc/src/sys/objects/init.c
/petsc/src/sys/objects/pinit.c
vec/impls/mpi/makefile
vec/impls/mpi/mpicuda/makefile
vec/impls/mpi/mpicuda/mpicuda.cu
vec/impls/seq/makefile
vec/impls/seq/seqcuda/cudavecimpl.h
vec/impls/seq/seqcuda/makefile
vec/impls/seq/seqcuda/veccuda.cu
vec/interface/dlregisvec.c
vec/interface/vecregall.c
vec/interface/vector.c
vec/utils/vpscat.c
vec/utils/vpscat.h
0bf0c37521-Jan-2011 Satish Balay <balay@mcs.anl.gov>

fix bad merge

Hg-commit: a9232016f92cf0c34830127bf9ef48494495d1c9

03e9987121-Jan-2011 Satish Balay <balay@mcs.anl.gov>

merge from 31

Hg-commit: 362d882ffa7f19081a40ee99fdb89b9b6325a049

df09a39920-Jan-2011 Matthew G Knepley <knepley@gmail.com>

Small change to HDF5 output (now Vec always has blocksize dim)

Hg-commit: befa73e0225288e1ffca8093c2fc0850ff30cb6d

4435de2017-Jan-2011 Sean Farley <sean@mcs.anl.gov>

Fixed some naming errors with Barry's back port from petsc-dev

Hg-commit: d8953a43088b3b55020d1d5921aea73416b89d7b

7f2f694d15-Jan-2011 Victor Minden <victorminden@gmail.com>

initializing to 0 in VecCUDAGetArray for check to get rid of compiler warnings

Hg-commit: e6cf908276e7b96f7355aa47b0c495683e122536

b78e34b309-Jan-2011 Hong Zhang <hzhang@mcs.anl.gov>

update output files for dm/examples/tutorials/output/ex3.c

Hg-commit: 91c0981b7dd2ad2f536751f7e0d2f7c37ccd0bb7

24e7ded009-Jan-2011 Barry Smith <bsmith@mcs.anl.gov>

added MatFindZeroDiagonals()
added docs about weakness of DMView(), DMDALoad() for DMDA and binary viewer

Hg-commit: 2c69111a371375ded3a523f97ab010afdba2995d

2bc1642709-Jan-2011 Barry Smith <bsmith@mcs.anl.gov>

backported HDF viewer for Vec_Seq

Hg-commit: 0c4f7d614bb01a1a07e799cc887cf080b65d6c90

e402caf508-Jan-2011 Hong Zhang <hzhang@mcs.anl.gov>

rm useless varible

Hg-commit: a0fa5ba23a828184657af1686374cc32d141015e

dbc8283e08-Jan-2011 Barry Smith <bsmith@mcs.anl.gov>

do not attempt to free all undestroyed PETSc objects in PetscFinalize() instead just optional print them
if the Petsc_InnerComm_keyval is attached to PETSC_COMM_SELF or PETSC_COMM_WORLD then free inn

do not attempt to free all undestroyed PETSc objects in PetscFinalize() instead just optional print them
if the Petsc_InnerComm_keyval is attached to PETSC_COMM_SELF or PETSC_COMM_WORLD then free inner communicator and delete attribute from outter communicator
Subject: Re: [petsc-maint #60571] DMDestroy crashes if I don't carefully destroy every vector that was created with it
From: Barry Smith <bsmith@mcs.anl.gov>
Date: January 7, 2011 5:51:17 PM CST
To: petsc-maint <petsc-maint@mcs.anl.gov>, Jason Sarich <sarich@mcs.anl.gov>
Reply-To: petsc-maint <petsc-maint@mcs.anl.gov>

Jason,

Thanks for reporting this with a reproduceble example.

This is big trouble and I don't have a good solution yet. The problem comes because I keep a list of ALL outstanding objects and just loop over them deleting them. The problem is if one object has a reference to another object (the ISLocalToGlobalMapping is referenced by the Vec) but the referenced object is destroyed, then when the referencer is destroyed it tries to destroy the previously destroyed object (hence the crash).

The reason I want to destroy all objects before existing PetscFinalize() is to make PETSc reentrant (so you can call PetscInitialize() more than once, which is normal to do in a scripting language like Python or MATLAB). If I don't destroy all objects then the extra MPI communicators and attributes in the MPI communicators are not destroyed and next time you enter PETSc and use one of those attributes it points to something that is not valid and gives trouble. Destroying all objects insures proper cleanup, otherwise we'd need some other way in PetscFinalize() to cleanup which appears like extra infrastructure I don't want to have. In a scripting environment (unlike a real language :-) it is unrealistic to expect users to cleanup all objects themselves.


Barry

On Jan 7, 2011, at 4:37 PM, Jason Sarich wrote:

Using petsc-dev changeset: 18100:5f2967045bc2 (1/07/2011 15:34)

PETSc is throwing some errors when I don't destroy my dm-created vectors
before destroying the DM. I can reproduce this with
snes/examples/tutorials/ex5.c by removing the VecDestroy(x):

sarich@franklin:~/software/petsc-dev/src/snes/examples/tutorials> ./ex5
Number of Newton iterations = 4
[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Invalid argument!
[0]PETSC ERROR: Wrong type of object: Parameter # 1!
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Development HG revision:
c082370134d6559807fdad65fb712d89017dee8f HG Date: Mon Jan 03 22:01:17 2011
-0600
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: ./ex5 on a linux-gnu named franklin by sarich Fri Jan 7
16:35:50 2011
[0]PETSC ERROR: Libraries linked from
/home/sarich/software/petsc-dev/linux-gnu-cxx-debug/lib
[0]PETSC ERROR: Configure run at Tue Jan 4 09:55:51 2011
[0]PETSC ERROR: Configure options --download-mpich=1 --with-shared=1
--download-sowing=1 --with-dynamic=1 PETSC_ARCH=linux-gnu-cxx-debug

Hg-commit: cdec62f65ff5d1a817cd2a47c5f6f27c0b729322

show more ...

7f6f51e907-Jan-2011 Satish Balay <balay@mcs.anl.gov>

win32 fixes

Hg-commit: 230d0338dff89fcff00cccf115250758903e9357


/petsc/bin/matlab/classes/PETSC_COMM_SELF.m
/petsc/bin/matlab/classes/PetscFinalize.m
/petsc/bin/matlab/classes/PetscInitialize.m
/petsc/bin/matlab/classes/PetscLogStagePop.m
/petsc/bin/matlab/classes/PetscLogStagePush.m
/petsc/bin/matlab/classes/PetscLogStageRegister.m
/petsc/bin/matlab/classes/PetscSNES.m
/petsc/bin/matlab/classes/matlabheader.h
/petsc/config/PETSc/Configure.py
/petsc/config/PETSc/packages/ParMetis.py
/petsc/include/petscksp.h
/petsc/include/petscpc.h
/petsc/src/contrib/keyes/makefile
/petsc/src/docs/tex/manual/part2.tex
/petsc/src/docs/website/developers/projects.html
/petsc/src/docs/website/documentation/changes/dev.html
/petsc/src/ksp/ksp/examples/tutorials/ex2f.F
/petsc/src/ksp/ksp/interface/ftn-custom/zitclf.c
/petsc/src/ksp/pc/impls/bicgstabcuda/bicgstabcuda.cu
/petsc/src/ksp/pc/impls/bicgstabcuda/makefile
/petsc/src/ksp/pc/impls/is/nn/nn.c
/petsc/src/ksp/pc/impls/makefile
/petsc/src/ksp/pc/impls/ml/ml.c
/petsc/src/ksp/pc/impls/redistribute/redistribute.c
/petsc/src/ksp/pc/impls/redundant/redundant.c
/petsc/src/ksp/pc/impls/sacuda/sacuda.cu
/petsc/src/ksp/pc/interface/pcregis.c
/petsc/src/mat/examples/tests/ex94.c
/petsc/src/mat/impls/aij/mpi/mpiov.c
/petsc/src/mat/impls/aij/mpi/pastix/pastix.c
/petsc/src/mat/impls/aij/mpi/superlu_dist/superlu_dist.c
/petsc/src/mat/impls/aij/seq/crl/crl.c
/petsc/src/mat/impls/aij/seq/csrperm/csrperm.c
/petsc/src/mat/impls/maij/maij.c
/petsc/src/snes/examples/tests/ex11.c
/petsc/src/snes/examples/tutorials/makefile
/petsc/src/snes/impls/vi/vi.c
/petsc/src/snes/utils/damg.c
/petsc/src/sys/objects/pinit.c
/petsc/src/ts/examples/tutorials/ex15.c
/petsc/src/ts/examples/tutorials/ex17.c
/petsc/src/ts/examples/tutorials/makefile
/petsc/src/ts/examples/tutorials/output/ex15_1.out
/petsc/src/ts/examples/tutorials/output/ex15_3.out
/petsc/src/ts/examples/tutorials/output/ex15_4.out
is/interface/index.c
vec/utils/vecstash.c
be6adb1101-Jan-2011 Barry Smith <bsmith@mcs.anl.gov>

fixed some unitialized variables warnings with MPI-uni

Hg-commit: 925a462303ee56a402b0355f3680130c52d4c99c

659c6bb029-Dec-2010 Jed Brown <jed@59A2.org>

Add VECNEST and MATNEST man pages

Hg-commit: bed0ed4aa7c044e74c299856847fba970f8828e2

1...<<161162163164165166167168169170>>...278