Skip to content

?ggsv? followup to #434 & #409#437

Merged
langou merged 3 commits into
Reference-LAPACK:masterfrom
h-vetinari:ggsv_followup
Sep 4, 2020
Merged

?ggsv? followup to #434 & #409#437
langou merged 3 commits into
Reference-LAPACK:masterfrom
h-vetinari:ggsv_followup

Conversation

@h-vetinari

@h-vetinari h-vetinari commented Sep 4, 2020

Copy link
Copy Markdown
Contributor

After #434 got merged, I retried building lapack for conda-forge in conda-forge/lapack-feedstock#32 based on tags/v3.9.0 + #367, #370, #390, #408, #427, #431, #434, #436, but still got build warnings for the ?ggsv?-functions affected by #367, #409 & #434:

Details
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_cggsvp.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_cggsvp_work.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_dggsvp.c.o
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvp_work.c: In function 'LAPACKE_cggsvp_work':
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvp_work.c:53:71: warning: passing argument 22 of 'cggsvp_' from incompatible pointer type [-Wincompatible-pointer-types]
                        &tolb, k, l, u, &ldu, v, &ldv, q, &ldq, iwork, rwork,
                                                                       ^~~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvp_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3774:37: note: expected 'int *' but argument is of type 'float *'
 #define LAPACK_cggsvp LAPACK_GLOBAL(cggsvp,CGGSVP)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3775:12: note: in expansion of macro 'LAPACK_cggsvp'
 lapack_int LAPACK_cggsvp(  char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvp_work.c:141:44: warning: passing argument 22 of 'cggsvp_' from incompatible pointer type [-Wincompatible-pointer-types]
                        q_t, &ldq_t, iwork, rwork, tau, work, &info );
                                            ^~~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvp_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3774:37: note: expected 'int *' but argument is of type 'float *'
 #define LAPACK_cggsvp LAPACK_GLOBAL(cggsvp,CGGSVP)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3775:12: note: in expansion of macro 'LAPACK_cggsvp'
 lapack_int LAPACK_cggsvp(  char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_dggsvp_work.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_sggsvp.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_sggsvp_work.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_zggsvp.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_zggsvp_work.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_cggsvd.c.o
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvp_work.c: In function 'LAPACKE_zggsvp_work':
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvp_work.c:53:71: warning: passing argument 22 of 'zggsvp_' from incompatible pointer type [-Wincompatible-pointer-types]
                        &tolb, k, l, u, &ldu, v, &ldv, q, &ldq, iwork, rwork,
                                                                       ^~~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvp_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3787:37: note: expected 'int *' but argument is of type 'double *'
 #define LAPACK_zggsvp LAPACK_GLOBAL(zggsvp,ZGGSVP)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3788:12: note: in expansion of macro 'LAPACK_zggsvp'
 lapack_int LAPACK_zggsvp(  char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvp_work.c:141:44: warning: passing argument 22 of 'zggsvp_' from incompatible pointer type [-Wincompatible-pointer-types]
                        q_t, &ldq_t, iwork, rwork, tau, work, &info );
                                            ^~~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvp_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3787:37: note: expected 'int *' but argument is of type 'double *'
 #define LAPACK_zggsvp LAPACK_GLOBAL(zggsvp,ZGGSVP)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3788:12: note: in expansion of macro 'LAPACK_zggsvp'
 lapack_int LAPACK_zggsvp(  char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_cggsvd_work.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_dggsvd.c.o
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvd_work.c: In function 'LAPACKE_cggsvd_work':
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvd_work.c:52:64: warning: passing argument 21 of 'cggsvd_' from incompatible pointer type [-Wincompatible-pointer-types]
                        alpha, beta, u, &ldu, v, &ldv, q, &ldq, work, rwork,
                                                                ^~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvd_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3670:37: note: expected 'float *' but argument is of type '_Complex float *'
 #define LAPACK_cggsvd LAPACK_GLOBAL(cggsvd,CGGSVD)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3671:12: note: in expansion of macro 'LAPACK_cggsvd'
 lapack_int LAPACK_cggsvd( char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvd_work.c:52:70: warning: passing argument 22 of 'cggsvd_' from incompatible pointer type [-Wincompatible-pointer-types]
                        alpha, beta, u, &ldu, v, &ldv, q, &ldq, work, rwork,
                                                                      ^~~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvd_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3670:37: note: expected 'int *' but argument is of type 'float *'
 #define LAPACK_cggsvd LAPACK_GLOBAL(cggsvd,CGGSVD)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3671:12: note: in expansion of macro 'LAPACK_cggsvd'
 lapack_int LAPACK_cggsvd( char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvd_work.c:140:32: warning: passing argument 21 of 'cggsvd_' from incompatible pointer type [-Wincompatible-pointer-types]
                        &ldq_t, work, rwork, iwork, &info );
                                ^~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvd_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3670:37: note: expected 'float *' but argument is of type '_Complex float *'
 #define LAPACK_cggsvd LAPACK_GLOBAL(cggsvd,CGGSVD)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3671:12: note: in expansion of macro 'LAPACK_cggsvd'
 lapack_int LAPACK_cggsvd( char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvd_work.c:140:38: warning: passing argument 22 of 'cggsvd_' from incompatible pointer type [-Wincompatible-pointer-types]
                        &ldq_t, work, rwork, iwork, &info );
                                      ^~~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_cggsvd_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3670:37: note: expected 'int *' but argument is of type 'float *'
 #define LAPACK_cggsvd LAPACK_GLOBAL(cggsvd,CGGSVD)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3671:12: note: in expansion of macro 'LAPACK_cggsvd'
 lapack_int LAPACK_cggsvd( char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_dggsvd_work.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_sggsvd.c.o
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_dggsvd_work.c: In function 'LAPACKE_dggsvd_work':
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_dggsvd_work.c:49:64: warning: passing argument 21 of 'dggsvd_' from incompatible pointer type [-Wincompatible-pointer-types]
                        alpha, beta, u, &ldu, v, &ldv, q, &ldq, work, iwork,
                                                                ^~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_dggsvd_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3661:37: note: expected 'float *' but argument is of type 'double *'
 #define LAPACK_dggsvd LAPACK_GLOBAL(dggsvd,DGGSVD)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3662:12: note: in expansion of macro 'LAPACK_dggsvd'
 lapack_int LAPACK_dggsvd( char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_dggsvd_work.c:129:32: warning: passing argument 21 of 'dggsvd_' from incompatible pointer type [-Wincompatible-pointer-types]
                        &ldq_t, work, iwork, &info );
                                ^~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_dggsvd_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3661:37: note: expected 'float *' but argument is of type 'double *'
 #define LAPACK_dggsvd LAPACK_GLOBAL(dggsvd,DGGSVD)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3662:12: note: in expansion of macro 'LAPACK_dggsvd'
 lapack_int LAPACK_dggsvd( char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_sggsvd_work.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_zggsvd.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_zggsvd_work.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_cgeqpf.c.o
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvd_work.c: In function 'LAPACKE_zggsvd_work':
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvd_work.c:52:64: warning: passing argument 21 of 'zggsvd_' from incompatible pointer type [-Wincompatible-pointer-types]
                        alpha, beta, u, &ldu, v, &ldv, q, &ldq, work, rwork,
                                                                ^~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvd_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3681:37: note: expected 'float *' but argument is of type '_Complex double *'
 #define LAPACK_zggsvd LAPACK_GLOBAL(zggsvd,ZGGSVD)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3682:12: note: in expansion of macro 'LAPACK_zggsvd'
 lapack_int LAPACK_zggsvd( char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvd_work.c:52:70: warning: passing argument 22 of 'zggsvd_' from incompatible pointer type [-Wincompatible-pointer-types]
                        alpha, beta, u, &ldu, v, &ldv, q, &ldq, work, rwork,
                                                                      ^~~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvd_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3681:37: note: expected 'int *' but argument is of type 'double *'
 #define LAPACK_zggsvd LAPACK_GLOBAL(zggsvd,ZGGSVD)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3682:12: note: in expansion of macro 'LAPACK_zggsvd'
 lapack_int LAPACK_zggsvd( char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvd_work.c:140:32: warning: passing argument 21 of 'zggsvd_' from incompatible pointer type [-Wincompatible-pointer-types]
                        &ldq_t, work, rwork, iwork, &info );
                                ^~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvd_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3681:37: note: expected 'float *' but argument is of type '_Complex double *'
 #define LAPACK_zggsvd LAPACK_GLOBAL(zggsvd,ZGGSVD)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3682:12: note: in expansion of macro 'LAPACK_zggsvd'
 lapack_int LAPACK_zggsvd( char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvd_work.c:140:38: warning: passing argument 22 of 'zggsvd_' from incompatible pointer type [-Wincompatible-pointer-types]
                        &ldq_t, work, rwork, iwork, &info );
                                      ^~~~~
In file included from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:11:0,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_utils.h:37,
                 from /home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/src/lapacke_zggsvd_work.c:34:
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3681:37: note: expected 'int *' but argument is of type 'double *'
 #define LAPACK_zggsvd LAPACK_GLOBAL(zggsvd,ZGGSVD)
                                     ^
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
 #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
                                       ^~~~~~
/home/conda/feedstock_root/build_artifacts/blas-split_1599076138671/work/LAPACKE/include/lapack.h:3682:12: note: in expansion of macro 'LAPACK_zggsvd'
 lapack_int LAPACK_zggsvd( char const* jobu, char const* jobv, char const* jobq,
            ^~~~~~~~~~~~~
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_cgeqpf_work.c.o
[ 98%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_dgeqpf.c.o

Based on this, I compared what I had done in #409 with the implementation from #434, and ended up splitting the differences into three separate commits, for ease of reviewing/choosing:

  1. Commit d470f43 deals with some signature mismatches that should be fixed - with this commit, the build warnings disappear
  2. Commit cc04b61 adds a couple of const qualifiers that I had had in Fix some build warnings due to signature inconsistencies #409, based on what I had seen from the surrounding functions, and particularly the ?ggsv?3-variants of the deprecated functions - this compiles without warnings as well. This should be double-checked for correctness, as I'm not 100% sure why which parameters should be const or not. I tracked the original addition of the const modifiers back to Split lapack.h out of lapacke.h. Add const for inputs. Body of lapack… #294, but there's not much reasoning to go on for me.
  3. Commit 5ae1561 does not change any code, just matches the indentation & formatting to rest of lapack.h

I think the first commit should be included, the second and third are matters of choice & style, but here for completeness.

… 'const' in signatures

Based on how the surrounding functions in lapack.h are handling the
parameters, particularly the ?ggsv?3-variants of the affected functions

@h-vetinari h-vetinari left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

References for the signature inconsistencies

Comment thread LAPACKE/include/lapack.h Outdated
double* alpha, double* beta, double* u,
lapack_int* ldu, double* v, lapack_int* ldv, double* q,
lapack_int* ldq, float* work, lapack_int* iwork, lapack_int* info );
lapack_int* ldq, double* work, lapack_int* iwork, lapack_int* info );

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread LAPACKE/include/lapack.h Outdated
lapack_int* ldu, lapack_complex_float* v,
lapack_int* ldv, lapack_complex_float* q,
lapack_int* ldq, float* work, lapack_int* rwork, lapack_int* iwork, lapack_int *info );
lapack_int* ldq, lapack_complex_float* work, float* rwork, lapack_int* iwork, lapack_int* info );

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread LAPACKE/include/lapack.h
lapack_complex_double* q, lapack_int* ldq,
float* work, lapack_int* rwork, lapack_int* iwork, lapack_int* info );
lapack_complex_double* work, double* rwork, lapack_int* iwork, lapack_int* info );

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread LAPACKE/include/lapack.h Outdated
lapack_complex_float* v, lapack_int* ldv,
lapack_complex_float* q, lapack_int* ldq,
lapack_int* iwork, lapack_int* rwork,
lapack_int* iwork, float* rwork,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread LAPACKE/include/lapack.h Outdated
lapack_int* ldu, lapack_complex_double* v,
lapack_int* ldv, lapack_complex_double* q,
lapack_int* ldq, lapack_int* iwork, lapack_int* rwork,
lapack_int* ldq, lapack_int* iwork, double* rwork,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@h-vetinari

Copy link
Copy Markdown
Contributor Author

@langou @martin-frbg PTAL

@codecov

codecov Bot commented Sep 4, 2020

Copy link
Copy Markdown

Codecov Report

Merging #437 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #437   +/-   ##
=======================================
  Coverage   83.24%   83.24%           
=======================================
  Files        1808     1808           
  Lines      170197   170197           
=======================================
  Hits       141681   141681           
  Misses      28516    28516           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0bc3070...5ae1561. Read the comment docs.

@martin-frbg

Copy link
Copy Markdown
Collaborator

Indeed you are right, not sure how i managed to keep the parameter list messed up (and why it did not get caught by the user who built with -Werror and reported all was fine with my version of the patch). No strong opinion on the const, but it is probably a good thing.

@langou langou merged commit 9b136e8 into Reference-LAPACK:master Sep 4, 2020
@langou

langou commented Sep 4, 2020

Copy link
Copy Markdown
Contributor

Thanks!

@h-vetinari h-vetinari deleted the ggsv_followup branch September 4, 2020 15:19
@h-vetinari

Copy link
Copy Markdown
Contributor Author

Thanks!

christoph-conrads pushed a commit to christoph-conrads/lapack that referenced this pull request May 23, 2021
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 this pull request may close these issues.

3 participants