Bug #1815

MAUS numpy fails on GRID

Added by Rajaram, Durga over 8 years ago. Updated over 7 years ago.

Build System
Target version:
Start date:
01 February 2016
Due date:
% Done:


Estimated time:
New Issue


Janusz reports that MAUS installations are failing to run on GRID nodes.

After digging, found that the problem is coming from numpy/linalg

The diagnosis:
numpy gets built with system atlas/lapack libraries if they're available.
This causes a problem when porting the MAUS libraries to the GRID because the system lapack library is no longer available on the worker node thereby causing numpy import to fail.

The numpy installer script should force the installation to build standalone numpy/linalg/ [ as it is done when there is no system-wide atlas/lapack ]


Updated by Rajaram, Durga over 8 years ago

Some details:

Failure message from GRID

File "/cvmfs/", line 23, in <module>
    import geometry
  File "/cvmfs/", line 4, in <module>
    from geometry.CADImport import CADImport
  File "/cvmfs/", line 25, in <module>
    import numpy
  File "/cvmfs/", line 137, in <module>
    import add_newdocs
  File "/cvmfs/", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/cvmfs/", line 13, in <module>
    from polynomial import *
  File "/cvmfs/", line 17, in <module>
    from numpy.linalg import eigvals, lstsq
  File "/cvmfs/", line 48, in <module>
    from linalg import *
  File "/cvmfs/", line 23, in <module>
    from numpy.linalg import lapack_lite
ImportError: cannot open shared object file: No such file or directory

MAUS was built on a machine at Imperial College.
On the build machine,

 ldd of third_party/install/lib/python2.7/site-packages/numpy/linalg/  shows: 
-bash-4.1$ ldd third_party/install/lib/python2.7/site-packages/numpy/linalg/ =>  (0x00007ffd88bfc000) => /usr/lib64/atlas/ (0x00007f32a8b3e000) => /usr/lib64/ (0x00007f32a88e6000) => /vols/escience01/martynia/MAUS-v1.4.0/third_party/install/lib/ (0x00007f32a84d8000) => /usr/lib64/ (0x00007f32a82b7000) => /lib64/ (0x00007f32a8032000) => /vols/escience01/martynia/MAUS-v1.4.0/third_party/install/lib64/ (0x00007f32a7e1c000) => /lib64/ (0x00007f32a7a88000) => /vols/escience01/martynia/MAUS-v1.4.0/third_party/install/lib64/ (0x00007f32a7769000) => /usr/lib64/atlas/ (0x00007f32a754a000) => /usr/lib64/atlas/ (0x00007f32a732a000) => /lib64/ (0x00007f32a7113000) => /lib64/ (0x00007f32a6ef6000) => /lib64/ (0x00007f32a6cf2000) => /lib64/ (0x00007f32a6aee000)
    /lib64/ (0x0000003e68a00000) => /vols/escience01/martynia/MAUS-v1.4.0/third_party/install/lib/../lib64/ (0x00007f32a68b1000) => /usr/lib64/atlas/ (0x00007f32a6254000)


Updated by Dobbs, Adam over 7 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Now fixed, closing.

Also available in: Atom PDF