Package Details: atlas-lapack 3.10.3-7

Git Clone URL: (read-only, click to copy)
Package Base: atlas-lapack
Description: Automatically Tuned Linear Algebra Software
Upstream URL:
Licenses: BSD, custom:lapack
Provides: atlas-lapack-base, blas, cblas, lapack
Submitter: ilpianista
Maintainer: a.kudelin
Last Packager: a.kudelin
Votes: 92
Popularity: 0.001240
First Submitted: 2008-04-24 01:36 (UTC)
Last Updated: 2022-04-21 19:51 (UTC)

Required by (413)

Sources (4)

Latest Comments

1 2 3 4 5 6 .. 16 Next › Last »

frazar0 commented on 2023-02-24 09:03 (UTC)

I was getting an error of the form

$ ../configure --prefix=/usr --shared --with-netlib-lapack-tarfile=~/atlas/lapack-3.11.0.tar.gz
make: 'xconfig' is up to date.
./xconfig -d s /home/frazar/atlas/src/ATLAS/build/../ -d b /home/frazar/atlas/src/ATLAS/build  -D c -DATL_DYLIBS -Si lapackref 1

Bad OS value=0, res='�'

This appears due to the "xconfig" binary internally piping "fgrep" output to a temporary file and stumbling on the recently-introduced obsolence warning

fgrep: warning: fgrep is obsolescent; using grep -F

Fixed by commenting the warning line in /usr/bin/fgrep.

ColonelThirtyTwo commented on 2022-05-25 20:12 (UTC)

The throttle check attempts to read from /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq, which has 0200 permissions, so it will never pass.

Here's a dumb patch to fix it.

--- a/CONFIG/src/backend/archinfo_linux.c   2016-07-28 15:43:01.000000000 -0400
+++ b/CONFIG/src/backend/archinfo_linux.c   2022-05-25 16:01:07.285107438 -0400
@@ -562,9 +562,9 @@
       res = atlsys_1L(NULL,
             "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", 0, 0);
-      if (icur < imax)
-         iret = 1;
-      else if (!strstr(res, "performance") && imin < imax)
+//      if (icur < imax)
+//         iret = 1;
+      /*else*/ if (!strstr(res, "performance") && imin < imax)
          iret = 1;

Marcello commented on 2022-04-20 16:22 (UTC) (edited on 2022-04-20 16:30 (UTC) by Marcello)


both for marcello

and for bug-reaper

For the library to compile you need not only two fix the blas/C/testing/ directory as described in File: gfortran-10.patch but also fix the two equivalent files in blas/F77/ , in such way that you have:

[ATLAS3.10.3]$ grep -rnF ",STEMP,"

src/blas/f77reference/srotmg.f:55: + SQ2,STEMP,SU,TWO,ZERO

interfaces/blas/C/testing/c_dblat1.f:250: CALL STEST1(DNRM2TEST(N,SX,INCX),STEMP(1),STEMP,SFAC)

interfaces/blas/C/testing/c_dblat1.f:254: CALL STEST1(DASUMTEST(N,SX,INCX),STEMP(1),STEMP,SFAC)

interfaces/blas/C/testing/c_sblat1.f:250: CALL STEST1(SNRM2TEST(N,SX,INCX),STEMP(1),STEMP,SFAC)

interfaces/blas/C/testing/c_sblat1.f:254: CALL STEST1(SASUMTEST(N,SX,INCX),STEMP(1),STEMP,SFAC)

interfaces/blas/F77/testing/dblat1.f:313: CALL STEST1(DNRM2(N,SX,INCX),STEMP(1),STEMP,SFAC)

interfaces/blas/F77/testing/dblat1.f:317: CALL STEST1(DASUM(N,SX,INCX),STEMP(1),STEMP,SFAC)

interfaces/blas/F77/testing/sblat1.f:313: CALL STEST1(SNRM2(N,SX,INCX),STEMP(1),STEMP,SFAC)

interfaces/blas/F77/testing/sblat1.f:317: CALL STEST1(SASUM(N,SX,INCX),STEMP(1),STEMP,SFAC)

Important: you also need to restart clean and build, otherwise you still get a segmentation fault error.

Marcello commented on 2022-03-28 12:08 (UTC) (edited on 2022-03-28 12:20 (UTC) by Marcello)

I had failure during make check similarly to what bug-reaper reports:

Has something to do with newer gcc/gcc-libs/gcc-fortran. I downgraded to 8.3 for each and it installed no problem. Not sure how you would handle this in a PKGBUILD

I essentially did what I reported in

$ git clone

$ makepkg -si

$ export CC="/usr/bin/gcc-9"

$ export CXX="/usr/bin/g++-9"

$ yay atlas-lapack

when I thought it would have been enough to go back to gcc9

but then it fails again with the same error

The reason could be this. The log shows that the exports had no effect, because it uses:


while alongside on the same dir there's also


which is what I probably need, and other versions.

What should I do?

Should I also avoid yay and follow instructions like in the section 'Configuring, building and installing' of ?

a.kudelin commented on 2022-01-30 19:02 (UTC)

@Marcello, uninstall them all then install back starting with atlas-lapack.

Marcello commented on 2022-01-20 12:46 (UTC) (edited on 2022-01-20 16:20 (UTC) by Marcello)


I have exactly the same problem as jbe456 describes

but I cannot uninstall lapack because of the dependency chain I have

blas -> lapack -> suitesparse -> gegl -> gimp, libmypaint

What's the best way to go around this?

I'm stuck.

CyberShadow commented on 2021-07-02 14:07 (UTC) (edited on 2021-07-02 14:07 (UTC) by CyberShadow)

How to disable frequency scaling on AMD CPUs? I tried echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor but that doesn't seem to be enough for this package.

a.kudelin commented on 2021-05-05 15:34 (UTC)

@bazza, the option --cripple-atlas-performance leads to unoptimized binaries, it's better to disable CPU throttling while building ATLAS.

bazza commented on 2021-05-05 13:28 (UTC)

   ./configure --prefix=/usr \
                --shared \
                --with-netlib-lapack-tarfile="$srcdir/lapack-$_lapackver.tar.gz" \
                --cripple-atlas-performance # add this

zjhzxhz commented on 2020-08-02 12:24 (UTC) (edited on 2020-08-02 12:24 (UTC) by zjhzxhz)

I got an error message saying "gcc: error: unrecognized command-line option ‘-V’" when building from AUR.

Full logs are attached below.

Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl= --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.1.0 (GCC) 
/usr/bin/gcc -V 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
gcc: error: unrecognized command-line option ‘-V’
gcc: fatal error: no input files
compilation terminated.
make[4]: [ error_report] Error 1 (ignored)
/usr/bin/gcc --version 2>&1  >> bin/INSTALL_LOG/ERROR.LOG