[NumPy-Tickets] [NumPy] #1815: Segmentation Fault when running numpy test

NumPy Trac numpy-tickets@scipy....
Sat Apr 30 16:26:44 CDT 2011


#1815: Segmentation Fault when running numpy test
-----------------------------------------------+----------------------------
 Reporter:  alex_lai                           |       Owner:  somebody   
     Type:  defect                             |      Status:  new        
 Priority:  normal                             |   Milestone:  Unscheduled
Component:  numpy.testing                      |     Version:  1.5.1      
 Keywords:  Segmentation Fault strlen sprintf  |  
-----------------------------------------------+----------------------------

Comment(by alex_lai):

 Hi Charris,

 The installation was done by my colleage. Below is the script he provided:

 ---------------
 #!/bin/bash
 PYTHONPATH=/home/dcottr/local/lib/python3.1/site-packages/:$PYTHONPATH;
 export PYTHONPATH
 unset LD_LIBRARY_PATH
 export
 LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/opt/SUNWspro/lib:/opt/BNSgnuscientificlibCC/v1.11/lib
 unset PATH
 # export LDFLAGS="-lCrun -lCstd"
 PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sfw/bin:/usr/sbin:/usr/local/bin;
 export PATH
 ATLAS=None; export ATLAS
 BLAS=/opt/SUNWspro/lib/libsunperf.so; export BLAS
 LAPACK=/opt/SUNWspro/lib/libsunmath.so; export LAPACK

 python3 setup.py build --help-fcompiler
 python3 setup.py build --fcompiler=sun
 python3 setup.py install --prefix=/home/dcottr/local
 ---------------

 Python 3.1.2 is a 32-bit binary:

 sbtorsvr391:~ $ which python3
 /usr/local/bin/python3
 sbtorsvr391:~ $ file /usr/local/bin/python3
 /usr/local/bin/python3: ELF 32-bit MSB executable SPARC Version 1,
 dynamically linked, not stripped

 Please note that both Sun Studio 11 and 12 are installed on the machine.

 Thanks,

 Alex

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1815#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list