#9385: Building ATLAS goes into an infinite loop
-----------------------+----------------------------------------------------
    Reporter:  olazo   |         Owner:  olazo     
        Type:  defect  |        Status:  new       
    Priority:  major   |     Milestone:  sage-4.7.2
   Component:  build   |    Resolution:            
    Keywords:          |   Work_issues:            
    Upstream:  N/A     |      Reviewer:            
      Author:          |        Merged:            
Dependencies:          |  
-----------------------+----------------------------------------------------

Comment(by chris):

 I'm trying to build sage on Fedora 16 but I'm also ending in an infinite
 ATLAS build loop.
 Sage 4.7 builds fine in Fedora 15 on my AMD desktop but on my Intel
 notebook sage 4.7 and sage 4.7.1
 are hanging at the ATLAS build.

 Just looking at the install.log for example ATLAS was trying over 600
 times to compile fc.c
 {{{
 [chris@thinkpad sage-4.7.1]$ cat install.log | grep -c
 "sage-4.7.1/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/../src//tune/blas/gemm/fc.c"
 648
 }}}
 Attatched:
 {{{
 install.log.lzma
 cat /proc/meminfo >proc_meminfo
 cat /proc/cpuinfo >proc_cpuinfo
 }}}
 Here you can see that there are some crashes in "ATLAS-build/tune/blas/":
 {{{
 cat /var/log/messages |grep abrt |grep "Aug 26 18" >abrt.log
 }}}
 I've also tried disabling cpu throttling with no effect.
 {{{
 sudo cpupower frequency-set -g performance
 }}}
 And the workaround from comment 40:
 {{{
 $ sudo yum install atlas atlas-devel
 $ rpm -q atlas
 atlas-3.8.4-1.fc16.x86_64
 $ sudo mkdir /opt/atlas/
 $ #sudo ln -s /usr/lib/atlas /opt/atlas/lib
 $ sudo ln -s /usr/lib64/atlas /opt/atlas/lib
 $ sudo mkdir /opt/atlas/include
 $ sudo ln -s /usr/include/atlas /opt/atlas/include/atlas
 $ export SAGE_ATLAS_LIB=/opt/atlas
 $ export MAKE="make -j6"
 $ make
 }}}

 But make will fail (see install_with_system_atlas.tar.lzma) because
 /opt/atlas/lib
 only contains shared objects and no static library files.

 "Unable to find one of liblapack.a, libcblas.a, libatlas.a or libf77blas.a
 in the directory /opt/atlas/lib"
 {{{
 $ ls /opt/atlas/lib
 libatlas.so      libcblas.so      libclapack.so      libf77blas.so
 liblapack.so      libptcblas.so      libptf77blas.so
 libatlas.so.3    libcblas.so.3    libclapack.so.3    libf77blas.so.3
 liblapack.so.3    libptcblas.so.3    libptf77blas.so.3
 libatlas.so.3.0  libcblas.so.3.0  libclapack.so.3.0  libf77blas.so.3.0
 liblapack.so.3.0  libptcblas.so.3.0  libptf77blas.so.3.0
 }}}

 What should I do next? If you need more information to fix this bug please
 ask.

 chris

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9385#comment:47>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to