• 编译问题

    主要还是集中在ubuntu 或linux 服务器上,比如:

    1. Error in dyn.load(file, DLLpath = DLLpath, ...) :
    2. unable to load shared object '/home/data/yzpen/R/x86_64-pc-linux-gnu-library/4.0/igraph/libs/igraph.so':
    3. libmkl_gf_lp64.so: cannot open shared object file: No such file or directory
    4. Calls: <Anonymous> ... asNamespace -> loadNamespace -> library.dynam -> dyn.load

    查了下,跟mkl 相关,可能跟mkl 的路径或下载有关:

    https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-R-with-MKL-missing-libmkl-gf-lp64-so/m-p/987462

    https://github.com/pytorch/pytorch/issues/24334

    有缘再去解决这个问题吧。

    吊诡的是,其他的Linux 服务器就可以了:

    1. [1] "MesKit is already installed."
    2. [1] "maftools is already installed."
    3. [1] "MesKit, maftools are already in your computer."