install.packages('svd',type='source')

试开URL’https://mran.microsoft.com/snapshot/2020-07-16/src/contrib/svd_0.5.tar.gz'

Content type 'application/octet-stream' length 122691 bytes (119 KB)

downloaded 119 KB

Microsoft R Open 4.0.2
The enhanced R distribution from Microsoft

Using the Intel MKL for parallel mathematical computing (using 2 cores).

Default CRAN mirror snapshot taken on 2020-07-16.
See: https://mran.microsoft.com/ .

  • installing source package ‘svd’ ...
    ** 成功将‘svd’程序包解包并MD5和检查
    ** using staged installation
    ** libs
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c extmat.c -o extmat.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c svd_init.c -o svd_init.o
    gfortran -fpic -g -O2 -c propack/dlansvd_irl.f -o propack/dlansvd_irl.o
    gfortran -fpic -g -O2 -c propack/printstat.f90 -o propack/printstat.o
    gfortran -fpic -g -O2 -c propack/second.f -o propack/second.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c propack/propack_svd.c -o propack/propack_svd.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/dsort2.c -o trlan/dsort2.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/dstqrb.c -o trlan/dstqrb.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/trlcore.c -o trlan/trlcore.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/trlaux.c -o trlan/trlaux.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/trlan.c -o trlan/trlan.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/trl_comm_none.c -o trlan/trl_comm_none.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/trlmap.c -o trlan/trlmap.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/restart.c -o trlan/restart.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/ztrl_comm_none.c -o trlan/ztrl_comm_none.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/ztrlan.c -o trlan/ztrlan.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/ztrlcore.c -o trlan/ztrlcore.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/ztrlaux.c -o trlan/ztrlaux.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/zdaxpy.c -o trlan/zdaxpy.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/zdgemv.c -o trlan/zdgemv.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/trlan_R.c -o trlan/trlan_R.o
    gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -DU_STATIC_IMPLEMENTATION -I../inst/include -DUSE_FC_LEN_T -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c trlan/ztrlan_R.c -o trlan/ztrlan_R.o
    gcc -std=gnu99 -shared -L/opt/microsoft/ropen/4.0.2/lib64/R/lib -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/opt/microsoft/ropen/4.0.2/lib64/R/lib -lRlapack -L/opt/microsoft/ropen/4.0.2/lib64/R/lib -lRblas -lgfortran -lm -L/opt/microsoft/ropen/4.0.2/lib64/R/lib -lR
    installing to /opt/microsoft/ropen/4.0.2/lib64/R/library/00LOCK-svd/00new/svd/libs
    ** inst
    ** byte-compile and prepare package for lazy loading
    Microsoft R Open 4.0.2
    The enhanced R distribution from Microsoft

    Using the Intel MKL for parallel mathematical computing (using 2 cores).

    Default CRAN mirror snapshot taken on 2020-07-16.
    See: https://mran.microsoft.com/ .

    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
    Microsoft R Open 4.0.2
    The enhanced R distribution from Microsoft

    Using the Intel MKL for parallel mathematical computing (using 2 cores).

    Default CRAN mirror snapshot taken on 2020-07-16.
    See: https://mran.microsoft.com/ .

    ** testing if installed package can be loaded from temporary location
    Microsoft R Open 4.0.2
    The enhanced R distribution from Microsoft

    Using the Intel MKL for parallel mathematical computing (using 2 cores).

    Default CRAN mirror snapshot taken on 2020-07-16.
    See: https://mran.microsoft.com/ .

    Error: package or namespace load failed for ‘svd’ in dyn.load(file, DLLpath = DLLpath, ...):
    无法载入共享目标对象‘/opt/microsoft/ropen/4.0.2/lib64/R/library/00LOCK-svd/00new/svd/libs/svd.so’::
    /opt/microsoft/ropen/4.0.2/lib64/R/library/00LOCK-svd/00new/svd/libs/svd.so: undefined symbol: lsame_
    错误: 载入失败
    ERROR: loading failed
    * removing ‘/opt/microsoft/ropen/4.0.2/lib64/R/library/svd’

    下载的程序包在
    ‘/tmp/RtmpkZW1vX/downloaded_packages’里
    更新'.Library'里的HTML程序包列表
    Making 'packages.html' ... 做完了。
    Warning message:
    In install.packages("svd", type = "source") :
    安装程序包‘svd’时退出狀態的值不是0

    From the log file, all we could know is error occurred when trying to load svd.so, because it's unable to find a function named "lsame_".

    Seems it's a lgfortran related function.

  •