Skip to content

Installation error #1

@ConnieXuhm

Description

@ConnieXuhm

Hi @wzhy2000
When I tried to install HiGWAS package, I met the following error. My nvcc runs normally so I wonder why. Hope for your reply, thanks so much!

R CMD INSTALL --configure-args="--with-cuda-home=/usr/local/cuda-10.0" package
* installing to library ‘/usr/local/lib/R/site-library’
* installing *source* package ‘HiGWAS’ ...
** using staged installation
checking for gcc... gcc
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 accepts -g... yes
checking for gcc option to accept ISO C89... none needed
setting CUDA home directory to /usr/local/cuda-10.0
checking for /usr/local/cuda-10.0/bin/nvcc... yes
checking for /usr/local/cuda-10.0/bin/nvcc... (cached) yes
checking for CUDA headers... checking for /usr/local/cuda-10.0/include/cublas.h... yes
checking whether this is a 64-bit version of CUDA... checking for /usr/local/cuda-10.0/lib64/libcublas.so... yes
setting R home directory to /usr/lib/R
checking for R... yes
setting R header files to /usr/share/R/include
configure: creating ./config.status
config.status: creating src/Makefile
** libs
** arch - 
make: Nothing to be done for 'all'.
installing to /usr/local/lib/R/site-library/00LOCK-package/00new/HiGWAS/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘HiGWAS’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/local/lib/R/site-library/00LOCK-package/00new/HiGWAS/libs/HiGWAS.so':
  /usr/local/lib/R/site-library/00LOCK-package/00new/HiGWAS/libs/HiGWAS.so: undefined symbol: _cuda_gpart10
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/usr/local/lib/R/site-library/HiGWAS’

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions