- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hello Everyone,
I am new to this forum and I hope this is the correct place for this question. I am using the Intel MKL Fortran Compiler. For testing purposes I'd like to get the dense representation of a matrix which was in the CSR format before. The routine mkl_?dnscsr seems to be deprecated with the note of using the Matrix Manipulation Routines (https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-fortran/2024-0/matrix-manipulation-routines.html)
I searched for an equivalent of getting the dense representation but couldn't find one. Maybe I am just overlooking but I would appreciate any help.
Bests,
Hendrik
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Hendrik,
You are not overlooking anything. We do not have a replacement routine for mkl_?dnscsr as of now in the Matrix Manipulation Routines. We are aware that this statement in the documentation is incorrect and it will be modified soon.
If you need to convert between sparse and dense matrices, you may decide to either write your own converter (see examples/c/sparse_blas/source/sparse_converters.c example for hints) or continue using mkl_?dnscsr until a replacement is provided (the routine will not be removed until there is a replacement).
I hope this helps and apologies for the confusion.
Best.
Nicolas
Edit: the sparse_converters example is in C, as we do not have a Fortran equivalent. But the logic of how it could be done in Fortran is the same.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Nicolas,
Thanks a lot for your fast reply. I will just continue to use the old one then.
Best
Hendrik

- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable