* installing *source* package ‘svd’ ... ** package ‘svd’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘clang version 17.0.0 (https://github.com/llvm/llvm-project.git 0aecf7ff0d81930d3d46daf1c0552441b793d904)’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-flang/svd/src' /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c extmat.c -o extmat.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c svd_init.c -o svd_init.o /usr/local/clang-trunk/bin/flang-new -fpic -O2 -pedantic -c propack/dlansvd_irl.f -o propack/dlansvd_irl.o ./propack/dlansvd_irl.f:1245:2: warning: Compiler directive was ignored CDIR$ LOOP COUNT(10000) ^^^^^^^^^^^^^^^^^^^^^^ ./propack/dlansvd_irl.f:1253:2: warning: Compiler directive was ignored CDIR$ IVDEP ^^^^^^^^^^ ./propack/dlansvd_irl.f:1254:2: warning: Compiler directive was ignored CDIR$ LOOP COUNT(10000) ^^^^^^^^^^^^^^^^^^^^^^ ./propack/dlansvd_irl.f:1262:2: warning: Compiler directive was ignored CDIR$ LOOP COUNT(10000) ^^^^^^^^^^^^^^^^^^^^^^ ./propack/dlansvd_irl.f:1600:21: warning: Reference to the procedure 'rexit' has an implicit interface that is distinct from another reference: incompatible dummy argument #1: incompatible dummy data object types: CHARACTER(KIND=1,LEN=34_8) vs CHARACTER(KIND=1,LEN=19_8) if (m.gt.ldb) call rexit('m>ldb in DGEMM_OVWR') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ./propack/dlansvd_irl.f:1599:24: previous reference to 'rexit' if (ldwork.lt.m) call rexit('Too little workspace in DGEMM_OVWR') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ./propack/dlansvd_irl.f:1651:10: warning: Reference to the procedure 'rexit' has an implicit interface that is distinct from another reference: incompatible dummy argument #1: incompatible dummy data object types: CHARACTER(KIND=1,LEN=34_8) vs CHARACTER(KIND=1,LEN=39_8) call rexit('Too little workspace in DGEMM_OVWR_LEFT') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ./propack/dlansvd_irl.f:1599:24: previous reference to 'rexit' if (ldwork.lt.m) call rexit('Too little workspace in DGEMM_OVWR') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ./propack/dlansvd_irl.f:1655:10: warning: Reference to the procedure 'dgemm' has an implicit interface that is distinct from another reference: incompatible dummy argument #7: incompatible dummy data object shapes call dgemm('n',transb,blocksize,n,k,alpha,A(i,1),lda, ^ ./propack/dlansvd_irl.f:1603:10: previous reference to 'dgemm' call dgemm(transa,'N',m,blocksize,k,alpha,A,lda, ^ ./propack/dlansvd_irl.f:1663:7: warning: Reference to the procedure 'dgemm' has an implicit interface that is distinct from another reference: incompatible dummy argument #7: incompatible dummy data object shapes call dgemm('n',transb,m-i+1,n,k,alpha,A(i,1),lda, ^ ./propack/dlansvd_irl.f:1603:10: previous reference to 'dgemm' call dgemm(transa,'N',m,blocksize,k,alpha,A,lda, ^ /usr/local/clang-trunk/bin/flang-new -fpic -O2 -pedantic -c propack/printstat.f90 -o propack/printstat.o /usr/local/clang-trunk/bin/flang-new -fpic -O2 -pedantic -c propack/second.f -o propack/second.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c propack/propack_svd.c -o propack/propack_svd.o propack/propack_svd.c:61:7: warning: unused variable 'i' [-Wunused-variable] 61 | int i; | ^ 1 warning generated. /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/dsort2.c -o trlan/dsort2.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/dstqrb.c -o trlan/dstqrb.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/trlcore.c -o trlan/trlcore.o trlan/trlcore.c:246:5: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | count; | ^ trlan/trlcore.c:972:22: warning: variable 'north' set but not used [-Wunused-but-set-variable] 972 | int i, j, k, nran, north; | ^ trlan/trlcore.c:1095:28: warning: variable 'no' set but not used [-Wunused-but-set-variable] 1095 | int i, usecgs, jnd, jm1, no, nr; | ^ trlan/trlcore.c:1095:32: warning: variable 'nr' set but not used [-Wunused-but-set-variable] 1095 | int i, usecgs, jnd, jm1, no, nr; | ^ 4 warnings generated. /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/trlaux.c -o trlan/trlaux.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/trlan.c -o trlan/trlan.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/trl_comm_none.c -o trlan/trl_comm_none.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/trlmap.c -o trlan/trlmap.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/restart.c -o trlan/restart.o trlan/restart.c:346:32: warning: variable 'mn1' set but not used [-Wunused-but-set-variable] 346 | int i, j, k, nd, l1, l2, mn, mn1, mn2, t, k1, k2, | ^ trlan/restart.c:348:62: warning: variable 'min_ratio' set but not used [-Wunused-but-set-variable] 348 | double gamma0, gamma, val, min_val, min_gamma, min_gamma0, min_ratio, | ^ trlan/restart.c:533:28: warning: variable 'min_l' set but not used [-Wunused-but-set-variable] 533 | min_k1, min_k2, min_m, min_l; | ^ trlan/restart.c:534:39: warning: variable 'min_gamma' set but not used [-Wunused-but-set-variable] 534 | double gamma0, gamma, val, min_val, min_gamma, min_gamma0, min_ratio, | ^ trlan/restart.c:534:50: warning: variable 'min_gamma0' set but not used [-Wunused-but-set-variable] 534 | double gamma0, gamma, val, min_val, min_gamma, min_gamma0, min_ratio, | ^ trlan/restart.c:534:62: warning: variable 'min_ratio' set but not used [-Wunused-but-set-variable] 534 | double gamma0, gamma, val, min_val, min_gamma, min_gamma0, min_ratio, | ^ 6 warnings generated. /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/ztrl_comm_none.c -o trlan/ztrl_comm_none.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/ztrlan.c -o trlan/ztrlan.o trlan/ztrlan.c:283:9: warning: unused variable 'fp' [-Wunused-variable] 283 | FILE *fp; | ^~ 1 warning generated. /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/ztrlcore.c -o trlan/ztrlcore.o trlan/ztrlcore.c:565:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] 565 | ldrr, count; | ^ 1 warning generated. /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/ztrlaux.c -o trlan/ztrlaux.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/zdaxpy.c -o trlan/zdaxpy.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/zdgemv.c -o trlan/zdgemv.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/trlan_R.c -o trlan/trlan_R.o /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -I../inst/include -DUSE_FC_LEN_T -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c trlan/ztrlan_R.c -o trlan/ztrlan_R.o /usr/local/clang-trunk/bin/clang -shared -L/usr/local/clang/lib64 -L/usr/local/clang-trunk/lib -L/usr/local/lib64 -o svd.so extmat.o svd_init.o propack/dlansvd_irl.o propack/printstat.o propack/second.o propack/propack_svd.o trlan/dsort2.o trlan/dstqrb.o trlan/trlcore.o trlan/trlaux.o trlan/trlan.o trlan/trl_comm_none.o trlan/trlmap.o trlan/restart.o trlan/ztrl_comm_none.o trlan/ztrlan.o trlan/ztrlcore.o trlan/ztrlaux.o trlan/zdaxpy.o trlan/zdgemv.o trlan/trlan_R.o trlan/ztrlan_R.o -L/data/gannet/ripley/R/R-flang/lib -lRlapack -L/data/gannet/ripley/R/R-flang/lib -lRblas -lFortran_main -lFortranRuntime -lFortranDecimal -lm make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-flang/svd/src' installing to /data/gannet/ripley/R/packages/tests-flang/Libs/svd-lib/00LOCK-svd/00new/svd/libs ** R ** inst ** byte-compile and prepare package for lazy loading Creating a generic function for ‘crossprod’ from package ‘base’ in package ‘svd’ Creating a generic function for ‘tcrossprod’ from package ‘base’ in package ‘svd’ ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘svd’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/data/gannet/ripley/R/packages/tests-flang/Libs/svd-lib/00LOCK-svd/00new/svd/libs/svd.so': /data/gannet/ripley/R/packages/tests-flang/Libs/svd-lib/00LOCK-svd/00new/svd/libs/svd.so: undefined symbol: etime_ Error: loading failed Execution halted ERROR: loading failed * removing ‘/data/gannet/ripley/R/packages/tests-flang/Libs/svd-lib/svd’ Command exited with non-zero status 1 Time 0:24.38, 14.69 + 1.26