Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing PEER #1

Open
bnorthoff opened this issue Jun 22, 2020 · 1 comment
Open

Installing PEER #1

bnorthoff opened this issue Jun 22, 2020 · 1 comment

Comments

@bnorthoff
Copy link

Hi, I've tried using PPER 1.3 in R3.6 on a SLES15 Server. By running R CMD INSTALL R_peer_source_1.3.tgz to install from the source package I get the error message :

make: *** [/home/user/bin/R-3.6.0/lib64/R/etc/Makeconf:174: array_helper.o] Fehler 1
ERROR: compilation failed for package ‘peer’

I have also tried to install from scratch. To this end I have installed SWIG 3.0.12-4.18, numpy and scipy. I am using GCC7, cmake 3.10.2 and make 4.21.

cmake ../.

CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:231 (message):
SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
python/CMakeLists.txt:92 (swig_add_module)

-- Looking for R executable
-- Looking for R_HOME
-- R_HOME is /home/user/bin/R-3.6.0/lib64/R
-- Looking for R include files
-- Include files should be at /home/user/bin/R-3.6.0/lib64/R/include. Checking for R.h
-- Found at /home/user/bin/R-3.6.0/lib64/R/include/R.h
-- Exists at /home/user/bin/R-3.6.0/lib64/R/lib/libR.so
-- Checking whether we should link against Rlapack library
-- Yes, /home/user/bin/R-3.6.0/lib64/R/lib/libRlapack.so exists
-- Checking whether we should link against Rblas library
-- Yes, /home/user/bin/R-3.6.0/lib64/R/lib/libRblas.so exists
-- Checking for R package library location to use
-- Will use /home/user/bin/R-3.6.0/lib64/R/library
CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:231 (message):
SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
R/CMakeLists.txt:28 (swig_add_module)

-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/BioInf/tools/peer/build

make
...

make[2]: *** [src/CMakeFiles/peerlib.dir/build.make:63: src/CMakeFiles/peerlib.dir/bayesnet.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:196: src/CMakeFiles/peerlib.dir/all] Fehler 2
make: *** [Makefile:130: all] Fehler 2

Do you have any suggestion how to continue?
Best,

Bernd

@Xuhang01
Copy link

Hi Bernd,

I get the same error when installing PEER. Have you solve this problem?

Best,
XU Hang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants