One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat
One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file}done
show more ...
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']Also fix the code to repository to compile cleanly with these flags in th
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']Also fix the code to repository to compile cleanly with these flags in the CI
Merge remote-tracking branch 'origin/release'
Fix typos
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Remove use of DIRS in gmakegen.py to generate list of compiled code
Fix typos in vendor/third-party files
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 unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
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
Prevent warning of unsigned int change in cast of char to unsigned char for NVHPC compiler/spend 10m
docs: add missing makefiles that break tree_basic, alltree targetshtml in: /home/balay/tmp/petsc/src/sys/yamlgmake[6]: *** No rule to make target 'alltree'. Stop.
Fix spelling errors in manpages and comments
YAML: Vendor LibYAML
YAML: Move YAML options implementation sources closer to related sources
PetscOptions: Add public #define PETSC_MAX_OPTION_NAME
Enhancements to YAML options* Pass PetscOptions object to PetscOptionsInsertFileYAML().* PetscOptionsInsert{File|String}YAML() are now always available and will fail at runtime if PETSc was not
Enhancements to YAML options* Pass PetscOptions object to PetscOptionsInsertFileYAML().* PetscOptionsInsert{File|String}YAML() are now always available and will fail at runtime if PETSc was not configured with YAML.* Mapping keys starting with '$$' are considered dummy and not inserted. These keys can be used with `!include` tags and for the definition of YAML anchors to be expanded later with the merge key '<<'.* Sequences of one-mappings insert an option with the list of keys. For example, the following YAML options```yamlmap: - key0: abc - key1: xyz - key2: 123```insert the following options```-map key0,key1,key2-map_key0 abc-map_key1 xyz-map_key2 123```
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-pro
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-process their errors better.The test harness will now automatically retry tests that fail with MPI, this may help with Intel MPI that produces seemingly random failures.Commit-type: error-checking/spend 30m
Turn on checkbadSource test to generate an error when found; fix all source code that causes errorsCommit-type: portability-fix, testing-fix, style-fix, feature, maintainability/spend 1.5h
Add PETSC_OPTIONS_YAML and support for the yaml merge key "<<"
Added PetscOptionsInsertStringYAML and -options_string_yamlIn order to test this new feature, I had to add the ability to parse stringswith newlines in the 'args:' of tests.
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
123