[問題] Rmpi 安裝請教
[問題類型]:
程式諮詢
[軟體熟悉度]:
入門
[問題描述]:
我想在用國網中心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://www.ptt.cc/bbs/R_Language/M.1557240953.A.5E4.html
→
05/07 23:09,
6年前
, 1F
05/07 23:09, 1F
感謝W大回復,希望這次能順利~
※ 編輯: boshings (36.229.137.67), 05/07/2019 23:46:41
→
05/09 00:00,
6年前
, 2F
05/09 00:00, 2F
→
05/09 00:02,
6年前
, 3F
05/09 00:02, 3F
→
05/09 00:02,
6年前
, 4F
05/09 00:02, 4F
→
05/09 00:05,
6年前
, 5F
05/09 00:05, 5F
→
05/09 00:06,
6年前
, 6F
05/09 00:06, 6F
→
05/09 00:06,
6年前
, 7F
05/09 00:06, 7F
→
05/09 10:51,
6年前
, 8F
05/09 10:51, 8F
→
05/09 10:53,
6年前
, 9F
05/09 10:53, 9F
→
05/09 10:53,
6年前
, 10F
05/09 10:53, 10F
→
05/09 10:54,
6年前
, 11F
05/09 10:54, 11F
→
05/09 10:54,
6年前
, 12F
05/09 10:54, 12F
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章