History log of /petsc/src/mat/impls/baij/seq/baijmkl/baijmkl.c (Results 1 – 25 of 89)
Revision Date Author Comments
# c5e72636 17-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/housekeeping' into 'main'

Housekeeping

See merge request petsc/petsc!8326


# 523895ee 16-Apr-2025 Pierre Jolivet <pierre@joliv.et>

Remove unneeded variable and functions


# a623e290 12-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'

More improvements to Fortran stubs and interfaces

See merge request petsc/petsc!7598


# 5d83a8b1 30-May-2024 Barry Smith <bsmith@mcs.anl.gov>

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGER
Pass 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_XXX

The compiler will now automatically prevent you from using the wrong argument type for the first three bullets above
This will also require an update sowing with the new sowing branch this MR is using.

show more ...


# 970231d2 07-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-18' into 'main'

clang-format version 18

See merge request petsc/petsc!6902


# f4f49eea 11-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'
git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'
git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'

show more ...


# 49d85fc3 14-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 0e624a58 12-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/release/bad-compose-function' into 'release'

Fix bad calls to PetscObjectComposeFunction

See merge request petsc/petsc!7187


# 14e4dea2 12-Jan-2024 Jose E. Roman <jroman@dsic.upv.es>

Fix bad calls to PetscObjectComposeFunction

Seemingly due to copy-paste errors


# 02477ebb 15-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-06-30/enable-doc-lint' into 'main'

Enable docs linting

See merge request petsc/petsc!6667


# fe59aa6d 12-Jul-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Lint apply: mat


# e9f36840 18-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-03-08/fix-man-pages-detected-by-lint' into 'main'

Fix many manual pages

See merge request petsc/petsc!6162


# 20f4b53c 09-Mar-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix manual pages based on reports from Jacob's lint tool

Commit-type: documentation


# 6c749b74 07-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-03-01/fix-mat-man-pages' into 'main'

Cleanup of mat manual pages

See merge request petsc/petsc!6134


# 2ef1f0ff 01-Mar-2023 Barry Smith <bsmith@mcs.anl.gov>

Cleanup of mat manual pages

Commit-type: documentation


# 37d05b02 06-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# b877537e 05-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-typos' into 'release'

Fix Typos

See merge request petsc/petsc!6024


# da81f932 05-Feb-2023 Pierre Jolivet <pierre@joliv.et>

Fix Typos


# 31d78bcd 02-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'

Feature: Non-discardable PetscErrorCode

See merge request petsc/petsc!5923


# 3ba16761 10-Dec-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Make PetscErrorCode a non-discardable enum


# a2a799d5 13-Oct-2022 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 641b4ef6 11-Oct-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini-release-patch-42395' into 'release'

fix mkl sbaij

See merge request petsc/petsc!5733


# 45d28df7 10-Oct-2022 Stefano Zampini <stefano.zampini@gmail.com>

```
In file included from /home/szampini/Devel/petsc/include/petscsys.h:21,
from /home/szampini/Devel/petsc/include/petscvec.h:9,
from /home/szampini/Devel/petsc/inc

```
In file included from /home/szampini/Devel/petsc/include/petscsys.h:21,
from /home/szampini/Devel/petsc/include/petscvec.h:9,
from /home/szampini/Devel/petsc/include/petscmat.h:7,
from /home/szampini/Devel/petsc/include/petsc/private/matimpl.h:5,
from /home/szampini/Devel/petsc/include/../src/mat/impls/baij/seq/baij.h:4,
from /home/szampini/Devel/petsc/src/mat/impls/baij/seq/baijmkl/baijmkl.c:8:
/home/szampini/Devel/petsc/src/mat/impls/baij/seq/baijmkl/baijmkl.c: In function ‘MatSeqBAIJMKL_create_mkl_handle’:
/home/szampini/Devel/petsc/src/mat/impls/baij/seq/baijmkl/baijmkl.c:182:152: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
182 | PetscCallMKL(mkl_sparse_x_create_bsr(&baijmkl->bsrA, SPARSE_INDEX_BASE_ONE, SPARSE_LAYOUT_COLUMN_MAJOR, (MKL_INT)mbs, (MKL_INT)nbs, (MKL_INT)bs, (MKL_INT *)i, (MKL_INT *)(ai + 1), (MKL_INT *)aj, aa));
| ^
/home/szampini/Devel/petsc/include/petscmacros.h:566:51: note: in definition of macro ‘PetscUnlikely’
566 | #define PetscUnlikely(cond) __builtin_expect(!!(cond), 0)
| ^~~~
/home/szampini/Devel/petsc/include/../src/mat/impls/baij/seq/baijmkl/baijmkl.h:5:5: note: in expansion of macro ‘PetscCheck’
5 | PetscCheck(stat == SPARSE_STATUS_SUCCESS, PETSC_COMM_SELF, PETSC_ERR_LIB, "Error in MKL sparse matrix call"); \
| ^~~~~~~~~~
/home/szampini/Devel/petsc/src/mat/impls/baij/seq/baijmkl/baijmkl.c:182:7: note: in expansion of macro ‘PetscCallMKL’
182 | PetscCallMKL(mkl_sparse_x_create_bsr(&baijmkl->bsrA, SPARSE_INDEX_BASE_ONE, SPARSE_LAYOUT_COLUMN_MAJOR, (MKL_INT)mbs, (MKL_INT)nbs, (MKL_INT)bs, (MKL_INT *)i, (MKL_INT *)(ai + 1), (MKL_INT *)aj, aa));
| ^~~~~~~~~~~~
/home/szampini/Devel/petsc/src/mat/impls/baij/seq/baijmkl/baijmkl.c:182:20: note: in expansion of macro ‘mkl_sparse_x_create_bsr’
182 | PetscCallMKL(mkl_sparse_x_create_bsr(&baijmkl->bsrA, SPARSE_INDEX_BASE_ONE, SPARSE_LAYOUT_COLUMN_MAJOR, (MKL_INT)mbs, (MKL_INT)nbs, (MKL_INT)bs, (MKL_INT *)i, (MKL_INT *)(ai + 1), (MKL_INT *)aj, aa));
```

show more ...


# 3620e4a8 28-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-09-27/fix-mkl-sparse-64bit-int' into 'main'

Update the mkl_sparse interface to handle 64 bit integers

See merge request petsc/petsc!5693


# bdfea6db 27-Sep-2022 Barry Smith <bsmith@mcs.anl.gov>

Update the mkl_sparse interface to handle 64 bit integers

Commit-type: portability
Reported-by: Bro H <broheimhelldawg29@gmail.com>


1234