Displaying 1 result from an estimated 1 matches for "testmor".
Did you mean:
testmer
2009 Sep 04
1
calling Lapack and BLAS routines from C
...ing R and C with the .C
function. I am trying to call LAPACK and BLAS routines, but am running
into a problem where, while I am able to run the BLAS routines, I cannot
run the LAPACK routines.
I compile my .c file (at end of email) in the following way:
[mhitczen at jlogin2 ~/Cstuff]$ R CMD SHLIB testmore.c
gcc -std=gnu99 -I/home/mhitczen/R-2.9.0/include -I/usr/local/include
-fpic -g -O2 -c testmore.c -o testmore.o
gcc -std=gnu99 -shared -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...