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/m.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燈, 水草

請輸入看板名稱,例如:Boy-Girl站內搜尋

TOP