Displaying 1 result from an estimated 1 matches for "funct2".
Did you mean:
func2
2009 Sep 04
1
calling Lapack and BLAS routines from C
...ror 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 that contains the line:
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
What am I doing wrong? Thanks for your time and effort....