R_Language 板


LINE

[问题类型]: 程式谘询 [软体熟悉度]: 入门 [问题描述]: 我想在用国网中心HPC主机执行平行运算,Rmpi一直无法安装成功。 尝试了几个环境模组仍然失败。 1) gcc/6.3.0 2) intel/2018_u1 3)openmpi/gcc/64/1.10.3 [程式范例]: > install.packages("Rmpi") Installing package into ‘ /home/u1/ee/R/x86_64-redhat-linux-gnu-library/3.5’ (as ‘lib’ is unspecified) --- Please select a CRAN mirror for use in this session --- trying URL 'https://cran.mtu.edu/src/contrib/Rmpi_0.6-9.tar.gz' Content type 'application/x-gzip' length 106745 bytes (104 KB) ================================================== downloaded 104 KB * installing *source* package ‘Rmpi’ ... ** package ‘Rmpi’ successfully unpacked and MD5 sums checked checking for gcc... gcc -m64 -std=gnu99 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -m64 -std=gnu99 accepts -g... yes checking for gcc -m64 -std=gnu99 option to accept ISO C89... none needed checking for pkg-config... /usr/bin/pkg-config checking if pkg-config knows about OpenMPI... no checking how to run the C preprocessor... gcc -m64 -std=gnu99 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking mpi.h usability... yes checking mpi.h presence... yes checking for mpi.h... yes Trying to find libmpi.so or libmpich.a ... checking for main in -lmpi... no libmpi not found. exiting... ERROR: configuration failed for package ‘Rmpi’ * removing ‘/home/u1/ee/R/x86_64-redhat-linux-gnu-library/3.5/Rmpi’ The downloaded source packages are in ‘/tmp/RtmpcVbC04/downloaded_packages’ Warning message: In install.packages("Rmpi") : installation of package ‘Rmpi’ had non-zero exit status [环境叙述]: [ee@clogin1 ~]$ module list Currently Loaded Modulefiles: 1) openmpi/gcc/64/1.10.3 > sessionInfo() R version 3.5.2 (2018-12-20) Platform: x86_64-redhat-linux-gnu (64-bit) Running under: Red Hat Enterprise Linux Matrix products: default BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.5.2 [关键字]: Rmpi --



※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 36.229.137.67
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/R_Language/M.1557240953.A.5E4.html
1F:→ Wush978: 安装 openmpi-devel 05/07 23:09
感谢W大回复,希望这次能顺利~ ※ 编辑: boshings (36.229.137.67), 05/07/2019 23:46:41
2F:→ celestialgod: 我用mpich2 安装成功,openmpi没成功过 05/09 00:00
3F:→ celestialgod: 安装的时候记得要指定mpi type 05/09 00:02
4F:→ celestialgod: 网路上google找的到相关教学 05/09 00:02
5F:→ celestialgod: (系统是用centos 7) 05/09 00:05
6F:→ celestialgod: PS: 用wget先抓下套件tar.gz 再用R CMD INSTALL 05/09 00:06
7F:→ celestialgod: 我好像没用内建的install.packages成功过... 05/09 00:06
8F:→ clickhere: 找出 mpi.h 和 libmpi.so 的 path 05/09 10:51
9F:→ clickhere: 用 R CMD INSTALL Rmpi*.tar.g --configure-args=" 05/09 10:53
10F:→ clickhere: --with-Rmpi-include=...path.to.mpi.h 05/09 10:53
11F:→ clickhere: --with-Rmpi-libpath=...path.to.libmpi.so" 05/09 10:54
12F:→ clickhere: Rmpi 里的 README 写得很清楚 05/09 10:54







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:e-shopping站内搜寻

TOP