Re: py26-numpy with veclib
On 21.10.2009, at 23:39, Robin wrote: Hi, Is it possible to build py26-numpy against veclib with macports? It does for me: /opt/local/bin/python2.6 Python 2.6.3 (r263:75183, Oct 17 2009, 11:35:55) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type help, copyright, credits or license for more information. import numpy numpy.show_config() lapack_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-faltivec'] define_macros = [('NO_ATLAS_INFO', 3)] blas_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/ vecLib.framework/Headers'] define_macros = [('NO_ATLAS_INFO', 3)] This is actually for the default variants… Then, however, the question is why it used -faltivec instead of -msse3 or such on my Mac Pro (x86_64)... Greetings, Jochen -- Einigkeit und Recht und Freiheithttp://www.Jochen-Kuepper.de Liberté, Égalité, FraternitéGnuPG key: CC1B0B4D Sex, drugs and rock-n-roll ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: py26-numpy with veclib
On Thu, Oct 22, 2009 at 8:55 AM, Jochen Küpper kuepper.joc...@googlemail.com wrote: On 21.10.2009, at 23:39, Robin wrote: Hi, Is it possible to build py26-numpy against veclib with macports? It does for me: This is actually for the default variants… Ah, thanks. I wonder why it doesn't for me. I am using up to date macports with snow leopard. For me the default variants leads to being built with atlas. If I specify no_atlas variant then I get the no external blas shown earlier. I wonder if something has changed recently to stop building against veclib. Shall I open a ticket? In [4]: numpy.show_config() atlas_threads_info: libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas'] library_dirs = ['/opt/local/lib'] language = f77 include_dirs = ['/opt/local/include'] blas_opt_info: libraries = ['ptf77blas', 'ptcblas', 'atlas'] library_dirs = ['/opt/local/lib'] define_macros = [('ATLAS_INFO', '\\3.8.3\\')] language = c include_dirs = ['/opt/local/include'] atlas_blas_threads_info: libraries = ['ptf77blas', 'ptcblas', 'atlas'] library_dirs = ['/opt/local/lib'] language = c include_dirs = ['/opt/local/include'] lapack_opt_info: libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas'] library_dirs = ['/opt/local/lib'] define_macros = [('ATLAS_INFO', '\\3.8.3\\')] language = f77 include_dirs = ['/opt/local/include'] lapack_mkl_info: NOT AVAILABLE blas_mkl_info: NOT AVAILABLE mkl_info: NOT AVAILABLE ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: py26-numpy with veclib
On 22.10.2009, at 12:38, Robin wrote: On Thu, Oct 22, 2009 at 8:55 AM, Jochen Küpper kuepper.joc...@googlemail.com wrote: On 21.10.2009, at 23:39, Robin wrote: Hi, Is it possible to build py26-numpy against veclib with macports? It does for me: This is actually for the default variants… Ah, thanks. I wonder why it doesn't for me. I am using up to date macports with snow leopard. Me too For me the default variants leads to being built with atlas. If I specify no_atlas variant then I get the no external blas shown earlier. Actually, I don't have ATLAS installed, so that's the difference... I wonder if something has changed recently to stop building against veclib. Shall I open a ticket? yes In [4]: numpy.show_config() atlas_threads_info: libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas'] library_dirs = ['/opt/local/lib'] language = f77 include_dirs = ['/opt/local/include'] blas_opt_info: libraries = ['ptf77blas', 'ptcblas', 'atlas'] library_dirs = ['/opt/local/lib'] define_macros = [('ATLAS_INFO', '\\3.8.3\\')] language = c include_dirs = ['/opt/local/include'] atlas_blas_threads_info: libraries = ['ptf77blas', 'ptcblas', 'atlas'] library_dirs = ['/opt/local/lib'] language = c include_dirs = ['/opt/local/include'] lapack_opt_info: libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas'] library_dirs = ['/opt/local/lib'] define_macros = [('ATLAS_INFO', '\\3.8.3\\')] language = f77 include_dirs = ['/opt/local/include'] lapack_mkl_info: NOT AVAILABLE blas_mkl_info: NOT AVAILABLE mkl_info: NOT AVAILABLE ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: py26-numpy with veclib
On 22.10.2009, at 13:51, Robin wrote: On Thu, Oct 22, 2009 at 12:09 PM, Jochen Küpper kuepper.joc...@googlemail.com wrote: On 22.10.2009, at 12:38, Robin wrote: On Thu, Oct 22, 2009 at 8:55 AM, Jochen Küpper kuepper.joc...@googlemail.com wrote: Actually, I don't have ATLAS installed, so that's the difference... I don't think so - I can't build +no_atlas with atlas installed - if its there it gets used regardless of the variant : http://trac.macports.org/ticket/22201 So when I build +no_atlas without atlas installed I get no external blas (not veclib) http://trac.macports.org/ticket/22200 I don't know what to do to get veclib… What do you get if you have no ATLAS around and do not specify any variant? Do you have the latest XCode updates? /Jochen ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: py26-numpy with veclib
On Thu, Oct 22, 2009 at 1:03 PM, Jochen Küpper kuepper.joc...@googlemail.com wrote: What do you get if you have no ATLAS around and do not specify any variant? Atlas gets installed as a dependency if I don't specify any variant. Do you have the latest XCode updates? I have xcode 3.2, core: 1608 Cheers Robin ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: py26-numpy with veclib
Hi, Is it possible to build py26-numpy against veclib with macports? If linked against veclib the output should look like this: numpy.show_config() lapack_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3'] define_macros = [('NO_ATLAS_INFO', 3)] blas_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers'] define_macros = [('NO_ATLAS_INFO', 3)] My config shows this: Python 2.6.3 (r263:75183, Oct 13 2009, 08:46:50) [GCC 4.2.1 (Based on Apple Inc. build 5646) (LLVM build 2118)] on darwin Type help, copyright, credits or license for more information. import numpy numpy.show_config () lapack_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-faltivec'] define_macros = [('NO_ATLAS_INFO', 3)] blas_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/ vecLib.framework/Headers'] define_macros = [('NO_ATLAS_INFO', 3)] Note that I am on x86_64, so that looks a bit strange. Vincent ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users