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
show more ...
Remove handling of error code from PetscPClose() since some systems do not reliably return it.Commit-type: portability-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
PETSCVIEWERBINARY: Preliminary support PetscViewerGetSubViewer()* Return subviewer in rank 0, NULL in others.* Error for binary viewers using MPI I/O.
PetscViewerBinary: Allow using the same viewer object changing the filename
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
configure: add option --with-fortran-bindingsNow one can use --with-fc=gfortran --with-fortran-bindings=0 to detect fortran compiler properly[for externalpacakge use - for eg: scalapack] but avoid
configure: add option --with-fortran-bindingsNow one can use --with-fc=gfortran --with-fortran-bindings=0 to detect fortran compiler properly[for externalpacakge use - for eg: scalapack] but avoid building PETSc fortran bindings in library and modules.Also disable sowing when with-fortran-bindings is disabledFix makefiles (corresponding to fortran bindings) to consistantly use PETSC_HAVE_FORTRANAlso remove unused PETSC_USE_FORTRAN_DATATYPES flagReported-by: Patrick Farrell <patrick.farrell@maths.ox.ac.uk>
A variety of improvements/fixes for saving and accessing trajectories.Fixed bugs in PetscReadBinaryTrajectory.mAdded PetscBinaryIOTrajectory.py to read in trajectories in PythonFixed bug in all t
A variety of improvements/fixes for saving and accessing trajectories.Fixed bugs in PetscReadBinaryTrajectory.mAdded PetscBinaryIOTrajectory.py to read in trajectories in PythonFixed bug in all the trajectory file saving routines that used PETSC_COMM_WORLD instead of the MPI_Comm associated with the TS object.Funded-by: IMEXProject: adjointsTime: 2 hoursReported-by: Shashikant M. Aithal <aithal@cels.anl.gov>
add additional seealso for PetscViewerBinary routines manual pagesTime: .05 hours
Merge branch 'balay/add-prefix-test'
f90impl.h needs to be available for users with --prefix installationReported-by: Satish Balay <balay@mcs.anl.gov>
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
Removed crumbs from previous support of Netcdf. Support was removed in 2010Time: .2 hours
added manual pages for missing PETSCVIEWERXXX such as PETSCVIEWERBINARYThanks-to: apostol <apostol.faliagas@gmail.com>
PetscViewerBinaryRead() only set the count value if MPI IO was usedSet the count value even without MPI IO. Note in the manual page the behavior of count.Issue #131Reported-by: Eike Moritz Wülfe
PetscViewerBinaryRead() only set the count value if MPI IO was usedSet the count value even without MPI IO. Note in the manual page the behavior of count.Issue #131Reported-by: Eike Moritz Wülfers
some uses of PetscTryMethod() actually require that theobject is correct and the function returns an appropriate value.Change those calls to PetscUseMethod().
MPI-Uni builds should not warn about unused mpiio options because MPI-IOis irrelevent on one process. This removes unneeded nightly build warningsReported-by: nightly tests
labeled a variety of additional internal functions as staticto prevent them from being publically available in the library
convert private functions to static to decrease the unneccessary function inthe public interface in the libraries
Deprecate PetscViewerSetFormat() since it better to use PetscViewerPush/PopFormat() and usingPetscViewerSetFormat() can lead to confusing situations for users when later viewers do not recognize the
Deprecate PetscViewerSetFormat() since it better to use PetscViewerPush/PopFormat() and usingPetscViewerSetFormat() can lead to confusing situations for users when later viewers do not recognize the setformat and thus do not produce any information.Reported-by: Jed Brown <jed@jedbrown.org>
Complete update to new PetscOptions interface
Begin renaming the PetscOptions objects for the future where PetscOptions will not be a singleton
123456789