Displaying 20 results from an estimated 8000 matches similar to: "How to connect R with a C code which includes Atlas"
2010 May 28
2
Compiling R-2.11.0 with ATLAS-tuned BLAS and LAPACK
Hello. I am a Linux neophyte and know almost nothing ?about compiling,
so I would appreciate any help and advice y'all would care to offer.
I am trying to compile the 64 bit version of R using a tuned ATLAS and
LAPACK (ATLAS 3.9.24). I am running Ubunto 10.04 LTS (through wubi,
FWIW). The ATLAS and LAPACK files (atlas.so, f77blas.so, lapack.so,
and cblas.so) are sitting in the folder
2004 Jun 15
2
About function "unif_rand()"
hello, everybody,
I met a problem that I want to generate a random uniform number by using
function with c interface.
What I found is only "unif_rand()", but its range is [0,1]. How can I create a
uniform random variable by using a function with c interface.
Who can tell me what function it is and how to use?
I will appreciate for it very much.
Thanks in advance!
xiaotong wang
2002 Oct 02
4
Atlas shared
I don't see why the Debian shared libraries shouldn't work, but it's not too
hard to make shared ATLAS: first you need to get the flags for
position-independent code (-fPIC on gcc) into the compilations, which can be
done in the "config" program (add it to the defaults for the C and Fortran
compiler flags), then you extract the object files from the .a archive built
by
2005 Mar 09
2
How to use a R package with C code
Hello, everybody,
I created a R package which includes C code. But I load this package, and carry
out the R function in it. It shows C function is not in load table as follows.
Would you tell me what is the problem? Where do I make mistake?
Maggie
[Previously saved workspace restored]
> library(var)
Attaching package 'var':
The following object(s) are masked _by_
2008 Apr 18
1
configure can't find dgemm in MKL10
Hi,
I'm trying to follow the R-admin instructions for using MKL10 as the external BLAS compiling R-2.6.2 under Linux on a RH EL head node of a cluster. The configure process seems to have problems when it checks for dgemm in the BLAS. I'm using configure as:
./configure CC=icc F77=ifort --with-lapack="$MKL" --with-blas="$MKL" where $MKL is defined as in R-admin
2004 May 13
1
question about dyn.load()
Hello, everybody,
I met a big problem. What I want is to use c code in R. I have load a test
code "conv.c" in R and run it successfully. However, in my real code, I use
matlab c library (Matrix Inverse function). After I use command "R CMD SHLIB"
to share library, I can not use "dyn.load" to load the object in
R. "undefined symbol:
2005 Feb 23
1
BLAS or ATLAS?
I believe that actually means configure was able to use the BLAS you
specified (MKL in this case). You can scan through config.log to make sure.
Andy
> From:
>
> Fedora Core 3
>
> I installed the Intel MLk,
>
> and tried : --with-blas="-lmkl -lguide -lpthread"
>
> and got : External libraries: readline, BLAS(generic)
>
> thus I'm
2005 Jan 25
2
about R CMD check
hello,
I create a package which includes C code and Lapack. But when I run " R CMD
check ". an error message, "/usr/bin/ld: cannot find -lfrtbegin " occurs. could
you tell me what is the problem?
the detailed message is as follows:
[credsim@confsys ~/src]$ R CMD check var
* checking for working latex ... OK
* using log directory '/home/credsim/src/var.Rcheck'
*
2004 Apr 22
2
Urgent:again question about nmath/standalone
Hello, all,
I have the same question as the last mail I sent. I have installed libRmath in
my system. But I still can not link Rmath through -lRmath. The whole process
is as follow.Is there anybody who is so kind to help me find out the problem?
I will appreciate very much.
[credsim at confsys ~]$ cd /usr/lib
[credsim at confsys lib]$ ls -l libR*
-rw------- 1 bcdesai bcdesai 237828 Apr
2005 Jan 21
1
How to use a C code in R
hello,
I have a c code which uses clapack. I want to integrate R with this code. It
said that I create a R package including my c code. Then build it with putting
PKG_LIBS = $(LAPACK_LIBS). I want to know the interface LAPACK_LIBS is Fortran
or C? If it is written in Fortran, how can I build them together? If I can
build them together, I still use the function in cLapack or the function in
2004 Apr 14
1
question about /nmath/standalone
Hello,
I can't link a c code with Mathlib according to introduction of R
manual "Writing R Extensions", page 60.
It is written :
"It is possible to build Mathlib, the R set of mathematical functions
documented in
'Rmath.h?, as a standalone library 'libRmath? under Unix and Windows. (This
includes
the functions documented in Section 5.7 [Numerical analysis
2005 Oct 13
3
Help with Matrix package
Hello all,
A colleague at work set me the challenge to convert some MATLAB
code into R, to see which is faster. We'd seen that benchmark comparing
MATLAB 6.5 to R1.90 (and others), and so I thought that I should be able
to get roughly comparable speeds. The code has lots of multiplications
of matrixes, transposes, and MATLAB's "repmat". I did the code
conversion, and R was about
2005 Jan 21
1
Cholesky Decomposition
Can we do Cholesky Decompositon in R for any matrix
---------------------------------
[[alternative HTML version deleted]]
2010 Jun 02
2
R and multi cpu ATLAS
Dirk suggested I move this thread over here. I am trying to get a
multithreaded (multi CPU) version of ATLAS working with R, and have
been unable, thus far, to get it working. Has anyone gotten an
multithreaded version of ATLAS working on Debian (64 bit)? I've tried
this:
apt-get source atlas -t unstable
cd atlas-3.8.3
DEFAULTS=n fakeroot debian/rules custom
but it is APPEARING to only
2010 May 26
2
R and ATLAS
Rhelpers:
I recently installed the 64-bit version of R on my Debian system, and
afterwards was asked if it was compiled using ATLAS. Is there a way
to test to see if R is using ATLAS?
--j
2010 May 14
1
Compiling R with ATLAS
Hello. I know almost nothing about Linux, so I apologize if the answer to
this is obvious.
I am trying to compile R with ATLAS (successfully compiled 3.9.24 on Ubuntu
10.04 64 bit). I configured with:
./configure --enable-R-shlib --enable-BLAS-shlib
--with-blas="-L/usr/local/atlas/lib -lf77blas -latlas"
--with-lapack="-L/usr/local/atlaslib -llapack -lcblas" --with-x
and I
2010 May 14
1
Compiling R with ATLAS
Hello. I know almost nothing about Linux, so I apologize if the answer to
this is obvious.
I am trying to compile R with ATLAS (successfully compiled 3.9.24 on Ubuntu
10.04 64 bit). I configured with:
./configure --enable-R-shlib --enable-BLAS-shlib
--with-blas="-L/usr/local/atlas/lib -lf77blas -latlas"
--with-lapack="-L/usr/local/atlaslib -llapack -lcblas" --with-x
and I
2015 Nov 23
3
MKL Acceleration encouraging; need adjust package builds?
Dear R-devel:
The Cluster administrators at KU got enthusiastic about testing
R-3.2.2 with Intel MKL when I asked for some BLAS integration. Below
I forward a performance report, which is encouraging, and thought you
would like to know the numbers. Appears to my untrained eye there are
some extraordinary speedups on Cholesky decomposition, determinants,
and matrix inversion.
They had
2016 Jul 15
1
I am unable to build atlas rpm from centos7.2
Hi all,
I just cloned from
git clone https://git.centos.org/git/rpms/atlas
And rpmbuild is failing with error in building ATLAS:-
make[1]: Leaving directory `/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base'
DONE configure
+ '[' base = base ']'
+ sed -i 's#ARCH =.*#ARCH = P4E64SSE3#' Make.inc
+ sed -i s#-DATL_AVX## Make.inc
+ sed -i s#-mavx#-msse3# Make.inc
+ echo
2020 Oct 08
3
Installing package fails at "testing if installed package can be loaded from temporary location"
Hi,
I can not install packages from source which links to RcppArmadillo on
Ubuntu 20.04 (after upgrading from 18.04). The following problem occurs:
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'myPackage' in
dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object