Add utilities for handling PetscInt overflow (with 32 bit integers) to prevent random errors with false memory allocationsReported-by: Eric Chamberland <Eric.Chamberland@giref.ulaval.ca>Reported-b
Add utilities for handling PetscInt overflow (with 32 bit integers) to prevent random errors with false memory allocationsReported-by: Eric Chamberland <Eric.Chamberland@giref.ulaval.ca>Reported-by: Dima Karpeyev <karpeev@gmail.com>
show more ...
Merge branch 'master' into barry/petscoptions-object
Merge branch 'master' into barry-allow-vecset-nan-3.6
Complete update to new PetscOptions interface
Allow VecSet() and other routines that use PetscValidLogicalCollectiveScalar() and PetscValidLogicalCollectiveReal()to handle Nan without errorRequested-by: Robert P Fischer <rpf2116@columbia.edu>
merge PetscAllreduceBarrierCheck() communication into a single MPI call, fix comment
Introduce MPIU_Allreduce() to detect cases where all processes that share an MPI comm do not call the same sequence of MPI_Allreduce()This is a bug that can be difficult to track down.Suggested-by
Introduce MPIU_Allreduce() to detect cases where all processes that share an MPI comm do not call the same sequence of MPI_Allreduce()This is a bug that can be difficult to track down.Suggested-by: Eric Chamberland <Eric.Chamberland@giref.ulaval.ca>Suggested-by: Patrick Lacasse <placasse@giref.ulaval.ca>
Merge branch 'pr329/master/Fande-Kong/matpartitioning-hierarch' into pr361/master/Fande-Kong/pcgasm-increaseoverlap: need hierarch to build GASM subdomains.Conflicts: src/mat/examples/tests/makefi
Merge branch 'pr329/master/Fande-Kong/matpartitioning-hierarch' into pr361/master/Fande-Kong/pcgasm-increaseoverlap: need hierarch to build GASM subdomains.Conflicts: src/mat/examples/tests/makefile src/mat/impls/aij/mpi/mpiaij.h
Merge remote-tracking branch 'petsc/jed/mat-assembly-perf' into matpartitioning-hierachTo make the interface PetscCommBuildTwoSided(MPI_Comm comm,PetscMPIInt count,MPI_Datatype dtype,PetscInt nto,c
Merge remote-tracking branch 'petsc/jed/mat-assembly-perf' into matpartitioning-hierachTo make the interface PetscCommBuildTwoSided(MPI_Comm comm,PetscMPIInt count,MPI_Datatype dtype,PetscInt nto,const PetscMPIInt *toranks,const void *todata,PetscInt *nfrom,PetscMPIInt **fromranks,void *fromdata) compatible with Jed's new changes.DataType of 'nto' and 'nfrom' is changed to PetscMPIInt.Conflicts: include/petscsys.h src/sys/utils/sorti.c src/vec/vec/examples/tests/makefile
Merged in PR312: karpeev/ksp-pcgasm-overhaul.
PetscOptionsStringToScalar() and hence PetscOptionsScalarArray() did not work correctly for complex numbers with negative imaginary partReported-by: Jose E. Roman <jroman@dsic.upv.es>
doc: seperate -> separate
put check on j in the wrong location
add an assert that the locally computed number of sends matches the number of sends sent into the routine.
Doc/comments fixes.
Merge branch 'maint'
PetscEnumFind: Fix wrong counting of entries in list
changed from CHKFORTRANNULLOBJECT() to CHKFORTRANNULLOBJECTDEREFERENCE() where appropriate in custom Fortran stub files
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
PetscSortIntWIthDataArray(): use PetscMemcpy()
Added PetscSortWithDataArray()Obviously, relying on memcpy to swap in a sort is not going to beoptimal for small sizes, but this is at least a general utility thatdoesn't resort to templating in
Added PetscSortWithDataArray()Obviously, relying on memcpy to swap in a sort is not going to beoptimal for small sizes, but this is at least a general utility thatdoesn't resort to templating in a header.
shift order of processing options for TS to be compatiable with SAWsFix options handling for SAWs to duplicate array that previously was deleted too soon for SAWs processing
BuildTwoSided: validate toranks[]
Merge branch 'jed/assembly-perf' into jed/mat-assembly-perfImprove VecAssembly performance using BuildTwoSided* jed/assembly-perf: (27 commits) Vec: document when InsertMode cannot change betwe
Merge branch 'jed/assembly-perf' into jed/mat-assembly-perfImprove VecAssembly performance using BuildTwoSided* jed/assembly-perf: (27 commits) Vec: document when InsertMode cannot change between reassemblies VecAssembly BTS: allow reassembly with proper subsets of comm BuildTwoSided: distinguish events BuildTwoSided vs BuildTwoSidedF MPI: check for MPIX_Ibarrier (e.g., BG/Q) VecAssembly BTS: enable by default, use -vec_assembly_bts 0 to disable VecAssembly BTS: allow proper subsets with VEC_SUBSET_OFF_PROC_ENTRIES VecAssembly BTS: VEC_SUBSET_OFF_PROC_ENTRIES elides global synchronization VecAssembly BTS: elide sending empty scalar/block stashes VecAssembly BTS: separate pending count for scalar and block stashes VecAssembly BTS: use PetscCommBuildTwoSidedFReq and MPI_Waitsome VecAssembly BTS: avoid copying data on receive by using pointer frames Sys BuildTwoSidedFReq: generalization to return requests VecAssembly: add more scalable implementation, -vec_assembly_bts Vec_MPI: remove unused members conflated with VecStash Sys: add PetscMergeMPIIntArray Sys PetscMergeIntArrayPair: fix PetscFunctionBegin and comment Sys BuildTwoSidedF_Ibarrier: less synchronous dynamic sparse data exchange Sys BuildTwoSidedF: build two-sided network with functions in rendezvous Sys BuildTwoSided test: extract datatype construction Sys BuildTwoSided: update test for non-contiguous types and verbose output ...
moved PetscOptionsObject from global variable to local variable in functions
1...<<11121314151617181920>>...31