Fix another compiler warning in Intel oneAPI 2024.2.1src/sys/classes/viewer/impls/socket/send.c:186:29: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension] 18
Fix another compiler warning in Intel oneAPI 2024.2.1src/sys/classes/viewer/impls/socket/send.c:186:29: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension] 186 | char myname[MAXHOSTNAME + 1]; | ^~~~~~~~~~~~~~~src/sys/classes/viewer/impls/socket/send.c:186:29: note: read of non-const variable 'MAXHOSTNAME' is not allowed in a constant expressionsrc/sys/classes/viewer/impls/socket/send.c:185:22: note: declared here 185 | static size_t MAXHOSTNAME = 100; | ^
show more ...
Remove empty comments from the source, that is /* */Also remove some /******************* commentsAlso remove some multiline comments with /* and */ at the beginning and end of each line
Fix fortran tests not compiling with CRAY compilers
Merge remote-tracking branch 'origin/release'
Fix bug in PetscViewerBinaryWriteReadAll() thatprevented saving dense matrices whose number of entries on MPI rank 0 is greater than PETSC_MPI_INT_MAX byremoving unneeded PetscCall(PetscMPIIntCast
Fix bug in PetscViewerBinaryWriteReadAll() thatprevented saving dense matrices whose number of entries on MPI rank 0 is greater than PETSC_MPI_INT_MAX byremoving unneeded PetscCall(PetscMPIIntCast(count, &cnt)); on rank 0.Also removed unneeded potentially large malloc when used with on one MPI rankReported-by: Sreeram R Venkat <srvenkat@utexas.edu>Code still does not work if any MPI process besides rank 0 has a matrix with a number of entries greater than PETSC_MPI_INT_MAX
Merge branch 'jed/daos' into 'main'PetscOptionsCreateViewer: add support for DAOSSee merge request petsc/petsc!7723
PetscOptionsCreateViewer: add support for DAOSDAOS filenames have the form "daos:/path/to/file.h5". The prefix ishandled specially by the filesystem, thus needs to be part of thefilename.
Add shared memory support for PCMPI using both shmget() and MPI_Win_allocate_shared()
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore modelHence the code needs to be refactoredIntroduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VI
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore modelHence the code needs to be refactoredIntroduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VIEWER_XXXX_() routinesReported-by: James WrightThanks-to: Jeremy L Thompson
This requires some changes to user FORTRAN codePass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an arrayPass PETSC_NULL_ENUM when argument returns an enum instead of
This requires some changes to user FORTRAN codePass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an arrayPass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGERPass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v]Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXXThe compiler will now automatically prevent you from using the wrong argument type for the first three bullets aboveThis will also require an update sowing with the new sowing branch this MR is using.
All constructors should do PetscAssertPointer on output objectReported-by: Blaise BourdinConstructors should not initialize the output to NULL upon entry, serves no purposeFix some formatting i
All constructors should do PetscAssertPointer on output objectReported-by: Blaise BourdinConstructors should not initialize the output to NULL upon entry, serves no purposeFix some formatting in constructors
Minor docs fixes
Update sowing bfort for automatic generation of XXXDestroy() codeFix some Fortran stub code to work with generation of XXXDestroy()Add some runtime tests for XXXCreate() callsAlso update sowing
Update sowing bfort for automatic generation of XXXDestroy() codeFix some Fortran stub code to work with generation of XXXDestroy()Add some runtime tests for XXXCreate() callsAlso update sowing and fortranimpl.h to use PETSC_NULLPTR instead of NULL
Update to sowing version that supports PetscViewer and PetscObjectRemove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowingAlso handles the passing of null
Update to sowing version that supports PetscViewer and PetscObjectRemove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowingAlso handles the passing of null objects correctly
Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INTSee merge request petsc/petsc!7480
Update source code removing all unneeded /*@C and associated manual stubs and interfaces
Merge branch 'sjg/thrust-tuple-fix' into 'release'More fixes to use thrust::get<id>(var) for CUDA 12.4 to access tuple elementsSee merge request petsc/petsc!7474
release docs fixesCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:
release docs fixesCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:Thanks-to:Development Tools: Vim, Emacs, Eclipse
Fix thrust::get compiler errors
BT: Fix for parallel viewing
Typos
12345678910>>...64