search for: llapack

Displaying 20 results from an estimated 52 matches for "llapack".

Did you mean: lapack
2004 Jun 09
2
Building package on Windows: No rule to make target '-llapack'
Dear all, I have a problem to build a package on Windows XP while there is no problem on Linux. The Makefile is something like: ########### LIBNAME=cts PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) OBJS=file1.o ... file20.o -llapack -lblas $(LIBNAME)$(SHLIB_EXT): $(OBJS) $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) $(FLIBS) clean: @rm -f *.o *.$(SHLIB_EXT) realclean: clean ############# To build the package on Windows XP, I have followed the instructions to install tools/software required and it seems the ...
2019 Dec 31
2
lapack
Has anyone gotten lapack to work on centos 7? If so, how? Most recently, I installed lapace-devel and let yum bring in what it wanted. Whenever I try to link, I get a long list of undefined references ending with /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/liblapacke.so: undefined reference to `dgeevx_' [hennebry at localhost test]$ nm -D /usr/lib64/libblas.so | grep dge
2010 Feb 28
1
ubuntu hardy heron and lme4
...0.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 following: york at sasquatch:~$ /usr/bin/R CMD config LAPACK_LIBS the system responds: -llapack I'm not sure where to go from here. Is -llapack installed but R can't find it, eg, is there a faulty link somewhere?...
2010 Sep 15
2
lapack in R 2.11.1 (Ubuntu 10.04.1)
...tu'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 -Wl,-rpath,/home/matias/myRlibs/Rcpp/lib -llapack -lblas -lgfortran -lm -L/usr/lib/R/lib -lR /usr/bin/ld: cannot find -llapack I believe this means I don't have lapack available to link to. Does anybody know how I can fix this? I really only need to have RcppArmadillo running. I'm not a power user. I'm running: > versio...
2015 Jun 03
2
Problem with shared library and lapack under windows
...39;N'; ptr_TRANSA=&TRANSA; ptr_TRANSB=&TRANSB; double *ptr_ALPHA, ALPHA=1.0, *ptr_BETA, BETA=0.0; ptr_ALPHA=Α ptr_BETA=Β dgemm_(ptr_TRANSA, ptr_TRANSB, q, q, n, ptr_ALPHA, X, n, X, n, ptr_BETA, res, q); } In Ubuntu I have no problem in compiling: R CMD SHLIB -llapack myfile.c. However, under Windows the -llapack flag is not recognised and I am able to get the code compiled only if I build an R package with the suitable Makevars file options: PKG_LIBS=$(LAPACK_LIBS) $(FLIBS). Is there a way to get the .dll without resorting to build a package? Thanks in advance...
2004 May 31
1
Question about building library and BLAS
...So in addition to these subroutines, there are other Lapack and Blas subroutines involved. There is no problem to compile and run these files using g77, such as the following to create car: g77 -mieee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 car isamax.f, sgefa.f sgesl.f foo1.f ... foo20.f -llapack -lblas By doing this, the procedure does not use subroutines isamax.f, sgefa.f sgesl.f in BLAS, as expected. In fact, there are problems to use these subroutines in BLAS, for some reason. Now what I want is to build an R library. The Makefile is the following: LIBNAME=car PKG_LIBS = $(LAPACK_L...
2008 Jul 03
1
--enable-BLAS-shlib conflict with --with-lapack in configure?
.../intel/cmkl/8.1/lib/em64t -lmkl -lvml -lguide -lpthread" \ --with-lapack="-L/site/intel/cmkl/8.1/lib/em64t -lmkl_lapack64 -lmkl" \ --enable-R-shlib --enable-BLAS-shlib [...] checking for zgeev_ in -L/site/intel/cmkl/8.1/lib/em64t -lmkl_lapack64 -lmkl... no checking for zgeev_ in -llapack... no [...] External libraries: readline, BLAS(generic) Additional capabilities: PNG, JPEG, iconv, MBCS, NLS Options enabled: shared R library, shared BLAS, R profiling, Java >From config.log, it seems configure is trying to link with libRblas when testing for LAPACK --...
2009 Aug 16
1
Installing quantreg package under Ubuntu
...#39;quantreg') I get: gcc -std=gnu99 -shared -o quantreg.so akj.o boot.o brute.o chlfct.o cholesky.o combos.o crq.o crqfnb.o dsel05.o etime.o extract.o idmin.o iswap.o kuantile.o mcmb.o penalty.o powell.o rls.o rq0.o rq1.o rqbr.o rqfn.o rqfnb.o rqfnc.o sparskit2.o srqfn.o srqfnc.o srtpai.o -llapack -lblas -lgfortran -lm -lgfortran -lm -L/usr/lib/R/lib -lR /usr/bin/ld: cannot find -llapack > sessionInfo() R version 2.9.0 (2009-04-17) i486-pc-linux-gnu locale: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_U...
2010 Dec 06
2
Problemas instalando el paquete "ade4"
...gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c testrlq.c -o testrlq.o gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c tests.c -o tests.o gcc -std=gnu99 -shared -o ade4.so adesub.o divsub.o fourthcorner.o phylog.o testamova.o testdim.o testrlq.o tests.o -llapack -lblas -lgfortran -lm -L/usr/lib/R/lib -lR /usr/bin/ld: cannot find -llapack collect2: ld returned 1 exit status make: *** [ade4.so] Error 1 ERROR: compilation failed for package ''ade4'' * removing ''/home/buscoverdad/R/i486-pc-linux-gnu-library/2.10...
2010 Nov 14
1
LAPACK libraries improperly linked
...alling R version 2.12.0 (2010-10-15) in accordance with the instructions on the CRAN site. All went well until I started to install the additional packages I use and found multiple cases of (e.g. for lme4) of the following compilation error: gcc -shared -o lme4.so init.o lmer.o local_stubs.o -llapack -lf77blas -latlas -lgfortran -lm -L/usr/lib/R/lib -lR /usr/bin/ld: cannot find -lf77blas /usr/bin/ld: cannot find -latlas ---------BUT [ 48 ] <wow> (ron) /usr/bin/R CMD config LAPACK_LIBS -llapack ---------AND <wow> (ron) dpkg -l | grep lapack ii liblapack-dev...
2019 Dec 31
0
lapack
...000000000170c0 T dger_ > [hennebry at localhost test]$ > confirmes that the reference is not there. > > Installing blas or atlas first does not help. > When installing lapack-devel, yum always wants to install blas-devel. > > What do I need? > > > Are you also include -llapack ? cc -I /usr/include/lapacke source.c -llapacke -llapack
2009 Mar 26
0
Building R-alpha with ATLAS libraries?
...ure" is finding the ATLAS BLAS all right, but it is not finding the ATLAS LAPACK. The configure command string is ./configure --enable-threads --disable-R-profiling \ --with-blas="-L/usr/local/atlas/lib -lptf77blas -lpthread -latlas" \ --with-lapack="-L/usr/local/atlas/lib -llapack -lptcblas" \ --with-tcltk --with-cairo --with-libpng --with-jpeglib --with-x \ 2>&1 | tee ../R-alpha-config.log Here's what's in the "R-alpha-config.log" file when it gets to the library check part: checking for dgemm_ in -L/usr/local/atlas/lib -lptf77blas -lpthr...
2005 Sep 17
1
looks in liblapack.a not liblapack.so
I can't compile R-alpha on AMD 64. Rather than include a 1400 line script I have put it on the web http://www.stat.umn.edu/~charlie/typescript.txt way down near the bottom it fails building lapack.so gcc -shared -L/usr/local/lib64 -o lapack.so Lapack.lo -llapack -lblas -lg2c -lm -lgcc_s /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../lib64/liblapack.a(dgecon.i): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompil...
2008 Sep 10
0
Trouble compiling R with self-compiled LAPACK/ATLAS under Linux
...e and passed all of their checks (and yes, I did compile them all with -fPIC as is required for R). This was my initial configure line: ./configure --with-x --enable-threads=posix --with-blas="-L/usr/local/lib -lptf77blas -lptcblas -latlas -lpthread" --with-lapack="-L/usr/local/lib -llapack -lptf77blas -lptcblas -latlas -lpthread" --prefix=/usr/local ...this configure line was chosen by examining R-admin.pdf and ./configure --help. It configured fine, no problem. The trouble was when I attempt to make the package: ...a lot of stuff compiles correctly... gcc -std=gnu99 -shared...
2008 Dec 09
1
update.packages() for R 2.7.1: mgcv fails
...re/R/include -fpic -g -O2 -c mgcv.c -o mgcv.o gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c qp.c -o qp.o gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c tprs.c -o tprs.o gcc -std=gnu99 -shared -o mgcv.so gcv.o gdi.o init.o magic.o mat.o matrix.o mgcv.o qp.o tprs.o -llapack -lblas -lgfortran -lm -L/usr/lib/R/lib -lR /usr/bin/ld: cannot find -llapack collect2: ld returned 1 exit status make: *** [mgcv.so] Error 1 ERROR: compilation failed for package 'mgcv' ** Removing '/usr/lib/R/library/mgcv' ** Restoring previous '/usr/lib/R/library/mgcv' *...
2010 Nov 13
1
LAPACK lib problem, lme4, lastest R, Linux
...-fpic -std=gnu99 -O3 -pipe -g -c lmer.c -o lmer.o gcc -I/usr/share/R/include -I"/usr/lib/R/library/Matrix/include" -I"/usr/lib/R/library/stats/include" -fpic -std=gnu99 -O3 -pipe -g -c local_stubs.c -o local_stubs.o gcc -shared -o lme4.so init.o lmer.o local_stubs.o -llapack -lf77blas -latlas -lgfortran -lm -L/usr/lib/R/lib -lR /usr/bin/ld: cannot find -lf77blas /usr/bin/ld: cannot find -latlas collect2: ld returned 1 exit status make: *** [lme4.so] Error 1 ERROR: compilation failed for package lme4 * removing /usr/local/lib/R/site-library/lme4 ---------BUT [ 48 ] &l...
2009 Mar 21
2
How to change Rlapack by lapack (for rpy2 installation)?
...allation of rpy2 went fine on machine1, failed on machine2 with: python setup.py install /usr/bin/ld: cannot find -lRlapack collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 I think that the reason is that while on machine1 I get: R CMD config LAPACK_LIBS -llapack on machine2 I get R CMD config LAPACK_LIBS -L/usr/lib/R/lib -lRlapack Could someone tell me (or point me to a relevant link) what should I do in order to reconfigure R on machine2 so that it has the same liblapack settings than machine1 ? (I really don't remember having done anything differe...
2009 Jan 25
2
[LLVMdev] -O4 -fvisibility=hidden
...ined... llvm-gcc-4 -O4 -fvisibility=hidden -o xplor xplor.o \ \ -L. -lxplorCmd -lxplor -L/Users/howarth/xplor-nih-2.21/bin.Darwin_9_x86/ -lfft -lintVar -lvmd -lpy -lswigpy-xplor -ltclXplor -lswigtcl8-xplor -lnmrPot -lcommon -lmarvin \ -lcrypto -L/sw/lib/llvm-gcc-4.2/lib -lgfortran -llapack -lblas -L/Users/howarth/xplor-nih-2.21/bin.Darwin_9_x86/ \ Undefined symbols: "_xplorwrapproc_slave_", referenced from: llvm bitcode in xplor.o "_python_interp_", referenced from: llvm bitcode in xplor.o "_tcl_interp_", referenced from: l...
2007 May 13
1
Help understanding LAPACK symbol resolution
...CHECK_FUNC(zsysv_,, AC_MSG_ERROR([lapack needs zsysv_ in ${LAPACK_LIBS}])) and substituted LAPACK_LIBS into a Makevars.in file AC_SUBST(LAPACK_LIBS) AC_OUTPUT(src/Makevars) Makevars.in: PKG_LIBS=@LAPACK_LIBS@ I then install my package with R CMD INSTALL --clean --configure-args=--with-lapack=-llapack <pkg> or more generally R CMD INSTALL --clean \ --configure-args="--with-lapack='-L/usr/lib64 -llapack'" <pkg> This 'works', in the sense that the package compiles, loads, and apparently runs as expected. I'm concerned though about how lapack is being...
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 conigure --help gave options including the following SHLIB_LD command for linking shared libraries which contain object files from a C or Fortran...