History log of /petsc/src/mat/impls/aij/mpi/mpiaij.c (Results 1226 – 1250 of 2754)
Revision Date Author Comments
# 037dbc42 08-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/fix-mpiint-petscoptionsgetint'

Conflicts:
src/ksp/pc/impls/redistribute/redistribute.c
src/mat/impls/aij/mpi/mpiaij.c
src/mat/impls/dense/mpi/mpidense.c
src/mat/utils/matstas

Merge branch 'barry/fix-mpiint-petscoptionsgetint'

Conflicts:
src/ksp/pc/impls/redistribute/redistribute.c
src/mat/impls/aij/mpi/mpiaij.c
src/mat/impls/dense/mpi/mpidense.c
src/mat/utils/matstash.c
src/snes/examples/tutorials/ex28.c
src/sys/objects/pinit.c
src/vec/is/ao/impls/memscalable/aomemscalable.c

show more ...


# e0133700 05-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/saws-push-header-body' into barry/saws-options


# fb3f26da 04-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

Merge branch 'jed/malloc-array'

Type arguments dropped from PetscMalloc[2-7], PetscNew, and PetscNewLog,
added PetscMalloc1 for allocating typed arrays, add PetscCalloc[1-7] for
allocating cleared (

Merge branch 'jed/malloc-array'

Type arguments dropped from PetscMalloc[2-7], PetscNew, and PetscNewLog,
added PetscMalloc1 for allocating typed arrays, add PetscCalloc[1-7] for
allocating cleared (zeroed) memory.

* jed/malloc-array:
Sys: Add pointer casts from (void **) in calls to PetscMalloc1()
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()
Sys: add PetscCalloc[1-7]
Sys: add PetscMalloc1 macro, array allocation without redundant types
PetscMalloc[2-7]: remove type arguments, infer from pointer type
SNESComputeJacobianDefaultColor: fix uninitialized variable

show more ...


# b00a9115 03-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

Sys: drop explicit type arguments from PetscNew() and PetscNewLog()

git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e '
s@PetscNew\([^,;()]+ *, *@PetscNew(@;
s@PetscNewLog\(([^,;()]+) *,[^,

Sys: drop explicit type arguments from PetscNew() and PetscNewLog()

git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e '
s@PetscNew\([^,;()]+ *, *@PetscNew(@;
s@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@'

show more ...


# 1795a4d1 03-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

Sys: add PetscCalloc[1-7]

Replace lots of places where PetscMemzero is called immediately after
allocation.


# 785e854f 03-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

Sys: add PetscMalloc1 macro, array allocation without redundant types

The type is inferred from the pointer return type. This patch is
automated via the following script:

git grep -l 'PetscMalloc(

Sys: add PetscMalloc1 macro, array allocation without redundant types

The type is inferred from the pointer return type. This patch is
automated via the following script:

git grep -l 'PetscMalloc(.*sizeof' src | xargs perl -pi -e 's@PetscMalloc\(([^,;]*[^,; ]) *\* *sizeof\([^,;()]+\),@PetscMalloc1($1,@'

This commit contains an additional bug-fix in csrperm.c, fixing pointer
arity. The code was introduced in 2006, but the allocation could not
have been correct at any time. This probably means that
MatDuplicate_SeqAIJPERM has never been tested.

a54129beb540034ba105796c682d589e7e1111f2
Richard Tran Mills <rmills@ornl.gov>

Added MATSEQCSRPERM support for MatDuplicate() and conversion to/from
MATSEQAIJ. Note that these changes are not quite debugged.

show more ...


# dcca6d9d 03-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

PetscMalloc[2-7]: remove type arguments, infer from pointer type

This change can be performed almost entirely by this script:

git grep -l PetscMalloc[2-7] $1 | xargs perl -pi \
-e '
s@PetscMalloc

PetscMalloc[2-7]: remove type arguments, infer from pointer type

This change can be performed almost entirely by this script:

git grep -l PetscMalloc[2-7] $1 | xargs perl -pi \
-e '
s@PetscMalloc2\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc2($1,$3,$4,$6)@;
s@PetscMalloc3\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc3($1,$3,$4,$6,$7,$9)@;
s@PetscMalloc4\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc4($1,$3,$4,$6,$7,$9,$10,$12)@;
s@PetscMalloc5\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc5($1,$3,$4,$6,$7,$9,$10,$12,$13,$15)@;
s@PetscMalloc6\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc6($1,$3,$4,$6,$7,$9,$10,$12,$13,$15,$16,$18)@;
s@PetscMalloc7\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc7($1,$3,$4,$6,$7,$9,$10,$12,$13,$15,$16,$18,$19,$21)@;
'

show more ...


# 76ec1555 03-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

fixed many examples that worked incorrectly for 64 bit indices


# 96f37fa2 28-Nov-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/fix-synchronized-printf'


# 244aa513 28-Nov-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/minor-draw-improvements' into jed/chem


# 0ec8b6e3 27-Nov-2013 Barry Smith <bsmith@mcs.anl.gov>

added FILE* argument to PetscSynchronizedFlush() so it knows where to flush the off process values

Previously if process 0 did not call PetscSynchronizedFPrintf() then it output the off process valu

added FILE* argument to PetscSynchronizedFlush() so it knows where to flush the off process values

Previously if process 0 did not call PetscSynchronizedFPrintf() then it output the off process values
to stdout even if the file was not stdout. Also affected PetscViewerASCIISynchronizeFlush()

Reported-by: Randall Mackie <rlmackie862@gmail.com>

show more ...


# c1fdf167 21-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'knepley/fix-mat-zero-rows'

* knepley/fix-mat-zero-rows:
Mat: Replaced communication in MatZeroRows_MPIBAIJ() with PetscSF - Tested with Mat ex12
Mat: Cast to remove warning
Mat:

Merge branch 'knepley/fix-mat-zero-rows'

* knepley/fix-mat-zero-rows:
Mat: Replaced communication in MatZeroRows_MPIBAIJ() with PetscSF - Tested with Mat ex12
Mat: Cast to remove warning
Mat: Fix MatZeroRows_MPIAIJ() - Must initialize local rows with -1 instead of 0
MatZeroRows_MPIAIJ: add missing PetscSFReduceEnd
Mat: Rewrote MPIAIJ MatZeroRows() to use PetscSF - Passes test ex12

show more ...


# cd4f0679 18-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-dmda-section

* master: (528 commits)
Doc: Fixed configure doc
Nightly summary: Added configure section.
TSSetErrorIfStepFails: fix __FUNCT__
TS: fi

Merge branch 'master' into knepley/feature-dmda-section

* master: (528 commits)
Doc: Fixed configure doc
Nightly summary: Added configure section.
TSSetErrorIfStepFails: fix __FUNCT__
TS: fix for TSGetRHSMats_Private() in the creation of the Arhs and Brhs matrices
protect logging of objects (which uses global variables) with PETSC_USE_LOG
error handler API had been previously changed but this example was not updated to new API.
DMPlex: Fixed bug in coordinate permutation
PetscSection: Doc fix for permutation
Bib: Added Top500 and fixed entry
fun3d: update PetscMallocValidate() usage
bugfix of MatCreateSeqAIJFromTriple() contributed by Nicolas Marsic <nicolas.marsic@montefiore.ulg.ac.be>
bib: rename ref with duplicate key
Webpage: Corrected '-dm_mat_type cusp' to 'dm_mat_type aijcusp'.
completed removing server code that was not removed in previous commit
removed PETSc webserver and configure package files that supported it
Allow calling MatGetBlockSize[s]() before matrix preallocation
SNESLINESEARCHBT: Set the norms when exiting early due to negligible step.
fix outdated PetscOptionsList
SNESQN: only monitor real part of dot product (fails with C++ complex)
Fix for multiple definitions in mat/color/interface/ custom fortran bindings
...

Conflicts:
config/builder.py
include/petscdmplex.h
src/dm/impls/da/dageometry.c
src/dm/impls/plex/examples/tests/ex4.c
src/dm/impls/plex/plex.c
src/dm/impls/plex/plexinterpolate.c

show more ...


# c4fbd833 08-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-fem-dgspace

* master: (593 commits)
Bib: Added Top500 and fixed entry
fun3d: update PetscMallocValidate() usage
bib: rename ref with duplicate key

Merge branch 'master' into knepley/feature-fem-dgspace

* master: (593 commits)
Bib: Added Top500 and fixed entry
fun3d: update PetscMallocValidate() usage
bib: rename ref with duplicate key
Webpage: Corrected '-dm_mat_type cusp' to 'dm_mat_type aijcusp'.
Allow calling MatGetBlockSize[s]() before matrix preallocation
SNESLINESEARCHBT: Set the norms when exiting early due to negligible step.
SNESQN: only monitor real part of dot product (fails with C++ complex)
Corrected the #include statement in the man pages for the PetscObjectComposedDataSet/Getwhatever routines.
DMPlex: Added doc for DMPlexGetHybridBounds()
winzip: detect if winzip is used to extract petsc.tar.gz and error out.
configure: remove self.archIndependent as its not being used. [it is used to create externalpackages/package/arch dir which is unused]
configure: fix packages using package-dir/PETSC_ARCH as out-of-source-build location Perhaps this should be changed to package-dir/build?
configure: remove dead code previously used to download BuildSystem
configure: check if compilerDefines [and compilerFixes] exist in framework before using them
configure: save/restore reconfigure.py when --with-clean is used
configure: add --with-clean option to delete buildfiles/externalpackages in PETSC_DIR/PETSC_ARCH and potential externalpackages in --with-external-package-dir/PETSC_ARCH
configure: With --with-externalpackages-dir=dir store/build packages in dir/PETSC_ARCH
Add MatSeqSBAIJSetPreallocationCSR()
configure: switch to using PETSC_DIR/PETSC_ARCH/externalpackages by updating package.py to use externalpackages.py as the externalPackagesDirProvider
configure: move dead code configureExternalPackagesDir() from petscdir.py to externalpackagesdir.py Also set PETSC_DIR/PETSC_ARCH/externalpackages as the externalpackagesdir
...

show more ...


# 58c26cb0 05-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Mat: Cast to remove warning


# 9d80f4af 05-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Mat: Fix MatZeroRows_MPIAIJ()
- Must initialize local rows with -1 instead of 0


# a46ff776 05-Nov-2013 Jed Brown <jedbrown@mcs.anl.gov>

MatZeroRows_MPIAIJ: add missing PetscSFReduceEnd

Reported-by: Stefano Zampini <s.zampini@cineca.it>


# 5c448079 02-Nov-2013 Peter Brune <brune@mcs.anl.gov>

Merge branch 'prbrune/sf-sfbasicops' into prbrune/mat-matcolor


# 1b1dd7ad 01-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Mat: Rewrote MPIAIJ MatZeroRows() to use PetscSF
- Passes test ex12


# 7737a228 31-Oct-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/saws

Conflicts:
src/ksp/pc/impls/gamg/gamg.c
src/sys/classes/viewer/impls/ams/ams.c
src/sys/objects/pinit.c


# a76eec0e 25-Oct-2013 Hong Zhang <hzhang@mcs.anl.gov>

Merge branch 'hzhang/snes-jacobiancoloropt'


# 1919a2e2 21-Oct-2013 Jed Brown <jedbrown@mcs.anl.gov>

Merge branch 'madams/mat-residual' into hzhang/snes-jacobiancoloropt

Fix conflict between new MATOP_RESIDUAL and MATOP_FDCOLORING_SETUP.

* madams/mat-residual:
refactored residuals by adding a 'r

Merge branch 'madams/mat-residual' into hzhang/snes-jacobiancoloropt

Fix conflict between new MATOP_RESIDUAL and MATOP_FDCOLORING_SETUP.

* madams/mat-residual:
refactored residuals by adding a 'residual' method to Mat

Conflicts:
include/finclude/petscmat.h
include/petsc-private/matimpl.h
include/petscmat.h
src/mat/impls/aij/mpi/mpiaij.c
src/mat/impls/aij/seq/aij.c
src/mat/impls/baij/mpi/mpibaij.c
src/mat/impls/baij/seq/baij.c

show more ...


# 3a5eb047 19-Oct-2013 Jed Brown <jedbrown@mcs.anl.gov>

Merge branch 'rlacroix/mpibaij-matgetcolumnnorms'

* rlacroix/mpibaij-matgetcolumnnorms:
Extend and enable the test for MatGetColumnNorms.
Add MatGetColumnNorms for MPIBAIJ matrices.
Add MatGet

Merge branch 'rlacroix/mpibaij-matgetcolumnnorms'

* rlacroix/mpibaij-matgetcolumnnorms:
Extend and enable the test for MatGetColumnNorms.
Add MatGetColumnNorms for MPIBAIJ matrices.
Add MatGetColumnNorms for MPIBAIJ matrices.
MatGetColumnNorms_MPIAIJ: Use PetscObjectComm to access the communicator.

Clean merge except for fixing trailing whitespace in test.

show more ...


# 170be9ae 16-Oct-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-dmda-section

* master: (397 commits)
PetscSynchronizedFGets: fix deadlock at EOF
Compiler: Fix warnings from MPI impls which do not initialize outputs

Merge branch 'master' into knepley/feature-dmda-section

* master: (397 commits)
PetscSynchronizedFGets: fix deadlock at EOF
Compiler: Fix warnings from MPI impls which do not initialize outputs
Increase patchlevel to 3.4.3
SNES: Now work vectors come from the DM
SNES ex62: Remove code generation
SNES: Move setup involving snes->vec_sol from SNESSetUp() to SNESolve()
Compiler: Fix warnings from MPI impls which do not initialize outputs
DMPlex ex7: Added missing test output
SNES ex52: Removed old Jacobian stuff, and fixed call to DMPlexProjectFunction() - Fixed calls for new element handling
SNES ex12: Added a performance profiling mode
DMPlex ex8: Fixed leak
PetscSection: Must reset the section when changing the number of fields
DMPlex ex7: Fixed test output - Corrected orientations in interpolation
DMPlex ex1: Fixed test output - Uniform refinement for quads changed
DMPlex: Fix overagressive checks
PC: Removed support graph PC
configure: both downloadonWindows and worksonWindows refer to MS compilers. Also fix isWindows() -> isWindows(CC).
MatXAIJSetPreallocation: use array[] notation to help out Fortran
__float128: when blas/lapack is not found instruct using f2cblaslapack
Configure: Package.downloadonWindows is supposed to mean that Windows compilers work. not Cygwin - Also changed doc for Package.worksonWindows, which does refer to Cygwin
...

Conflicts:
src/dm/impls/da/dalocal.c

show more ...


# 90063bba 16-Oct-2013 Jed Brown <jedbrown@mcs.anl.gov>

Merge branch 'jed/fix-synchronized-fgets' into maint

Fix deadlock when PetscSynchronizedFGets hits EOF causing MPI_Bcast size
mismatch.

* jed/fix-synchronized-fgets:
PetscSynchronizedFGets: fix d

Merge branch 'jed/fix-synchronized-fgets' into maint

Fix deadlock when PetscSynchronizedFGets hits EOF causing MPI_Bcast size
mismatch.

* jed/fix-synchronized-fgets:
PetscSynchronizedFGets: fix deadlock at EOF
Compiler: Fix warnings from MPI impls which do not initialize outputs

show more ...


1...<<41424344454647484950>>...111