Parallel make for --download-scalapack --download-mumpsRequired added a new Makefile.parallel and Makefile.objs to the scalapack git repository to handle it tag v2.0.2-pFixed spelling of controll
Parallel make for --download-scalapack --download-mumpsRequired added a new Makefile.parallel and Makefile.objs to the scalapack git repository to handle it tag v2.0.2-pFixed spelling of controller in mpishm.cRefactoring of part of MATMUMPS manual page to clafiy and simplify the discussion of hybrid MPI/OpenMP, note that itsupports both modesl for MPI/OpenMPCommit-type: configuration
show more ...
Merged in barry/cleanup-petscconf-h (pull request #1834)Remove testing and inserting into petscconf.h items that are not actually used by PETSc
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
Merge from doc-fixes branch
Fixes for doctext update
Non-numeric optimizations focused on AIJ, MatFDColoring, and DMCreateMatrix_DA_*AIJ, looking to improve performance in GPU environments1) PetscCalloc*() now uses system calloc()2) Merged some Pets
Non-numeric optimizations focused on AIJ, MatFDColoring, and DMCreateMatrix_DA_*AIJ, looking to improve performance in GPU environments1) PetscCalloc*() now uses system calloc()2) Merged some PetscMalloc*()3) Eliminated unneeded PetscCalloc*()4) Removed some memory allocations and copies in MatFDColoringSetUp(), added local variables for better compiler optimization5) Added MatSetValues_SeqAIJ_SortedFull(), added MatSetOption(MAT_SORTED_FULL)6) Optimized DMCreateMatrix_DA_*AIJ for nonperiodic case to automatically have sorted columns (faster MatSetValues() times)7) Eliminated call to PetscMemzero() in PetscFree()Commit-type: style-fix, feature
Resolved issues brought up in PRCommit-type: bug-fix, style-fixReported-by: Patrick Sanan <patrick.sanan@gmail.com>
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*()
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*() with PetscArraymove()Commit-type: style-fix, feature
Update the use of Collective on in the manual pages to reflect the new styleCommit-type: style-fix, documentationThanks-to: Patrick Sanan <patrick.sanan@gmail.com>
Man pages: remove Concepts: fieldsThese fields were previously stripped from the man pages by logic removed in 21a59cba2737d49dc2f0bd12c08db0d2a3f3f209Remove these fields from all man pages (but
Man pages: remove Concepts: fieldsThese fields were previously stripped from the man pages by logic removed in 21a59cba2737d49dc2f0bd12c08db0d2a3f3f209Remove these fields from all man pages (but not from examples).This is accomplished with GNU sed (gsed on OS X), with the following commands.*Warning* that this type of command can corrupt a .git directory,so be cautious in reusing or modifying these commands. They first lookfor and delete matching lines with a following line consisting of only whitespace,and then delete any remaining matching lines. find src -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/ {N; /\n\s*$/d}' {} + find src -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/d' {} + find include -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/ {N; /\n\s*$/d}' {} + find include -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/d' {} +Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be unif
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be uniformly used or maintained.Thus, remove all .keywords: fields, and a following blank line, if present.This is accomplished with GNU sed (gsed on OS X), with the following commands.*Warning* that this type of command can corrupt a .git directory,so be cautious in reusing or modifying these commands. They first lookfor and delete matching lines with a following line consisting of only whitespace,and then delete any remaining matching lines. find src/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find src/ -type f -exec gsed -i '/keywords:/d' {} + find include/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find include/ -type f -exec gsed -i '/keywords:/d' {} +Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
Merged in barry/fanjinke-Hygon (pull request #1692)utils/sseenabled: add Hygon Dhyana support to enable SSE support
Remove now incorrect word "Both", use PETSc functions instead of system routinesCommit-type: style-fix, documentationReported-by: Satish Balay <balay@mcs.anl.gov>
utils/sseenabled: add Hygon Dhyana support to enable SSE supportSigned-off-by: fanjinke <fanjinke@hygon.cn>
Fixed out-dated URLS using make checkbadURLS REPLACE=1One manual fix of https://en.wikipedia.org/wiki/Buckingham_π_theorem since the automatic tool dropped the first _ for some reasonManual fix of
Fixed out-dated URLS using make checkbadURLS REPLACE=1One manual fix of https://en.wikipedia.org/wiki/Buckingham_π_theorem since the automatic tool dropped the first _ for some reasonManual fix of //faq.html since the automatic tool incorrectly replaced /faq.html to //faq.html in some locationsThese are largely updates of http to https but have a variety of other website location changesOnce this branch is in master individual developers can run make checkbadURLS and fix URLs related to their projects manuallyCommit-type: bug-fix, documentation
Sys: Added simple routine for linear regression
Housekeeping: strip out __FUNC__ or __FUNCT__ from PETSc
Log: Add PetscLogEventSync()This routine should be called only if there is not a PetscObject availableto pass to PetscLogEventBegin(), but you rather have a MPI_Comm handle.
Add PetscSortMPIIntWithIntArray()It is useful when one wants to sort MPI ranks with an integer array
PetscSplitOwnership: all or none should set N or n as PETSC_DECIDEI believe it is always better to error out instead of hang without a clue of what is going on
Math: Add PetscIsCloseAtTol()
Do some housekeeping and add missing CHKERRQ calls
Replace old ifdefs with new macro PETSC_HAVE_OPENMP_SUPPORT
Allow -mat_mumps_use_omp_threads to have a default value
Improve PETSc OpenMP controler documentation
1...<<11121314151617181920>>...31