Fortran: Fix HDF5 attribute writing interface- Ensure real attribute writing routine is available unconditionally in real-only builds- Add new wrappers in zhdf5f.c for writing: - Integer attribu
Fortran: Fix HDF5 attribute writing interface- Ensure real attribute writing routine is available unconditionally in real-only builds- Add new wrappers in zhdf5f.c for writing: - Integer attributes - Scalar (PetscScalar) attributes - Real attributes- Update petscviewer.h90 to expose the real version consistently- Adds a minimal test program (ex80f.F90) to verify functionality- Update test case to reflect proper namesFixes: #194Thanks-to: Martin Diehladd dependency for HDF5 in testfix the c stubs to remove garbage valuesupdate the test case to reflect proper namesfix clang format
show more ...
Minor cleanup of Fortran binding stuff to simplify future maintainanceThere 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 maintainanceThere 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
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous versions!- also clean up inconsistent PETSc code detected by new Fortran generation tools- drop use of bfort- automatically generate all the Fortran PETSc objects, enums etc from the include files- generate most of the Fortran interface definitions and functions from the source code- simplify the number and organization of Fortran modulesCo-authored-by: Jose E. Roman <jroman@dsic.upv.es>
LIBBASE is no longer used in make so remove it
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
HAVE_FORTRAN should be USE_FORTRAN_BINDINGS since it is about generating the Fortran bindings, not about if the Fortran compiler exists
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
non-test and tutorial makefiles only need rules.doc not the full rulesCommit-type: documentation
Only makefiles in the test and tutorial directories need lib/petsc/conf/testCommit-type: housekeeping
Remove now unneeded SOURCE* variables from makefilesCommit-type: configure, housekeeping
Remove empty preprocessor variables
Remove unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
add PetscViewerHDF5WriteGroup()
PetscViewerHDF5OpenGroup: add inarg path,employ PetscViewerHDF5GetGroup()
PetscViewerHDF5GetGroup: always return absolute path.Replace PetscViewerHDF5GetAbsolutePath_Internal().The original implementation is now PetscViewerHDF5GetGroup_Internal()
makefile: fix typo - petsckdir.mk -> petscdir.mk
Add -include */petscdir.mk to makefile that lacked itfor i in `git ls-files | grep makefile | xargs grep -L petscdir.mk`; do echo $i ; str=`echo $i |sed -e 's?[-a-zA-Z0-9]*/?../?g' -e 's?makef
Add -include */petscdir.mk to makefile that lacked itfor i in `git ls-files | grep makefile | xargs grep -L petscdir.mk`; do echo $i ; str=`echo $i |sed -e 's?[-a-zA-Z0-9]*/?../?g' -e 's?makefile?petsckdir.mk?g'` ; cp $i tmp echo "-include $str" > $i cat tmp >> $idoneCommit-type: makefile, housekeeping/spend 15m
remove garbage from makefilesIncluding * unused FLAGS variables * All: lib that did not work * stray blank lines etcCommit-type: housekeeping/spend 1h
PetscViewerHDF5ReadAttribute: Add defaultValue arg.vec/tests/ex48.c:* add testAttributesDefaultValue() to ex48* comm be inarg of test functions; fix missing CHKERRQvec/tests/ex55.c:* remove re
PetscViewerHDF5ReadAttribute: Add defaultValue arg.vec/tests/ex48.c:* add testAttributesDefaultValue() to ex48* comm be inarg of test functions; fix missing CHKERRQvec/tests/ex55.c:* remove redundant group push
Add PetscViewerHDF5HasDataset().PetscViewerHDF5*Object*: Check object is named.
PetscViewerHDF5{{Has,Read,Write}Attribute,HasGroup}: Support absolute paths and relative subpaths.Fix some inarg validation.
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
Merge remote-tracking branch 'origin/maint'
Get rid of PetscViewerHDF5{Get,Set}AIJNames().fix-issue-289
Move HDF5 array IO stuff from sys to vec.- Fix issue 288.- Moved PetscViewerHDF5Load,PetscViewerHDF5ReadSizes and their helpers from src/sys/classes/viewer/impls/hdf5/hdf5v.c into the new fi
Move HDF5 array IO stuff from sys to vec.- Fix issue 288.- Moved PetscViewerHDF5Load,PetscViewerHDF5ReadSizes and their helpers from src/sys/classes/viewer/impls/hdf5/hdf5v.c into the new file src/vec/is/utils/hdf5io.c- PetscViewerHDF5Load() header moved from viewerimpl.h to petscis.h- PetscViewerHDF5ReadSizes() header moved from petscviewerhdf5.h to petscis.h
12