Displaying 20 results from an estimated 2000 matches similar to: "Building package on Windows: No rule to make target '-llapack'"
2004 May 31
1
Question about building library and BLAS
Dear helpers,
I am trying to create a library which uses some Fortran source files and Lapack and Blas
subroutines. The Fortran source files from the original author contain subroutines
isamax.f, sgefa.f and sgesl.f, which are part of BLAS subroutines on my Linux computer,
but maybe different (old) versions. So in addition to these subroutines, there are other
Lapack and Blas subroutines
2015 Jun 03
2
Problem with shared library and lapack under windows
Hi all,
I have a C function, say Cfun, that calls Lapack's DGEMM routine and I need
to create a shared library to use Cfun inside R. The C file is the following
#include<stdio.h>
#include<R.h>
#include<R_ext/Lapack.h>
void Cfun(double *res, double *X, int *n, int *q)
{
char *ptr_TRANSA, TRANSA='T', *ptr_TRANSB, TRANSB='N';
ptr_TRANSA=&TRANSA;
2009 Mar 21
2
How to change Rlapack by lapack (for rpy2 installation)?
(I asked an earlier question on the rpy2 installation
to the rpy2 list, the solution there was to
edit the setup.py script, but this looks beyond what I can do unless
someone tells me exactly what to modify).
I have R 2.8.1 on 2 machines running ubuntu 8.04
(packages R-base and R-base-dev, among others, installed using Synaptic)
and while the installation
of rpy2 went fine on machine1, failed on
2009 Jul 23
1
problem building R 2.9.1 from source on RHEL 4 (x86_64)
I am building from source on RHEL 4 and have run into a
problem while running "make check":
running code in 'lapack.R' ...make[3]: *** [lapack.Rout] Error 1
make[3]: Leaving directory `/opt/R/R-2.9.1/tests'
make[2]: *** [test-Specific] Error 2
make[2]: Leaving directory `/opt/R/R-2.9.1/tests'
make[1]: *** [test-all-basics] Error 1
make[1]: Leaving
2015 Sep 03
1
Doubts on incremental backup and command repetition
Hi,
I am trying to use rsync for incremental backup and I am facing some issues. I would like to ask your help to understand what is going on and have the proper command line.
1) my goal is
I the following folders:
./dest:
file3.txt
./orig:
file1.txt file10.txt file2.txt file20.txt
And I would like to have as incremental backup
./dest:
backup file1.txt file2.txt file3.txt
2007 May 13
1
Help understanding LAPACK symbol resolution
R developers,
I am trying to understand how symbols are resolved, so that I can
configure a package that I contributed to, and so that I can provide
guidance to (linux / OSX) users of the package. To be concrete, my
package uses the LAPACK Fortran symbol zsysv. This is not in
libRlapack, but is defined on my system in the library
/usr/lib64/liblapack.so.
* I suspect that the reason the symbol is
2009 Oct 29
2
Makevars, cc files in multiple directories
Hello,
In the src folder of my R package I have
a.cc
b.cc
f/g/x.cc
my Makevars.in has
all: $(SHLIB)
upon installing only, a.o and b.o is build and the final dll is
comprised of a.o and b.o
How can I instruct $(SHLIB) to pick up its source files from all
subdirectories (or maybe a subset, though here it will be all)
in src ?
Much thanks
Saptarshi
2010 Jul 12
2
R-2.11.1 build and 'so' libraries withouth the 'lib' prefix
Greetings,
I have a computer with the following setup:
1)cblfs (pure 64-bit (amd64) linux), kernel2.6.34 gcc4.4.2
2)R-2.11.1
I compiled R with BLAS and lapack using the switched ( --with-blas="-
lpthread -latlas -lfptf77blas"
--with-lapack="-llapack -lcblas" ).
(( http://cran.r-project.org/doc/manuals/R-admin.html#Linear-algebra) )
Prior to compiling R-2.11.1
sh
2020 Oct 08
1
Installing package fails at "testing if installed package can be loaded from temporary location"
Dirk, thank you a thousand times.
Indeed, src/Makevars was wrong. I modified Makevars so that now looks like
the below and the package now compiled and linked properly.
CXX_STD = CXX11
PKG_LIBS += $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
$(shell ${R_HOME}/bin/Rscript -e "RcppParallel::RcppParallelLibs()")
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) -I../inst/include
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
Hi,
I have built a library that consists of a piece of C code and some R
functions.
To build it into a library that I can load using library() command, I
have followed "Writing R Extensions"
and made sub-directories such as mylib/R and mylib/src. But when I run R
CMD INSTALL mylib, nothing seems to
be happening with src directory, i.e., no C compiling. I have probably
missed
some key
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
Hi,
I have built a library that consists of a piece of C code and some R
functions.
To build it into a library that I can load using library() command, I
have followed "Writing R Extensions"
and made sub-directories such as mylib/R and mylib/src. But when I run R
CMD INSTALL mylib, nothing seems to
be happening with src directory, i.e., no C compiling. I have probably
missed
some key
2006 May 01
6
R-2.3.0 make error
Dear list,
When compiling the R-2.3.0 on FC4 x86_64, I got the following errors:
make[3]: Entering directory
`/project/scratch3/ligroup/wuming/src/R-2.3.0/src/main'
gcc -Wl,--export-dynamic -L/usr/local/lib64 -o R.bin Rmain.o
CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o
arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o
character.o coerce.o colors.o complex.o
2010 Feb 28
1
ubuntu hardy heron and lme4
I have R version 2.10.1 (2009-12-14) installed on Ubuntu HH (version 8.04)
I installed lme4 from the Ubuntu respository. When I executed the library(lme4)
command, R responds that lme4.so was not found.
I then uninstalled lme4 and tried again from cran. When the program tried to
compile, there was a message that -llapack could not be found, so the package
failed to install.
If I execute the
2009 Jan 13
2
Using fortran code which call LAPACK subroutines
Hello
I'm trying to run a fortran code which use LAPACK subroutines. I think I
should use some points shown in the manual 5.5 Creating shared objects
but it is too technical for me :-(... Could anyone help me for the
procedure to do:
-which part of the manual is relevant for this type of question?
actually I'm speaking from writing R extensions, should I read R admin?
-point 1.2
2014 Sep 26
1
Why is my R package still compiling with the O2 flag?
When I install an R package with cpp codes such as rrcov via CRAN (under
R 3.1.1, using no Makevars file and under Ubuntu 14.04 using GCC 4.8),
the cpp code is compiled with the -o3 flag (in fact, looking at the
Makeconf file this seem to again be the default since R 3.1.1) But when
I install my own package via CRAN it is compiled with the -o2 flag.
My questions are what is causing my
2012 Feb 01
1
Makefile to compile .so in src (was: Re: automated libR location)
Prof Brian Ripley wrote:
> 'library' in R has a different meaning: I've altered the subject to be
> more accurate 'libR'.
>
> This is what R CMD SHLIB is for: it does all this for you in a portable way.
>
> But if you want to DIY, you can use R CMD config to find out the
> appropriate linker incantation.
Thank you for the clarification. I do not insist on
2010 Sep 15
2
lapack in R 2.11.1 (Ubuntu 10.04.1)
Hi there,
I'm trying to install the package RcppArmadillo in my R 2.11.1 which I installed
and regularly update via Ubuntu's repositories.
When I try to install RcppArmadillo from CRAN I get:
> install.packages('RcppArmadillo', lib='~/myRlibs')
[...]
g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o
-L/home/matias/myRlibs/Rcpp/lib -lRcpp
2006 Sep 20
1
alpha, portable use
When I build one of my packages with alpha from yesterday I am getting
* checking for portable use of $BLAS_LIBS ... WARNING
apparently missing $(FLIBS) in 'PKG_LIBS=$(LAPACK_LIBS) $(BLAS_LIBS)'
Is this something I should worry about? (Possibly I got this before and
didn't notice.)
Paul Gilbert
====================================================================================
2007 May 29
1
LAPACK and BLAS libraries
Hi,
I don't know if I'm sending this to the right place but I've looked throught
tens and tens of topics on http://tolstoy.newcastle.edu.au/ and finally
found that email address where I can maybe find some help.
Well my main goal is to get to use the lapack library within my R package
(which can be done using calls from C). But in order to do this I have to
create a file src/Makevars
2007 May 29
1
LAPACK and BLAS libraries
Hi,
I don't know if I'm sending this to the right place but I've looked throught
tens and tens of topics on http://tolstoy.newcastle.edu.au/ and finally
found that email address where I can maybe find some help.
Well my main goal is to get to use the lapack library within my R package
(which can be done using calls from C). But in order to do this I have to
create a file src/Makevars