S3DF installation of Oracle drivers. On rhel6-64/centos7, the required distribution is in /afs/slac.stanford.edu/package/oracle/f/11.1.0/amd64_linux26/11.1.0. An rsync'd copy on /sdf seems to work. Using /sdf/group/fermi/sw/containers/fermi-rhel6.20230823.sif and Singularity container (generated by Wei) to use with /sdf/data/fermi/a/ground/releases/volume02/ScienceTools-09-32-05/ , numpy is missing libblas.so.3: Code Block |
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ": /sdf/datagroup/fermi/asw/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2-gl4/lib/python2.7/site-packages/numpy/__init__.py", line 170, in <module>
from . import add_newdocs
File "/sdf/data/fermi/a/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2-gl4/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/sdf/data/fermi/a/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2-gl4/lib/python2.7/site-packages/numpy/lib/__init__.py", line 18, in <module>
from .polynomial import *
File "/sdf/data/fermi/a/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2-gl4/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 19, in <module>
from numpy.linalg import eigvals, lstsq, inv
File "/sdf/data/fermi/a/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2-gl4/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 51, in <module>
from .linalg import *
File "/sdf/data/fermi/a/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2-gl4/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 29, in <module>
from numpy.linalg import lapack_lite, _umath_linalg
ImportError: libblas.so.3: cannot open shared object file: No such file or directoryOn centos7, libblas.so.3 lives in /lib64. Do we need to install BLAS and LAPACK in the singularity image?
containers/fermi-rhel6.20230922.sif . This contains the 64-bit BLAS and LAPACK libraries needed by numpy.