Displaying 5 results from an estimated 5 matches for "dpotrf_".
Did you mean:
dpotrf
2005 Jan 25
2
about R CMD check
...is is a source package ... OK
* Installing *source* package 'WXT' ...
** libs
gcc -I/usr/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp
-fPIC -O2 -g -march=i386 -mcpu=i686 -c 1221.c -o 1221.o
1221.c: In function `Matrix_A_12':
1221.c:773: warning: passing arg 3 of `dpotrf_' from incompatible pointer type
1221.c:774: warning: passing arg 4 of `dpotrs_' from incompatible pointer type
1221.c: In function `Matrix_A_1':
1221.c:1037: warning: passing arg 3 of `dpotrf_' from incompatible pointer type
1221.c:1038: warning: passing arg 4 of `dpotrs_' from...
2005 Mar 10
1
about R CMD check
...ce package ... OK
* Installing *source* package 'var' ...
** libs
gcc -I/usr/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp
-fPIC -O2 -g -march=i386 -mcpu=i686 -c wxt1221.c -o wxt1221.o
wxt1221.c: In function `Matrix_A_12':
wxt1221.c:774: warning: passing arg 3 of `dpotrf_' from incompatible pointer
type
wxt1221.c:775: warning: passing arg 4 of `dpotrs_' from incompatible pointer
type
wxt1221.c: In function `Matrix_A_1':
wxt1221.c:1038: warning: passing arg 3 of `dpotrf_' from incompatible pointer
type
wxt1221.c:1039: warning: passing arg 4 of `dpotrs...
2010 Oct 22
2
Linking to lapack
...I could ever write
myself.
After some twiddling I have got my code to compile by including
"R_ext/Lapack.h" and using "F77_CALL(dpotrf)", but unfortunately, I don't
get this to link properly.
I get this message: " testc.o:testc.c:(.text+0x255): undefined reference to
`dpotrf_'" which seems logical to me as far as my understanding of C
reaches, but I don't know how to resolve it. I'm quite sure I need some
extra parameters in my makefile, but as I come from a world where all these
complexities are happily abstracted away for me by an IDE, I have no actua...
2005 Jul 05
1
calling fortran functions CHOL and DPOTRF form Fortran
...TRF.
I can see the source code and check that my call is correct,
but it does not compile with:
system("R CMD SHLIB ~/main.f")
dyn.load("~/main.so")
I get:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
[...]
undefined symbol: dpotrf_
Could anyone point out how to compile with such a call to lapack?
2) Calling the Fortran function CHOL
The previous combination of R CMD SHLIB and dyn.load
compiles fine but I would like to see the source code of this function
to check if my call is correct. I've not been able to find it...
2009 Sep 04
1
calling Lapack and BLAS routines from C
...-L/usr/local/lib -o testmore.so testmore.o
However, I get the following error in R:
> dyn.load("testmore.so")
Error in dyn.load("testmore.so") :
unable to load shared library '/home/mhitczen/Cstuff/testmore.so':
/home/mhitczen/Cstuff/testmore.so: undefined symbol: dpotrf_
This error goes away and everything works when I simply call the BLAS
routine (In the testmore.c file I simply remove funct2, leaving funct
which calls the routine "dgemm" found in the BLAS.h file).
I read the "Writing R Extensions" and created a file:
/R-2.9.0/src/Makevars th...