Entering edit mode
周在威
▴
20
@-5625
Last seen 10.2 years ago
I want to install rMAT_3.12.0, after setup gsl-1.16 and AMD
BLAS(acml),I still got error,the message follows;
[root@localhost Downloads]# sh -v code.sh
LD_LIBRARY_PATH=/usr/lib64/:/usr/local/lib:/lib64:/opt/acml5.3.1/gfort
ran64/lib/
R CMD INSTALL rMAT_3.12.0.tar.gz --configure-args="--with-
blas='-L/opt/acml5.3.1/gfortran64/lib/ -lacml'"
* installing to library ¡®/usr/local/lib64/R/library¡¯
* installing *source* package ¡®rMAT¡¯ ...
R_HOME: /usr/local/lib64/R
checking for gcc... gcc -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 -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GSL... no
checking for gsl-config... /usr/local/bin/gsl-config
checking for GSL - version >= 1.6... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
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 dispatch/dispatch.h usability... no
checking dispatch/dispatch.h presence... no
checking for dispatch/dispatch.h... no
checking omp.h usability... yes
checking omp.h presence... yes
checking for omp.h... yes
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating src/config.h
** libs
g++ -I/usr/local/lib64/R/include -DNDEBUG -I/usr/local/include
-fpic -g -O2 -c BARFileData.cpp -o BARFileData.o
g++ -I/usr/local/lib64/R/include -DNDEBUG -I/usr/local/include
-fpic -g -O2 -c BARFileWriter.cpp -o BARFileWriter.o
g++ -I/usr/local/lib64/R/include -DNDEBUG -I/usr/local/include
-fpic -g -O2 -c BARReader.cpp -o BARReader.o
g++ -I/usr/local/lib64/R/include -DNDEBUG -I/usr/local/include
-fpic -g -O2 -c BARWriter.cpp -o BARWriter.o
g++ -I/usr/local/lib64/R/include -DNDEBUG -I/usr/local/include
-fpic -g -O2 -c BPMAPFileData.cpp -o BPMAPFileData.o
g++ -I/usr/local/lib64/R/include -DNDEBUG -I/usr/local/include
-fpic -g -O2 -c BPMAPfunctions.cpp -o BPMAPfunctions.o
gcc -std=gnu99 -I/usr/local/lib64/R/include -DNDEBUG
-I/usr/local/include -fopenmp -fpic -g -O2 -c DeclareAll.c -o
DeclareAll.o
g++ -I/usr/local/lib64/R/include -DNDEBUG -I/usr/local/include
-fpic -g -O2 -c FileIO.cpp -o FileIO.o
g++ -I/usr/local/lib64/R/include -DNDEBUG -I/usr/local/include
-fpic -g -O2 -c FileWriter.cpp -o FileWriter.o
gcc -std=gnu99 -I/usr/local/lib64/R/include -DNDEBUG
-I/usr/local/include -fopenmp -fpic -g -O2 -c NormalizeProbes.c -o
NormalizeProbes.o
g++ -shared -L/usr/local/lib64 -o rMAT.so BARFileData.o
BARFileWriter.o BARReader.o BARWriter.o BPMAPFileData.o
BPMAPfunctions.o DeclareAll.o FileIO.o FileWriter.o NormalizeProbes.o
-lgsl -L/opt/acml5.3.1/gfortran64/lib/ -lacml -lm-lgomp
-L/usr/local/lib64/R/lib -lR
/usr/bin/ld: cannot find -lm-lgomp
collect2: ld returned 1 exit status
make: *** [rMAT.so] Error 1
ERROR: compilation failed for package ¡®rMAT¡¯
* removing ¡®/usr/local/lib64/R/library/rMAT
I am sure there is libgomp.so and libm.so in /usr/lib64.
any help would be appreciate!
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-unknown-linux-gnu (64-bit)
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
[7] base
other attached packages:
[1] BiocInstaller_1.12.0
loaded via a namespace (and not attached):
[1] tools_3.0.2
[[alternative HTML version deleted]]