是否有使用并行计算在 R 中进行矩阵求逆的包?
谢谢!
你好。我在安装 HiPLARb 包时遇到问题,这是我所做的:
下载自动安装脚本:http ://www.hiplar.org/downloads/HiPLARb.Installer
./HiPLARb.Installer --with-openblas --no-gpu --prefix=/home/kaiyin/mylib
一切顺利,所有 prerequesite 库都安装成功,还有 R 2.15.2 的补丁版本
从http://www.hiplar.org/downloads/HiPLARb_0.1.3.tar.gz下载包
修改 shell PATH 以预先添加修补的 R bin 目录。
R CMD INSTALL --configure-args="--with-lapack= \
-L/home/kaiyin/mylib/lib\ -lopenblas \
--with-plasma-lib=/home/kaiyin/mylib \
--with-magma-lib=/home/kaiyin/mylib" HiPLARb_0.1.3.tar.gz
我收到以下错误:
配置:错误:无法识别的选项:`-L/home/kaiyin/mylib/lib -lopenblas'
尝试 `./configure --help' 获取更多信息
错误:包 HiPLARb 的配置失败
请帮忙,谢谢!
由于 -lopenblas 不是有效的配置选项,我将其删除并重试:
R CMD INSTALL --configure-args="--with-lapack=/home/kaiyin/mylib/lib\
--with-plasma-lib=/home/kaiyin/mylib \
--with-magma-lib=/home/kaiyin/mylib" ../HiPLARb_0.1.3.tar.gz
这次出现新错误:
configure: error: invalid variable name: ` --with-magma-lib'
第三次尝试:
R CMD INSTALL --configure-args="--with-lapack=/home/kaiyin/mylib/lib\
--with-plasma\
--with-magma\
--with-plasma-lib=/home/kaiyin/mylib \
--with-magma-lib=/home/kaiyin/mylib" ../HiPLARb_0.1.3.tar.gz
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
checking "if PLASMA libraries exist"... configure: WARNING: "No PLASMA option given."
configure: WARNING: "No CUDA option given."
configure: WARNING: "No MAGMA option given."
configure: error: Cannot find MAGMA or PLASMA Libraries. Please install MAGMA, PLASMA or both. Please see the install guide for more details.