search for: lacml

Displaying 20 results from an estimated 20 matches for "lacml".

Did you mean: acml
2009 Jun 26
1
can't use ATLAS or ACML | 2.9.0
So, tried again from scratch. Again, CentOS 5.3, which is essentially RHEL 5.3. ./configure --with-blas="-L/opt/acml4.3.0/gfortran64/lib -lacml" In config.log, get things like configure:37199: checking for dgemm_ in -L/opt/acml4.3.0/gfortran64/lib -lacml configure:37230: gcc -std=gnu99 -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib64 conftest.c -L/opt/acml4.3.0/gfortran64/lib -lacml -$ conftest.c: In function 'ma...
2005 Sep 06
1
Build R with AMD pgi compiled ACML library
Hi, Has anyone had any luck in using portland group compiler to build R(-devel) with AMD's pgi compiled ACML library? I've downloaded the packages and set LD_LIBRARY_PATH, and run configuration script as follow: % ./configure --prefix=/usr/local/R.pgcc --with-blas='-lacml' However, it failed to pick up double complex BLAS, checking for sgemm_ in -lacml... yes checking whether double complex BLAS can be used... no Can anyone advise me on how to fix this problem? Thank you in advance for your help! Sincerely, Jennifer
2006 Jul 24
1
R and ACML
...opt/acml3.5.0/gnu64... 4. need to fix up library path. Working in a bash shell, so LD_LIBRARY_PATH/opt/acml3.5.0/gnu64/lib export LD_LIBRARY_PATH Check env - everything seems fine - LD_LIBRARY_PATH is there, and correctly specified 5. cd to R source dir, and run ./configure --with-blas="-lacml" configure runs fine, except that ACML isn't built-in to R, based on the configure output: C compiler: gcc -g -02 -std=gnu99 Fortran 77 compiler: g77-g -02 C++ compiler: g++ -g -02 Fortran 90/95 compiler: g77 -g -02 Interfaces supported: X11 External libraries: readli...
2005 Dec 14
1
Building R-devel with ACML
...I downloaded version 3.0.0 64bit for gfortran (acml-3-0-0-gfortran-64bit.tgz) and copied the libraries to /usr/local/lib. When I configure R to build against the ACML library, how do I know if the library has been detected and will be used? I run 'configure' with the '--with-blas=-lacml' flag and am using gcc 4.0.2 (with gfortran) on FC4. Thanks, -roger -- Roger D. Peng | http://www.biostat.jhsph.edu/~rpeng/
2009 Jun 26
0
proper link to ACML blas | compiling 2.9.0
Normally, I do the following to configure R for compilation on my Opteron box with ACML installed: ./configure --with-tcltk --with-blas="-L/opt/acml4.3.0/gfortran64/lib -lacml" However, when I do so, and look at Makeconf, I see BLAS_LIBS = -lblas I thought I would see BLAS_LIBS = -L/opt/acml4.3.0/gfortran64/lib -lacml Why isn't Makeconf picking up the right BLAS_LIBS (or is it? does -lblas mean its finding the right blas?). I tried LD_LIBRARY_PATH=/opt/a...
2006 Jul 22
1
compile R with ACML support | RHEL 4
...nux (RHEL 4) on a multi-Opteron box, with ACML support. First, I downloaded and installed ACML 3.5 - GNU version, although I'm not entirely sure what the differences are - from the AMD website. The ACML libraries were installed to /opt/acml3.5.0/ Second, I ran ./configure --with-blas='-lacml' The configure went fine, except that at the end of the output, it reports that readline is the only external library configured. External libraries: readline OK, so next, I try ./configure --with-lapack Same think - only readline is referenced. So, clearly, I'm missing a parti...
2008 Jul 12
1
Error of exp() in a dll from Fortran
...when I use exp() in my Fortran code. My Fortran code is SUBROUTINE f(n,c) REAL, INTENT(IN) :: n(10) REAL, INTENT(OUT) :: c(10) INTEGER :: k DO k=1, 10 c(k) = exp( n(k) ) END DO END I compiled the fortran code as a dll Rcmd SHLIB -o f.dll f.f -L -lacml Then I loaded the dll file to R, and try some number > dyn.load("C:/Program Files/R/R-2.7.1/bin/code/f.dll") > .Fortran("f",as.real(c(1:10)),A=real(10)) [[1]] [1] 1 2 3 4 5 6 7 8 9 10 $A [1] 17066.21 58265.20 179948.41 390001.06 576529.12 0.00 0....
2006 Sep 28
1
unable to load lapack.so
Hi, I'm having problems using ACML with R. I made two changes in config.site by setting LDFLAGS="-L/opt/acml3.1.0/gnu64/lib" BLAS_LIBS="-lacml" ./config and make go through but when I try to use the lm() function, I get the error message Error in chol2inv(Qr$qr[p1, p1, drop = FALSE]) : lapack routines cannot be loaded In addition: Warning message: unable to load shared library '/usr/local/R-patched/modules//lapack.so...
2008 Jun 13
2
compiling 2.7.0 GNU/Linux | BLAS & Lapack query
...th. Here is the sequence I follow to do the config (which seemed to work perfectly before - note: using bash shell): 1. LD_LIBRARY_PATH=/opt/acml4.1.0/gfortran64/lib 2. export LD_LIBRARY_PATH 3. ./configure --with-lapack="-L/usr/lib64" --with-blas="L/opt/acml4.1.0/gfortran64/lib -lacml" However, when I try this, at the end of the config script I'm told Interfaces supported: X11 External libraries: readline Additional capabilites: PNG, JPEG, iconv, MBCS, NLS, cairo Options enabled: shared BLAS, R profiling, Java I'm pretty sure that rea...
2004 Mar 25
1
yet another fast BLAS (from AMD this time)
Dear R-devel, Has anyone played with this? http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_2282,00.html <http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_2282,00.html> . I'll probably give it a shot... Best, Andy Andy Liaw, PhD Biometrics Research PO Box 2000, RY33-300 Merck Research Labs Rahway, NJ 07065 mailto:andy_liaw@merck.com
2004 Oct 19
1
lapack test failed (PR#7294)
...it-Lapack-gcc combinations: > sm <- cbind(1, 3:1, 1:3) > eigenok(sm, eigen(sm)) Error: abs(A %*% V - V %*% diag(lam)) < Eps is not TRUE Execution halted So this seems to be one of the combination of 64bit and gcc which leads to failures. Using the configure option: --with-lapack="-lacml" results in the same error. I am not sure wether the build uses the acml (Version 1.5) or not. Using pgf77 instead of g77 results in problems building R. (Missing function definitions or invalid compiler options (fpic)) If there is a way to overcome this problem please let me know. Thanks in a...
2007 Nov 26
1
Problem with configure's detection of glob on 2.6.0 (PR#10468)
...ort CXXFLAGS="-Mvect=sse -Mscalarsse -Mcache_align -O2 -Kieee" export FC=pgf95 export FCFLAGS="-Mvect=sse -Mscalarsse -Mcache_align -O2 -Kieee" export SHLIB_CXXLDFLAGS=-shared export SHLIB_LDFLAGS=-shared ./configure --prefix=/usr/local/packages/R-2.6.0-acml \ --with-blas="-lacml" --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib64
2009 Jun 26
1
problems compiling for RHEL 5.3 x86_64
...ported. Since I do a lot of 'linear algebra'-heavy things with R, I had compiled R 2.9.0 against the ACML blas. ACML contains lapack, so I killed two birds with one stone. Generally, I would do a configure with ./configure --with-tcltk --with-blas="-L/opt/acml4.3.0/gfortran64/lib -lacml" Worked perfectly. Led to 10-20x speedup in certain calculations. Things haven't been so good since moving to CentOS. The install of the OS went fine, but I can't for the life of me figure out how to compile R against blas - ACML-variety or otherwise. Moreover, putting in --with-...
2009 Apr 30
1
[Fwd: problems installing rjags | tcltk]
...CPPFLAGS='' TCLTK_LIBS='' TCL_CONFIG='' So, it seems as if my self-rolled R isn't TCLTK 'aware'. Is simply adding --with-tcltk to my configure call (i.e., ./configure --with-lapack="-L/usr/lib64" --with-blas="-L/opt/acml4.2.0/gfortran64/lib -lacml" --with-tcltk the solution? I figure worth asking before I literally 'start over'. I see from the manual for linux installs there may be some issues with playing nice if both 32- and 64-bit versions of Tcl/Tk are installed. -------- Original Message -------- Subject: [Rd] proble...
2006 Mar 09
1
R2.2.1-patched build failed with PGI 6.1 on x86-64
...FFLAGS="-Kieee"\ FPICFLAGS=-fpic \ CXX=pgCC \ CXXFLAGS="-Kieee"\ CXXPICFLAGS=-fpic \ SHLIB_CXXLDFLAGS=-shared \ SHLIB_LDFLAGS=-shared \ LDFLAGS="-L$PG_HOME/libso -L/usr/lib64" \ --with-blas="-L/usr/pgi/linux86-64/6.1/libso -lacml" (Note that pgcc no longer recognize -mieee-fp, so I changed to -Kieee instead, and had to manually remove -mieee-fp in the resulting Makeconf and config.status.) I'd very much appreciate any pointer as to how to proceed... Best, Andy Andy Liaw, PhD Biometrics Research PO Box 2000...
2006 Mar 10
2
problem building R-patched on x86-64 with PGI 6.1
...ic \ CXX=pgCC \ CXXFLAGS="-g -Kieee" \ CXXPICFLAGS=-fpic \ SHLIB_CXXLDFLAGS=-shared \ SHLIB_LDFLAGS=-shared \ LDFLAGS="-L$PG_HOME/libso -L/usr/lib64 -L/usr/X11R6/lib64" \ --without-tcltk \ --with-blas="-L/usr/pgi/linux86-64/6.1/libso -lacml" [The pgf95 (or pgf90) is needed for linking against ACML to work. This should be unrelated as optim is in C.] I'd very much appreciate any pointers. Best, Andy Andy Liaw, PhD Biometrics Research PO Box 2000 RY33-300 Merck Research Labs Rahway, NJ 07065 andy_liaw(a)merck.co...
2010 Aug 06
0
Problems using external BLAS
I have problems building R 2.11.1 with an external BLAS. I've tried several with several libraries: # ACML: export LD_LIBRARY_PATH=/site/VERSIONS/acml-3.6.0/gfortran64_int64/lib BLAS=--with-blas="-L/site/VERSIONS/acml-3.6.0/gfortran64_int64/lib -lacml" LAPACK=--with-lapack # MKL 11: BLAS=--with-blas="-L/site/VERSIONS/intel-11.1/mkl/lib/em64t -lmkl_gf_lp64 -lmkl_sequential -lmkl_lapack -lmkl_core" LAPACK=--with-lapack # MKL 8.1, trad. way: BLAS=--with-blas="-L/site/intel/cmkl/8.1/lib/em64t -lmkl -lvml -lguide -lpthread"...
2005 Oct 12
0
additional comments on building R with PGI compiler
Hi, I have additional comments on building R with PGI compiler. If one wants to use external BLAS library, then pgf90 instead of pgf77 should be used, and BLAS_LIBS flags should be set. e.g. F77 = $PG_HOME/bin/pgf90 BLAS_LIBS='-L/opt/acml2.7.0/pgi64/ -lacml' # for ACML library BLAS_LIBS='-L/usr/lib64 -lg2c -lblas' # for generic BLAS library that comes with OS distribution. Regards, Jennifer
2007 Aug 24
2
config error during 2.5.1 compile
...sons (mostly due to ACML upgrade), I tried a recompile using the following sequence of commands (note I'm compiling in ACML support for blas): LD_LIBRARY_PATH=/opt/acml3.6.1/gfortran64/lib export LD_LIBRARY_PATH ./configure --with-lapack --with-blas="-L/opt/acml3.6.0/gfortran64/lib -lacml" This is exactly the same steps I took successfully many times before, but now, when I run the config, it terminates with the following error message: config.status: error: cannot find input file: doc/manual/Makefile.in Now, this puzzles me since doc/manual/Makefile.in is most definitel...
2007 Feb 07
2
problems installing R on Linux
...xec/R: relocation error: /usr/local/lib/R/lib/libRlapack.so: undefined symbol: s_copy # thrown out of R .... I was using R version 2.4.0, so I decided to upgrade to 2.4.1 (on i686-pc-linux-gnu) and to try various configuration options : default, '--with -lapack' and '--with-blas="lacml"', as described in "appendix A of the Installation and Admin" manual. Everytime I configure and make, the message streams seem clean. But the 'make check' is always a disaster (see below), and if I make install regardless of the make check errors, I get the same "re...