Re: [Rd] Building a package with BLAS under Windows

2009-07-23 Thread Markus Jochmann
Solved it myself: The single precision and complex BLAS routines were not installed. -- View this message in context: http://www.nabble.com/Building-a-package-with-BLAS-under-Windows-tp24590763p24633850.html Sent from the R devel mailing list archive at Nabble.com. _

Re: [Rd] matrix algebra in c

2009-07-22 Thread Markus Jochmann
> 1. use F77_CALL() to call matrix multiplication functions from blas. > This should be ok as long as I remember that c and FORTRAN store > matrices differently. Concerning 1. you might want to look at some C++ wrapper for BLAS and Lapack like http://flens.sourceforge.net, this makes things easie

[Rd] Building a package with BLAS under Windows

2009-07-21 Thread Markus Jochmann
Hi everybody: I am writing a package that includes C code that uses the BLAS library. My Makevars looks like PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS). If I check and build the package under Linux on my own computer everything works fine. However, if I submit the package to win-builder I

[Rd] Dynamic Library linked with Parallel Intel MKL

2009-06-16 Thread Markus Jochmann
Hi! I call some external C++ code from R using dyn.load() and .C(). My dynamic library is linked to the parallel Intel MKL libraries and thus should make use of my quadcore processor. In fact, it does if I call it from a C++ program but not if I call it from R 2.8.1 packaged by Ubuntu (there it o