[lsst-dm-stack-users] ANN: Summer 2013 Code Release
Dave Monet
dgm at nofs.navy.mil
Fri Nov 29 07:06:02 PST 2013
Thanks to Mario, I think that I have discovered the two layers
of magic involved.
1) ATLAS: By default, it does not make the .so files. After
various false starts, the proper configure line needs to
look something like
../ATLAS/configure --prefix=/home/dgm/linux -Si cputhrchk 0 -Fa alg
-fPIC
Then do
make
make install
cd lib
make shared
cp *.so /home/dgm/linux/lib (or wherever they belong)
2) numpy: It appears that it is looking for a specific name
for libcblas. In the lib directory, try something like
ln -s libcblas.so libblas.so.3
After doing these steps, Mario's sequence
import numpy
numpy.__version__
import numpy.core.multiarray
numpy.core.multiarray.__version__
numpy.core.multiarray.__file__
appears to work properly. I found
>>> import numpy
>>> numpy.__version__
'1.8.0'
>>> import numpy.core.multiarray
>>> numpy.core.multiarray.__version__
'3.1'
>>> numpy.core.multiarray.__file__
'/home/dgm/dm/Linux64/external/numpy/1.8.0+1/lib/python/numpy/core/multiarray.so'
>>>
Flushed with this success, I did
> ./bin/demo.sh
and eventually got to the line
Processing completed successfully. The results are in
detected-sources.txt.
To the clueless, this last line appears to be success. Many
thanks to all involved, particularly on T-day.
-Dave
More information about the dm-users
mailing list