| #
9b88ac22
|
| 29-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/improve-Fortran-examples' into 'main'
Improve Fortran examples
See merge request petsc/petsc!8698
|
| #
ccfb0f9f
|
| 16-Oct-2025 |
Martin Diehl <mail@martin-diehl.net> |
Fortran is always F2003: removed leftovers
|
| #
b0dcfd16
|
| 23-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-03-20/minor-fortran-cleanup' into 'main'
Minor cleanup of Fortran binding stuff to simplify future maintainance
See merge request petsc/petsc!8218
|
| #
6dd63270
|
| 20-Mar-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Minor cleanup of Fortran binding stuff to simplify future maintainance
There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90
Minor cleanup of Fortran binding stuff to simplify future maintainance
There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90impl.h files. Also move uses of f90 to ftn when simple
show more ...
|
| #
f748bf6b
|
| 16-Feb-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'eijkhout/fix-script-python' into 'main'
Script: Update python in petscnagupgrade.py
See merge request petsc/petsc!7299
|
| #
1b37a2a7
|
| 15-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove duplicates and switch to python3
|
| #
723b7f29
|
| 05-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-06-15/add-fortran-file-viewer' into 'main'
Allow one to attach a PETSCVIEWERASCII to a Fortran file unit
See merge request petsc/petsc!6607
|
| #
fbf9dbe5
|
| 16-Jun-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
HAVE_FORTRAN should be USE_FORTRAN_BINDINGS since it is about generating the Fortran bindings, not about if the Fortran compiler exists
|
| #
13a035b1
|
| 13-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-elasticity-test
* master: (1553 commits) -options_table was changed to options_view in 2014 but documentation was not updated to reflect it config
Merge branch 'master' into knepley/feature-plex-elasticity-test
* master: (1553 commits) -options_table was changed to options_view in 2014 but documentation was not updated to reflect it configure: fix F2003 test Plex test ex5: Removed "future" test, as it resulted in issues in the nightly tests. Some minor typos in TS Add ADIOS2.py which I forgot to git add in the past Plex ex5: Disable test Doc: Added note for interface change KSPLSQRMonitorDefault fixed for quad precision Tao: Added alternative output for chwirut2 test. TS ex45,ex46: Removed overly refined tests for faster nightly tests. KSP ex72: Fixed needlessly long-running PCTFS tests. SNES ex56: Reduced test size to speed up nightly test suite. KSPSolve_LSQR: don't compute unused norm of rhs SNES ex13: Reduced problem sizes for nightly tests. PetscOptionsDeprecated(): fix for NULL prefix PetscOptionsDeprecated(): add option to print additional info SNES ex12: Reduced sizes for BDDC tests. PetscFileRetrieve(): Suppress output to STDERR when downloading a file. MatMatMult: Fixed unused variable pN. DMDestroy: Guard call to dm->ops->destroy * Similar guards are in place in many other methods (IS,Vec,Mat) and permit the DM to be destroyed even if DMSetType() was never called. ...
show more ...
|
| #
59e7829c
|
| 07-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComp
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComplex type is missing from fortran initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized. Move access of prefix until it is actually used Remove DMDASplitComm2d(), used in one example that was not tested Functions that do not return PetscErrorCode should not use PetscFunctionBegin/End paradgm remove unneeded reassignment of same value Missing CHKERRQ(); Mostly in Tao code Remove clang static analyser warning about passing NULL variable to strncat() missing newline in -ts_monitor_extreme minor fixes for integer counters Configure: Deal with '__func__' in C89 builds with newer Clang and GCC. Jenkinsfile: Increased timeout for tests to 5 minutes. 3.9 changes: further clarify removal of -pc_factor_mat_solver_package Options deprecations: add "PETSc" to inline warning removing unused variable MatShift support added to MATSUBMAT. Mimics MATSHELL functionality. Needed for matrix-free Hessians in TAO Newton-Line-Search methods. Add -ts_monitor_extreme Dev manual: add note on deprecating options database keys ...
Conflicts: src/dm/impls/plex/examples/tests/ex4.c
show more ...
|
| #
2f07c833
|
| 14-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead code. Add JuMP citation Copyedits and updates to developers manual Add more protection to intrinsics MPI: protect arguments in MPI macros Add the missing conditionals for 64-bit build Plex+VTK: Fix field type determination Fix bug in name cleanup Bib: Added ref Plex+VTK: Fix field type determination Plex: Updated test output - I am now hating this shit forgot to save file after moving prototypes to petscsys.h update Apple example project settings per Xcode Two functions should actually be public, used, for example from Apple MacOS and iOS programs includes should always be included relative to include directory Apple removed old locations of docsets SNES ex12: Updated test output ...
Conflicts: src/snes/examples/tutorials/ex13.c
show more ...
|
| #
9044fa66
|
| 14-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/fix-plex-residual-loop Warning: This merge includes real changes
* master: (188 commits) Add JuMP citation Copyedits and updates to developers manual Add mor
Merge branch 'master' into knepley/fix-plex-residual-loop Warning: This merge includes real changes
* master: (188 commits) Add JuMP citation Copyedits and updates to developers manual Add more protection to intrinsics MPI: protect arguments in MPI macros Add the missing conditionals for 64-bit build Plex+VTK: Fix field type determination Fix bug in name cleanup Bib: Added ref Plex+VTK: Fix field type determination Plex: Updated test output - I am now hating this shit forgot to save file after moving prototypes to petscsys.h update Apple example project settings per Xcode Two functions should actually be public, used, for example from Apple MacOS and iOS programs includes should always be included relative to include directory Apple removed old locations of docsets SNES ex12: Updated test output SNES ex62: Set name of solution vector - Update test output revert sources to dev - reset PETSC_VERSION_RELEASE - reset changes/dev.html release: set v3.9 strings move output file to the correct location. i.e fix 305862f9cd0dc399542ae11dd744508e4b6ad2e3 ...
Conflicts: src/snes/utils/dmplexsnes.c src/ts/utils/dmplexts.c
show more ...
|
| #
e4bc0d72
|
| 08-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-pc-patch
* master: (440 commits) revert sources to dev - reset PETSC_VERSION_RELEASE - reset changes/dev.html release: set v3.9 strings fix grep us
Merge branch 'master' into knepley/feature-pc-patch
* master: (440 commits) revert sources to dev - reset PETSC_VERSION_RELEASE - reset changes/dev.html release: set v3.9 strings fix grep usage on solaris [use egrep] opensolaris: fix errors Update timer reporting and minor reporting fix Remove redundant if statement. Found by @jedbrown Fixed problem with order of developer photos on website. superlu_dist: use correct flag in example [PETSC_HAVE_SUPERLU -> PETSC_HAVE_SUPERLU_DIST] Bib: PERMON ref fix for osx doc: more author fixes doc: more author fixes Italicized "orderings" in MPI process placement discussion. Added Richard to the user manual author list. Added Richard to the list of active developers on the website. add string check for MS-MPI and IMPI timeout errors opensolaris does not have multiple grep utils - but default one does not support -F. So use fgrep instead Standardizing timeout checks Report wall clock time of total tests Use time instead of date %s ...
Conflicts: include/petscpc.h src/ksp/ksp/interface/itfunc.c
show more ...
|
| #
bccf594b
|
| 04-Apr-2018 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/jed/futurize-stage-1'
|
| #
5b6bfdb9
|
| 02-Apr-2018 |
Jed Brown <jed@jedbrown.org> |
python: futurize stage 1 (modernize python-2 code)
This should have no behavioral change. It was generated by running
futurize -1 -nw config lib setup.py src systems
followed by reverting some
python: futurize stage 1 (modernize python-2 code)
This should have no behavioral change. It was generated by running
futurize -1 -nw config lib setup.py src systems
followed by reverting some "from . import" relative imports (PEP 328 without 366) and fixing up RDict.py __contains__ to not cause recursion.
show more ...
|
| #
e366c154
|
| 15-Nov-2017 |
Jed Brown <jed@jedbrown.org> |
Merge commit 'd47bf9aaf1e5266cc3f0ff499f934c85788965a9' into jed/fix-matcreatempibaij/maint
Obtain changed (v3.5) handling of MatMPIBAIJSetPreallocationCSR to match documentation.
|
| #
3d996552
|
| 19-Jul-2016 |
Stefano Zampini <stefano.zampini@gmail.com> |
Merge branch 'master' into stefano_zampini/feature-pcbddc-saddlepoint
Conflicts: src/docs/website/documentation/changes/dev.html src/ksp/ksp/examples/tutorials/ex59.c src/ksp/pc/impls/bddc/bddc.c
Merge branch 'master' into stefano_zampini/feature-pcbddc-saddlepoint
Conflicts: src/docs/website/documentation/changes/dev.html src/ksp/ksp/examples/tutorials/ex59.c src/ksp/pc/impls/bddc/bddc.c src/ksp/pc/impls/bddc/bddcfetidp.c src/ksp/pc/impls/bddc/bddcprivate.c src/ksp/pc/impls/bddc/bddcschurs.c src/mat/impls/is/matis.c src/mat/impls/is/matis.h
show more ...
|
| #
229d00df
|
| 23-Jun-2016 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/fix-PetscInt-scanf/maint' into knepley/feature-plex-particle-example
This merge is done to be able to use 'PetscInt_FMT' in data_bucket.c
|
| #
803da64b
|
| 11-Jun-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'maint'
|
| #
575a0592
|
| 11-Jun-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Fixed a variety of issues related to iOS builds
Some developers did not properly use relative paths for private include files file that is not normally compiled had errors due to outdated API in it
Fixed a variety of issues related to iOS builds
Some developers did not properly use relative paths for private include files file that is not normally compiled had errors due to outdated API in it (why is it compiled with iOS?) some iOS build scripts had outdated paths for various items iSO version of makeall implicitly assumed PETSC_DIR had been set (OSX version previously fixed by Satish Balay)
Reported-by: Francisco Schuetze <fjschuetze@gmail.com>
show more ...
|
| #
35d70571
|
| 04-May-2016 |
Stefano Zampini <stefano.zampini@gmail.com> |
Merge branch 'master' into stefano_zampini/feature-pcbddc-saddlepoint
Conflicts: src/ksp/pc/impls/bddc/bddc.c src/ksp/pc/impls/bddc/bddcgraph.c src/ksp/pc/impls/bddc/bddcprivate.c
|
| #
e611a964
|
| 14-Apr-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Documentation did not get updated with new name of os arch file
Reported-by: Florian Kleinicke <f@f-kleinicke.de>
|
| #
3aa2d9e3
|
| 15-Aug-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/fix-nonew-notcollective/maint' into jed/mat-assembly-perf
Jed this fucking 6+ month running thing in next that is not in master is a royal fucking pain in the ass and an abuse of
Merge branch 'barry/fix-nonew-notcollective/maint' into jed/mat-assembly-perf
Jed this fucking 6+ month running thing in next that is not in master is a royal fucking pain in the ass and an abuse of git. I think it is not justified to ever have anything in next for more than a few weeks at most. Either take it out of next if it is broken or put it in master if it is not broken. Hanging around in next but not master for ever is not a good policy.
show more ...
|
| #
e1b06f76
|
| 20-May-2015 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/solkx
* master: (6933 commits) Bib: Added reference Includegraph: Updated for compatibility with new folder layout. Add SNESLineSearchReason to fortran inclu
Merge branch 'master' into knepley/solkx
* master: (6933 commits) Bib: Added reference Includegraph: Updated for compatibility with new folder layout. Add SNESLineSearchReason to fortran includes Also truncate names to fit 32 char fortran limit fix compile warnings /usr/home/balay/petsc.clone-2/src/vec/vec/interface/vector.c:1944: warning: division by zero in '1.0e+0 / 0.' /usr/home/balay/petsc.clone-2/src/ksp/ksp/interface/itfunc.c:508: warning: 'vec_rhs' may be used uninitialized in this function updated output for new trust region initial size initial size of the trust region is set as a percent of the norm of the initial guess, it should not be related to the initial norm of the function (which is kind of nuts). The default bounds for SNESVISetVariableBounds() in the manual page were reversed from correct values Bib: Added refs Bib: Update MPICH webpage Plex: Forgot to close file removed nonexistent ex46f from makefile test rule Revert "fixed bad merge into master" fixed bad merge into master fix memory leak in mkl_pardiso fix some formatting in mkl_pardiso code mv runex111 from TESTEXAMPLES_C to TESTEXAMPLES_DATAFILESPATH Mat+Doc: More Fortran docs Plex ex3: Run tests with the correct number of field components Bib: Added TetGen cite parmetis: make sure 'ldd libparmetis.so' points to the correct libmetis.so that its linked with. small fix as reported by the nightly test ...
Conflicts: config/builder.py
show more ...
|
| #
5a4ab5ab
|
| 02-Apr-2015 |
Toby Isaac <tisaac@ices.utexas.edu> |
Merge branch 'master' into tisaac/dmforest
If we're going to start developing on this again, the recent changes to the location of configuration files will make it annoying to switch to and from thi
Merge branch 'master' into tisaac/dmforest
If we're going to start developing on this again, the recent changes to the location of configuration files will make it annoying to switch to and from this branch. Matt's and my fixes in DMPlex will also be relevant.
* master: (1557 commits) MatLoad_MPIDense() always allocated array space even if it was previously provided Clarified lumping options for PCFieldSplitSchurPreType SELFP. fixed up PetscInfo in GAMG TSErrorWeightedNorm[2|Infinity]: API changes MatLoad_SeqDense() always allocated new space for the data even if the user already provided it Fixed DMCompositeGetAccessArray() to support readonly vectors Fix obviously-wrong aspects of documentation on SNESVINEWTONRSLS and SNESVINEWTONSSLS. fixed example to compile - demonstrates a bug var name 'len' was F90 key word For user provided Jacobian functions they should always assembly into the second matrix, the one from which the preconditioner is built because the first may be used as matrix-free with -snes_mf_operator Suggest --with-64-bit-indices if users mistakenly use --with-64bit-indices Fix configure logging of integer size. missing underscore in #define of vecgetarrayread translation of fortran stub for VECGETARRAYREAD updated test output files to reflect differences introduced previously in PCView output -ksp_type preonly does not support -ksp_monitor_short so remove from test line to prevent extranious warning output missing CHKERRQ; and ugly double declaration of ierr Plex ex3: For want of a semicolon, the kingdom was lost MatSetValuesMPISBAIJ will now print correct global indices when error generated due to new nonzero location completed basic use of MatSetValuesBlocked_SeqBAIJ_Inlined() by MatSetValuesBlocked_MPIBAIJ() to allow proper global indices being printed when error generated by new nonzero locations. Added inline version of MatSetValuesBlocked_SeqBAIJ() to be used by MatSetValuesBlocked_MPIBAIJ() to print error message for nonzero block with global indices ...
show more ...
|