rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
add PetscAssert() and PetscAssertFalse()
SETERRQ[1-9]+ begone
remove trailing newline from SETERRQ
Add information on determing the number of threads used by MATSOLVERMKL_PARDISO and MATSOLVERMKL_CPARDISOAdd manual page for MATSOLVERMKL_CPARDISO, minor improvements to manual pages.Commit-type:
Add information on determing the number of threads used by MATSOLVERMKL_PARDISO and MATSOLVERMKL_CPARDISOAdd manual page for MATSOLVERMKL_CPARDISO, minor improvements to manual pages.Commit-type: documentation\spend 45mThanks-to: Pierre Jolivet
show more ...
Some missing CHKERR[Q|MPI]
Remove all double blank lines from sourceCommit-type: petsc-style/2h
Introduce PCFactorSetDefaultOrdering_Factor() to allow each factorization packageto indicate its preferered ordering, which may be external (its own) or one of PETSc.This also affects factorizatio
Introduce PCFactorSetDefaultOrdering_Factor() to allow each factorization packageto indicate its preferered ordering, which may be external (its own) or one of PETSc.This also affects factorization like dense PETsc where the ordering passed in by PETSc is ignored and not needed.Also fixed options for MUMPS and SuiteSparse where users needed to pass a particular options database optionto the package (MUMP or KLU) indicating they should use the PETSc provided ordering. Now if the PETSc provided ordering is providedthese packages automatically use them without need a special option. This simplifies ordering usage for external packagesCommit-type: optimization, bug-fix, testing-fix, style-fix/spend 6h
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-pro
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-process their errors better.The test harness will now automatically retry tests that fail with MPI, this may help with Intel MPI that produces seemingly random failures.Commit-type: error-checking/spend 30m
Fix #640
Turn on checkbadSource test to generate an error when found; fix all source code that causes errorsCommit-type: portability-fix, testing-fix, style-fix, feature, maintainability/spend 1.5h
Single petscdir.mk
Fix broken PARDISO --with-precision=single and add a test to CI
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petsc
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petscdir.mk in many of the makefilesStill needs the link for ../petscdir.mk in many directoriesGNUMakefile: call legacy makefile recursively instead of including itGNUMakefile: promote default "all" target; "libs" builds libpetsc*GNUMakefile: If gnumake < 4.2 prefer makefile wrapper interface over direct gmakefile interface to avoid the following warningsgmakefile.test:92: arch-ci-linux-cxx-cmplx-pkgs-64idx/tests/testfiles: No such file or directorygmakefile:67: arch-ci-linux-cxx-cmplx-pkgs-64idx/lib/petsc/conf/files: No such file or directoryCommit-type: testing-fix, feature, usabilityThanks-to: Jed Brown jed@jedbrown.org
pardiso does not support same rhs and solution, set error checking in MatMatSolve_MKL_CPARDISO()
Enable MatMatSolve(F,RHS,RHS) for some packagesRequested-by: Jaysaval, Piyoosh <Piyoosh.Jaysaval@pnnl.gov>
Add support for calling MKL_CPardiso for BAIJ and SBAIJ matricesCommit-type: feature
Remove testing and inserting into petscconf.h items that are not actually used by PETSc1) PETSC_HAVE_LIBXXXX - which was rarely used be careful with the package libpng and libjpeg since they hav
Remove testing and inserting into petscconf.h items that are not actually used by PETSc1) PETSC_HAVE_LIBXXXX - which was rarely used be careful with the package libpng and libjpeg since they have lib in the name of the package2) various system include files that are never used or always exist: for example stdlib.h3) various system functions that are never used or always exist4) fixes for requires for MUMPS and SuperLU_DIST when dependent packages are installed or not installed (unrelated to the rest of this pull request)5) packages that always exist such as PETSC_HAVE_BLASLAPACK, or are not used by PETSc such as PETSC_HAVE_NETCFD6) remove a couple of uses of HAVE_LIB* in the code that were not needed by adjusting the configure code slightly7) remove all the #if guards for each entry in petscconf.h since petscconf.h already has a guard and the values are never defined else where the extra guards just make the file clutteredFor a build with about 10 external packages this reduced the size of petscconf.h from 1236 lines to 828/4 around 220 entries.Commit-type: style-fix, cleanupReported-by: Jed Brown <jed@jedbrown.org
Mat: Fixed types in Pardiso interface
Merge branch 'maint'
Remove incorrect error check that only MATSEQDENSE is supported since MATMPIDENSE also supportedNote that the call to MatDenseGetArray(Read) on the X and B matrices will check that they are dense f
Remove incorrect error check that only MATSEQDENSE is supported since MATMPIDENSE also supportedNote that the call to MatDenseGetArray(Read) on the X and B matrices will check that they are dense format and thus can work in this routineCommit-type: bug-fixReported-by: Marius Buerkle <mbuerkle@web.de>
Merge branch 'barry/fix-pardiso/maint'
1) Look for 64 bit integer MKL BLAS if 64 bit indices are used with PETSc2) Fix Pardiso code to only compile pardiso_init64 when needed, otherwise can generate warnings/errorsCommit-type: portabil
1) Look for 64 bit integer MKL BLAS if 64 bit indices are used with PETSc2) Fix Pardiso code to only compile pardiso_init64 when needed, otherwise can generate warnings/errorsCommit-type: portability-fix, featureReported-by: Pierre Jolivet <pierre.jolivet@enseeiht.fr>
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \(
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \( -name "*.c" -or -name "*.h" -or -name "*.cxx" \) | xargs gsed -i 's/Notes\s*:\s*\(\w.*\)/Notes:\n \1/'This adds a newline and 4 spaces whenever "Notes:" is followed by any "word" character, in any .c, .h, or .cxx file in src/ or include/
removed unused variables in cpardiso interface; added casts for address of MPI_Comm since this is their interfaceCommit-type: style-fix
1234