Displaying 20 results from an estimated 200 matches similar to: "Using fortran code which call LAPACK subroutines"
2000 Jul 12
1
Compiling R on RS6000 AIX 4.3
Hi,
I've been searching through the R help archives and came across only one AIX
compilation question in March, which received no public responses. I'm
currently having the same problems with the "Illegal instruction" and core
dump of running R 1.0.1 on AIX 4.3.
Firstly, the R distribution was missing some FORTRAN routines, which I found
on the net and added, by modifying
2000 Jul 12
1
Compiling R on RS6000 AIX 4.3
Hi,
I've been searching through the R help archives and came across only one AIX
compilation question in March, which received no public responses. I'm
currently having the same problems with the "Illegal instruction" and core
dump of running R 1.0.1 on AIX 4.3.
Firstly, the R distribution was missing some FORTRAN routines, which I found
on the net and added, by modifying
2009 Jun 30
2
Using functions to change values in a data.frame
I'm having trouble with something that looks easy. (And I'm sure it
will be easier within about 1 minute of receiving my first response.)
Thanks in advance.
I have a collection of data frames that I need to add columns, do some
calculations and then fill in the new columns. Since I have a large
number of similar data frames I want to do this with functions to make
the code more readable
2006 Sep 27
1
Building R-2.3.1 for Windows with ATLAS
Ok, moved to R-devel.
I tried to build R-2.3.1. Since I intent to distribute this tuned R to
all other who have a computer like mine here at work I thought it was
best to stay with the latest stable release.
About your suggestion, I could'n find xerblas.o file. And I don't know
how to edit libf77blas.a. I tried to open it with VIM
(http://vim.sf.net/) but there was a lot of strange
2005 Aug 28
2
xerbla called from BLAS routine (PR#8100)
Full_Name: G?ran Brostr?m
Version: R-2.1.1, 2.2.0
OS: Debian unstable
Submission from: (NULL) (213.65.9.59)
Some BLAS routines call xerbla for error messages, which results in a message
like
"LAPACK routine DGER gave error code -9".
Suggested solution: In
void F77_NAME(xerbla)(char *srname, int *info)
{
/* srname is not null-terminated. It should be 6 characters. */
char
2005 Aug 29
1
BLAS and ATLAS
On Mon, Aug 29, 2005 at 11:48:23AM +0100, Prof Brian Ripley wrote:
> On Mon, 29 Aug 2005, G?ran Brostr?m wrote:
> >LAPACK/BLAS routines call xerbla "if an input parameter has an
> >invalid value" (exact quote from XERBLA at Netlib). Other types of errors
> >are not printed (by xerbla), but it is up to the user to check the return
> >value of the argument
2009 Jul 01
1
running count in data.frame
Hi,
I need to keep a running count of events that have happened in my
data.frame. I found a document called usingR that had an example of
doing this for random coin flips and I tried to modify it. It seems to
sort of work in the beginning, but then it stops and I don't
understand why. I'm trying to duplicate essentially the Excel
capability of =SUM($A$1:$A(Row number))
The example
2006 Jan 13
1
Problems installing R 2.2.1
We are trying to install R2.2.1 on a IBM P655 Cluster, SuSE LE 9.1
We are using gcc v 3.3.3
and we are getting this error on make
g77 -fPIC -g -O2 -ffloat-store -c dlamc.f -o dlamc.lo
g77 -fPIC -g -O2 -c dlapack0.f -o dlapack0.lo
g77 -fPIC -g -O2 -c dlapack1.f -o dlapack1.lo
g77 -fPIC -g -O2 -c dlapack2.f -o dlapack2.lo
g77 -fPIC -g -O2 -c dlapack3.f -o dlapack3.lo
g77 -fPIC -g
2004 Feb 26
2
ATLAS threaded 64 bit (Opteron) - need *.so?
Using ATLAS with R is an old topic quite covered in the "R
Administration" manual (and by R's "configure" script
collection).
I still do not easily manage to build R properly on our new AMD
Opteron (2-processor).
I did work with the current Atlas 3.6.0, configured manually
(but "express" version) to build a threaded ATLAS version, and
successfully ran Atlas'
2002 Dec 26
3
R-1.6.2beta_2002-12-20: build problems (PR#2395)
While builds and validations of R-1.6.2beta_2002-12-20 were
successful on several systems, there were a few failures:
------------------------------------------------------------------------
Apple Darwin 6.2 (MacOS 10.2.2) with gcc-3.2.1:
gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libgslcblas.0.0.0.dylib sasum.lo saxpy.lo ... isamax.lo izamax.lo xerbla.lo -lc -install_name
2012 May 09
2
R Installation Manual - ATLAS BLAS guidance that is not in the current version
Good afternoon.
I am trying to compile a version of Rblas.dll based on ATLAS for the Corei7. I had remembered that there was mention of which file to adjust and that "xerbla" needed to be removed from one of the outputs from the last time I tried a few years ago. The most recent version of the R Installation manual does not say anything about this. An older version (2.10 I believe) has
2019 Apr 24
2
R problems with lapack with gfortran
Hi,
I have tried to pinpoint potential problems which could lead to the
LAPACK issues that are currently seen in R. I built the current R
trunk using
AR=gcc-ar RANLIB=gcc-ranlib ./configure --prefix=$HOME --enable-lto
--enable-BLAS-shlib=no --without-recommended-packages
and used this to find problem areas.
There are quite a few warnings that were flagged, due to mismatches
in function
2009 Jul 01
2
?max (so far...)
Hi,
I have a data.frame that is date ordered by row number - earliest
date first and most current last. I want to create a couple of new
columns that show the max and min values from other columns *so far* -
not for the whole data.frame.
It seems this sort of question is really coming from my lack of
understanding about how R intends me to limit myself to portions of a
data.frame. I get the
2006 Sep 26
1
Building R for Windows with ATLAS
I think this is not a R-devel question. Sorry to all if I'm wrong,
please let me know.
I managed to build R successfully with the default BLAS but when I
change the MKRULES to use ATLAS BLAS and set the path to
"C:/cygwin/home/Administrador/ATLAS/lib/WinNT_ATHLONSSE2" I got the
following error message (I'm posting only the final part, there was a
lot of compilation before this):
1999 Oct 12
1
Compilation problem with R
Dear Sirs,
I try to compile the R ver 65.1 in my UNIX machine, but I have some
difficulties. In particular
running the ./configure I have the following results (I give only the
no, all the others are yes)
checking whether gcc needs -traditional... no
checking for g77... no
checking for sin in -lmoto... no
chechecking for main in -lhdf5... no
cking for main in -lncurses... no
checking for main
2006 May 18
1
Stuck in R installation, help~~
Hi all,
I'm stuck in the installation of R.
When I run configure, I got the error:
configure: error: --with-readline=yes (default) and headers/libs are
not available
I followed one answer in some post and use this:
./configure --with-prefix=/home/user/R-2.2.1 --with-readline=no
It successfully configured but I encountered another problem while make:
gcc -shared -L/usr/local/lib64 -o
2009 Mar 11
1
libf95.a: could not read symbols?
I'm sorry for having to post this, but I've run out of ideas. I've been
trying to build R-2.8.1 from source for installation on FreeBSD 6.4
(seems to be working fine on osx) and keep getting the same results,
regardless of how I set ./configure
$ ./configure --enable-R-shlib --with-x=no --with-blas FFLAGS="-fpic"
R is now configured for x86_64-unknown-freebsd6.0
Source
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:
2006 May 03
1
Installation problem
I am trying to install R-2.3.0 on a 64bit linux box and encounter
several error during the make step. I'd appreciate any help. Error
messages follow:
[root at calculon R-2.3.0]# make
make[4]: Entering directory
`/state/partition1/apps/packages/R-2.3.0/src/modules/lapack'
gcc -shared -L/usr/local/lib64 -o libRlapack.so dlamc.o dlapack0.o
dlapack1.o dlapack2.o dlapack3.o cmplx.o
2001 Oct 01
1
Graceful exit from fortran.
Is there a way to exit gracefully from dynamically loaded Fortran,
(several layers down), if an error condition is detected?
I.e. suppose I'm within a subroutine called by a subroutine, ...,
called by .Fortran(); I want to give up gracefully if an error
condition is detected.
If I say something like
if(x .gt. 42.d0) stop
then indeed everything stops, i.e. R falls over. I'd