Date: Thu, 11 Nov 2021 02:33:19 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 257400] science/py-scipy Add OPTION for Atlas blas Message-ID: <bug-257400-21822-H58pNw8bT1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-257400-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-257400-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257400 alt2600@icloud.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #226789|0 |1 is obsolete| | --- Comment #10 from alt2600@icloud.com --- Created attachment 229421 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229421&action= =3Dedit git-diff-scipy-add-atlas-rev2.diff updated add ATLAS support patch for py-scipy 1.7.1 confirmed builds under OPENBLAS default fine to match existing behavior as well as under ATLAS.=20 Uses same method math/py-numpy utilizes to allow atlas support.=20 =3D=3D=3D=3D=3D OPENBLAS configure snippet FOUND: libraries =3D ['openblas', 'blas', 'openblas', 'blas'] library_dirs =3D ['/usr/local/lib'] language =3D c define_macros =3D [('HAVE_CBLAS', None)] FOUND: libraries =3D ['openblas', 'blas', 'openblas', 'blas'] library_dirs =3D ['/usr/local/lib'] language =3D c define_macros =3D [('HAVE_CBLAS', None)] blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/usr/lib', '/usr/local/lib', '/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../'] NOT AVAILABLE blis_info: libraries blis not found in ['/usr/lib', '/usr/local/lib', '/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../'] NOT AVAILABLE openblas_info: C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -= O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -fPIC creating /tmp/tmpwb0b8251/tmp creating /tmp/tmpwb0b8251/tmp/tmpwb0b8251 compile options: '-c' cc: /tmp/tmpwb0b8251/source.c cc /tmp/tmpwb0b8251/tmp/tmpwb0b8251/source.o -L/usr/local/lib -lopenblas -l= blas -o /tmp/tmpwb0b8251/a.out FOUND: libraries =3D ['openblas', 'blas', 'openblas', 'blas'] library_dirs =3D ['/usr/local/lib'] language =3D c define_macros =3D [('HAVE_CBLAS', None)] FOUND: libraries =3D ['openblas', 'blas', 'openblas', 'blas'] library_dirs =3D ['/usr/local/lib'] language =3D c define_macros =3D [('HAVE_CBLAS', None)] =3D=3D=3D=3D=3D OPENBLAS check orphans =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) =3D=3D=3D> Parsing plist =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR =3D=3D=3D> No pkg-plist issues found (check-plist) =3D=3D=3D=3D=3D OPENBLAS install =3D=3D=3D> Installing for py38-scipy-1.7.1 =3D=3D=3D> Checking if py38-scipy is already installed =3D=3D=3D> Registering installation for py38-scipy-1.7.1 Installing py38-scipy-1.7.1... =3D=3D=3D=3D=3D OPENBLAS pkg info -d py38-scipy py38-scipy-1.7.1: py38-numpy-1.20.3,1 openblas-0.3.18,1 blas-3.10.0 python38-3.8.12_1 gcc10-10.3.0 py38-setuptools-57.0.0 =3D=3D=3D=3D=3D ATLAS configure snippet=20=20=20=20 atlas_3_10_threads_info: Setting PTATLAS=3DATLAS libraries lapack_atlas not found in /usr/lib libraries ptf77blas,ptcblas not found in /usr/lib libraries lapack_atlas not found in /usr/local/lib <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> Setting PTATLAS=3DATLAS get_default_fcompiler: matching types: '['gnu', 'gnu95']' customize GnuFCompiler Found executable /usr/local/bin/gfortran10 gnu: no Fortran 90 compiler found Could not locate executable cc -shared Found executable /usr/local/bin/ld Found executable /usr/local/bin/ar Found executable /usr/local/bin/ranlib gnu: no Fortran 90 compiler found customize Gnu95FCompiler customize Gnu95FCompiler customize Gnu95FCompiler using config compiling '_configtest.c': /* This file is generated from numpy/distutils/system_info.py */ void ATL_buildinfo(void); int main(void) { ATL_buildinfo(); return 0; } C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -= O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -fPIC compile options: '-c' cc: _configtest.c cc _configtest.o -L/usr/local/lib -lptf77blas -lptcblas -o _configtest ld: error: undefined symbol: ATL_buildinfo >>> referenced by _configtest.c >>> _configtest.o:(main) cc: error: linker command failed with exit code 1 (use -v to see invocation) failure. removing: _configtest.c _configtest.o _configtest.o.d Status: 255 Output: compiling '_configtest.c': /* This file is generated from numpy/distutils/system_info.py */ void ATL_buildinfo(void); int main(void) { ATL_buildinfo(); return 0; } C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -= O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -fPIC compile options: '-c' cc: _configtest.c cc _configtest.o -L/usr/local/lib -lptf77blas -lptcblas -o _configtest Setting PTATLAS=3DATLAS Setting PTATLAS=3DATLAS Setting PTATLAS=3DATLAS libraries tatlas not found in ['/usr/lib', '/usr/local/lib', '/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../'] Library tatlas was not found. Ignoring FOUND: include_dirs =3D ['/usr/local/include'] language =3D f77 libraries =3D ['alapack', 'ptf77blas', 'ptcblas'] library_dirs =3D ['/usr/local/lib'] FOUND: include_dirs =3D ['/usr/local/include'] language =3D f77 libraries =3D ['alapack', 'ptf77blas', 'ptcblas'] library_dirs =3D ['/usr/local/lib'] blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/usr/lib', '/usr/local/lib', '/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../'] NOT AVAILABLE blis_info: libraries blis not found in ['/usr/lib', '/usr/local/lib', '/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../'] NOT AVAILABLE openblas_info: libraries openblas not found in ['/usr/lib', '/usr/local/lib', '/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../'] NOT AVAILABLE atlas_3_10_blas_threads_info: Setting PTATLAS=3DATLAS libraries tatlas not found in ['/usr/lib', '/usr/local/lib', '/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../'] NOT AVAILABLE atlas_3_10_blas_info: libraries satlas not found in ['/usr/lib', '/usr/local/lib', '/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../'] NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=3DATLAS Setting PTATLAS=3DATLAS Setting PTATLAS=3DATLAS Setting PTATLAS=3DATLAS Setting PTATLAS=3DATLAS FOUND: include_dirs =3D ['/usr/local/include'] language =3D c define_macros =3D [('HAVE_CBLAS', None)] libraries =3D ['ptf77blas', 'ptcblas', 'ptf77blas', 'ptcblas'] library_dirs =3D ['/usr/local/lib'] FOUND: include_dirs =3D ['/usr/local/include'] language =3D c define_macros =3D [('HAVE_CBLAS', None)] libraries =3D ['ptf77blas', 'ptcblas', 'ptf77blas', 'ptcblas'] library_dirs =3D ['/usr/local/lib'] =3D=3D=3D=3D=3D ATLAS check orphans =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) =3D=3D=3D> Parsing plist =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR =3D=3D=3D> No pkg-plist issues found (check-plist) =3D=3D=3D=3D=3D ATLAS install =3D=3D=3D> Installing for py38-scipy-1.7.1 =3D=3D=3D> Checking if py38-scipy is already installed =3D=3D=3D> Registering installation for py38-scipy-1.7.1 Installing py38-scipy-1.7.1... =3D=3D=3D=3D=3D ATLAS pkg info -d py38-scipy py38-scipy-1.7.1: py38-numpy-1.20.3,1 atlas-math-3.8.4_18,1 python38-3.8.12_1 gcc10-10.3.0 py38-setuptools-57.0.0 --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257400-21822-H58pNw8bT1>