Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unhr_col missing from LAPACKE #726

Closed
mgates3 opened this issue Oct 7, 2022 · 1 comment · Fixed by #827
Closed

unhr_col missing from LAPACKE #726

mgates3 opened this issue Oct 7, 2022 · 1 comment · Fixed by #827

Comments

@mgates3
Copy link
Contributor

mgates3 commented Oct 7, 2022

[cz]unhr_col and [sd]orhr_col are missing from Netlib LAPACKE:

lapack> git log --oneline -n 1    # git idx
79a37b29a (HEAD -> master, origin/master, origin/HEAD) Merge pull request #721 from angsch/cblas

lapack> git grep zunhr_col
SRC/CMakeLists.txt:   zunhr_col.f zlaunhr_col_getrfnp.f zlaunhr_col_getrfnp2.f
SRC/Makefile:   zunhr_col.o zlaunhr_col_getrfnp.o zlaunhr_col_getrfnp2.o \
SRC/zunhr_col.f:*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zunhr_col.f">
SRC/zunhr_col.f:*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/zunhr_col.f">
SRC/zunhr_col.f:*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/zunhr_col.f">
TESTING/LIN/CMakeLists.txt:   zchkunhr_col.f zerrunhr_col.f zunhr_col01.f zunhr_col02.f)
TESTING/LIN/Makefile:   zchkunhr_col.o zerrunhr_col.o zunhr_col01.o zunhr_col02.o

but interestingly are in MKL's LAPACKE (since 2020.4), which creates a headache for porting.

> module swap intel-mkl intel-mkl/2020.4.304
> cd $MKLROOT/include
mkl/include> grep zunhr_col *.h
mkl_lapacke.h:lapack_int LAPACKE_zunhr_col( int matrix_layout, lapack_int m, lapack_int n,
mkl_lapacke.h:lapack_int LAPACKE_zunhr_col_work( int matrix_layout, lapack_int m, lapack_int n,
mkl_lapack.h:void zunhr_col( const MKL_INT* m, const MKL_INT* n, const MKL_INT* nb, MKL_Complex16* a, const MKL_INT* lda, MKL_Complex16* t, const MKL_INT* ldt, MKL_Complex16* d, MKL_INT* info );
mkl_lapack.h:void zunhr_col_( const MKL_INT* m, const MKL_INT* n, const MKL_INT* nb, MKL_Complex16* a, const MKL_INT* lda, MKL_Complex16* t, const MKL_INT* ldt, MKL_Complex16* d, MKL_INT* info );
@mgates3
Copy link
Contributor Author

mgates3 commented Oct 8, 2022

I asked Sarah at Intel if they can contribute their wrapper. Sounds like they can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant