PetscBinaryViewerRead -> PetscViewerBinaryReadCommit-type: documentation
Merge remote-tracking branch 'origin/barry/bugfix-petscformatconvert'
fix variable names, fix comparison between signed and unsigned valuesCommit-type: bug-fix, portability-fixReported-by: nightly tests
Insure PetscPrintf(), PetscVPrintfDefault(), PetscSynchronizedPrintf(), PetscSynchronizedFPrintf(), and PetscViewerASCIIPrintf() handle printed strings longer than the default buffer size of 8*1024 b
Insure PetscPrintf(), PetscVPrintfDefault(), PetscSynchronizedPrintf(), PetscSynchronizedFPrintf(), and PetscViewerASCIIPrintf() handle printed strings longer than the default buffer size of 8*1024 bytes properlyCommit-type: bug-fix, testing-fix, feature, exampleReported-by: Rongliang Chen <rongliang.chan@gmail.com>
show more ...
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/
PetscViewerFileGetName: Add missing error checking for `name` argument
Change PetscStrncat() to PetscStrlcat() to match BSD API where l represents total lengthUpdate many uses of PetscStrcpy() and PetscStrcat() to the safer PetscStrncpy() and PetscStrlcat()Commit-ty
Change PetscStrncat() to PetscStrlcat() to match BSD API where l represents total lengthUpdate many uses of PetscStrcpy() and PetscStrcat() to the safer PetscStrncpy() and PetscStrlcat()Commit-type: style-fix, featureThanks-to: Jed Brown
Remove handling of error code from PetscPClose() since some systems do not reliably return it.Commit-type: portability-fix
Merge branch 'jed/update-mpi3-removed-or-deprecated'
Merge branch 'barry/update-mpi-keyval-create'
Convert tutorials directory over to new test harnessCommit-type: testing-fix
Update to MPI-2.0 versions of attribute interfacesSome of these interfaces were removed in MPI-3. This compiles cleanlywith Open MPI 3.0 and is clean according to the style checks. src/contrib
Update to MPI-2.0 versions of attribute interfacesSome of these interfaces were removed in MPI-3. This compiles cleanlywith Open MPI 3.0 and is clean according to the style checks. src/contrib/style/checks/mpi3-removed-all.sh src/contrib/style/checks/mpi3-deprecated-all.sh
convert MPI_Keyval_create() usage to MPI_Comm_create_keyval() and fix error routines from keyval functonsCommit-type: style-fix
small fixes
PetscViewerDestroy_ASCII: clean up stdout and stderr attributes from MPI_CommSince -log_view is processed after PetscObjectRegisterDestroyAll() inPetscFinalize(), it can attempt to access attribut
PetscViewerDestroy_ASCII: clean up stdout and stderr attributes from MPI_CommSince -log_view is processed after PetscObjectRegisterDestroyAll() inPetscFinalize(), it can attempt to access attributes fromPetscViewerASCIIGetStdout(). When there are no references to the innercommunicator, it will be freed no later thanPetscObjectRegisterDestroyAll() and thus all attributes become unset.But if there is any reference to the inner communicator, as in theexample below with the dummy PetscContainer (the type does not matter),it remains after PetscObjectRegisterDestroyAll() and thus any staleattributes remain accessible. #include <petscviewer.h> int main(int argc,char **args) { PetscErrorCode ierr; PetscViewer view; PetscContainer container; ierr = PetscInitialize(&argc,&args,(char*)0,NULL);CHKERRQ(ierr); ierr = PetscContainerCreate(PETSC_COMM_WORLD,&container);CHKERRQ(ierr); ierr = PetscViewerASCIIGetStdout(PETSC_COMM_WORLD,&view);CHKERRQ(ierr); ierr = PetscFinalize(); return ierr; }Reported-by: Stefano Zampini <stefano.zampini@gmail.com>
Free the MPI Keyval that may have been created during a runProblem located by building MPICH with the option --enable-error-messages=allCommit-type: style-fixFunded-by: ECPTime: .45 hoursRe
Free the MPI Keyval that may have been created during a runProblem located by building MPICH with the option --enable-error-messages=allCommit-type: style-fixFunded-by: ECPTime: .45 hoursReported-by: Daniel Alejandro Ibanez <daibane@sandia.gov>Development Tools: Vim, Emacs, Eclipse
Viewer: Fixed Fortran bindings for PetscViewerASCIIPush/PopTab()
Merge remote-tracking branch 'origin/barry/update-petscfileretrieve'
Update PetscFileRetrieve() to properly handle .gz filesThis functionality was lost in the previous commits that switched to usecurl to download filesCommit-type: bug-fixTime: 1.2 hoursReported
Update PetscFileRetrieve() to properly handle .gz filesThis functionality was lost in the previous commits that switched to usecurl to download filesCommit-type: bug-fixTime: 1.2 hoursReported-by: nightly tests
PetscViewerASCIIRead(): fix __float128 read
fix incorrect requires, fix incorrect name for __float128
bunch of fixes in plex tests and code for single precisionReported-by: nightly tests
Minor cleanup, remove some outdated code, remove unneeded constructs, improve manual pages slightly, add missing test caseTime: 2.5 hours
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>
Updated and simplified Fortran interfaceReduced from 4 distinct approaches to using PETSc from Fortran to 1No more .h90 files (Fortran 90 functionality is now always available)Parameters and func
Updated and simplified Fortran interfaceReduced from 4 distinct approaches to using PETSc from Fortran to 1No more .h90 files (Fortran 90 functionality is now always available)Parameters and function prototypes are now provide through Fortran modules, not includes;only #define are provided in the petscXXXdef.h filesPETSc objects can be declared as either type(tXXX) or XXX. For example type(tVec) or VecMoved now private Fortran include files out of public include directory since uses don't use them;they are only used to generate the Fortran modulesEasier to support and test; we can now easily add more function prototypesAlso had to rework generation of manual pages to consistently use MANSEC and SUBMANSECsince these variables also handle how the Fortran modules are generated.Time: 57 hours
123456789