[R] Problem with R using pgi compiler on x86_64
Dr.Peer-Joachim Koch
pkoch at bgc-jena.mpg.de
Wed Feb 11 14:50:46 CET 2009
Hi,
we have installed R-2.8.1 using the current pgi compiler (8.0.2) for
AMD64 on a SLES9 system.
When I try to install "Matrix" everything is fine until the last step.
make[1]: Leaving directory `/tmp/R.INSTALL.TW3399/Matrix/src/AMD'
pgCC -L/usr/lib64 -L/usr/X11R6/lib64 -pgf90libs -o Matrix.so
CHMfactor.o Csparse.o TMatrix_as.o Tsparse.o init.o Mutils.o
chm_common.o cs.o cs_utils.o dense.o dgCMatrix.o dgTMatrix.o dgeMatrix.o
dpoMatrix.o dppMatrix.o dsCMatrix.o dsyMatrix.o dspMatrix.o dtCMatrix.o
dtTMatrix.o dtrMatrix.o dtpMatrix.o factorizations.o ldense.o
lgCMatrix.o sparseQR.o SPQR.a CHOLMOD.a COLAMD.a AMD.a
-L/usr/local/apps/R/R-2.8.1/lib64/R/lib -lRlapack -lRblas -lpgf90
-lpgf90_rpm1 -lpgf902 -lpgf90rtl -lpgftnrtl -lnspgc -lpgc -lrt -lpthread
-lm -pgf90libs
/usr/lib64/crt1.o(.text+0x21): In function `_start':
../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
CHMfactor.o(.text+0x28): In function `CHMfactor_to_sparse':
/tmp/R.INSTALL.TW3399/Matrix/src/CHMfactor.c:5: undefined reference to
`R_CheckStack'
CHMfactor.o(.text+0xa5):/tmp/R.INSTALL.TW3399/Matrix/src/CHMfactor.c:14:
undefined reference to `Rf_error'
CHMfactor.o(.text+0xe5):/tmp/R.INSTALL.TW3399/Matrix/src/CHMfactor.c:14:
undefined reference to `R_NilValue'
Other modules worked and could be compiled without any problems.
Any idea ??
--
Bye,
Peer
_________________________________________________________
Max-Planck-Institut fuer Biogeochemie
Dr. Peer-Joachim Koch
Hans-Knöll Str.10 Telefon: ++49 3641 57-6705
D-07745 Jena Telefax: ++49 3641 57-7705
More information about the R-help
mailing list