Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-t
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-to: Andreas Mang <andreas@ices.utexas.edu>
show more ...
-dynamic_library_preload produces misleading error message when run with static libraryTime: .1 hoursReported-by: Jose E. Roman <jroman@dsic.upv.es>
build: fix issue with --with-threadsafety --with-scalar-type=complexReported-by: Juan Franco <juan.franco@dlr.de>
few more clang static analyzer fixes
Only generate list of all PetscFunctionLists generated in debug modesince in some circumstances where many objects are created searching thislist is very slow.Reported-by: Amneet Pal S Bhalla <am
Only generate list of all PetscFunctionLists generated in debug modesince in some circumstances where many objects are created searching thislist is very slow.Reported-by: Amneet Pal S Bhalla <amneetb@live.unc.edu>
Complete update to new PetscOptions interface
Within the prototype, the first arg is of type PetscFunctionListwhere as it should be PetscFunctionList*Reported-by: Dave May <dave.mayhem23@gmail.com>
-help would print the various -xxx_type values on multiple lines making a | grep -ksp_type (for example)not list all the possible optionsReported-by: Ed Bueler <elbueler@alaska.edu>
stripped out all PETSc threadcomm code
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
added --with-threadsafety flagother cleanup for threadsafetyremoved Euclid due to bit rot
additional updates
Removed a global list that will not work with threads by wrapping #if defined(PETSC_HAVE_LOG)
Force all initializations that use global variables to be called in PETSc initialize
manual merge of conflict
Merge branch 'barry/fix-valgrind'
valgrind include file should not be public to PETSc users by default
convert some PetscMalloc() to PetscMalloc1()remove unneeded () in first argument to PetscMalloc/Calloc1()fixes for MATLAB examples
fixed quote marks for includes to <>
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,@'
Sys: add PetscMalloc1 macro, array allocation without redundant typesThe type is inferred from the pointer return type. This patch isautomated via the following script:git grep -l 'PetscMalloc(
Sys: add PetscMalloc1 macro, array allocation without redundant typesThe type is inferred from the pointer return type. This patch isautomated 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 pointerarity. The code was introduced in 2006, but the allocation could nothave been correct at any time. This probably means thatMatDuplicate_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.
__SDIR__: remove usage of __SDIR__ from PETSc sources.
Remove --with-dynamic-loading / PETSC_USE_DYNAMIC_LIBRARIESThis option was mostly redundant because normal shared libraries satisfyall the same needs. This commit adds the run-time option-dynami
Remove --with-dynamic-loading / PETSC_USE_DYNAMIC_LIBRARIESThis option was mostly redundant because normal shared libraries satisfyall the same needs. This commit adds the run-time option-dynamic_library_preload that can be used to load/initialize all thepackages in advance, as used to be done when --with-dynamic-loading.The PetscDLLibraryRegister_petscxxx functions have been kept, but arenot called unless -dynamic_library_preload is used. The petsc-devdiscussion, "Why --with-dynamic-loading?" did not reach consensus aboutwhether this was ever useful, so it may also be removable.
DLL: translate hyphens to dashes in basename for initializerFor example, when adding a library using -dll_append /path/to/libfoo-bar.sowe now look for the initializer PetscDLLibraryRegister_fo
DLL: translate hyphens to dashes in basename for initializerFor example, when adding a library using -dll_append /path/to/libfoo-bar.sowe now look for the initializer PetscDLLibraryRegister_foo_bar().
PetscDL: use PETSC_EXTERN and remove obsolete header
12345678910>>...12