Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-3463

psfex lapack symbols may collide with built in lapack

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_extensions_psfex
    • Labels:
      None

      Description

      On my Mac meas_extensions_psfex fails to build due to the numpy config test failing. "import numpy" fails with:

      dlopen(/Users/rowen/LSST/lsstsw/anaconda/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so, 2): can't resolve symbol __NSConcreteStackBlock in /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib because dependent dylib #1 could not be loaded in /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
      

      Our best guess (see discussion in Data Management 2015-08-14 at approx. 1:57 PM Pacific time) is that the special lapack functions in psfex are colliding with the lapack that anaconda uses.

      In case it helps I see this on OS X 10.9.5. I do not see it on lsst-dev.

        Attachments

          Activity

          Hide
          nlust Nate Lust added a comment -

          Please review these changes, minor though they are. The relivant changes are in the files, configure.ac, lib/SConscript, lapack_functions/SConscript . All the other changed files are auto-generated by the auto* tools. The updated make files have all been tested on multiple systems and guid the build process just fine.

          Show
          nlust Nate Lust added a comment - Please review these changes, minor though they are. The relivant changes are in the files, configure.ac, lib/SConscript, lapack_functions/SConscript . All the other changed files are auto-generated by the auto* tools. The updated make files have all been tested on multiple systems and guid the build process just fine.
          Hide
          rowen Russell Owen added a comment -

          This looks like a good fix. It is a pity about all the extra auto-generated files needing update, but there it is.

          Show
          rowen Russell Owen added a comment - This looks like a good fix. It is a pity about all the extra auto-generated files needing update, but there it is.
          Hide
          nlust Nate Lust added a comment -

          This fix is now on master, and has successfully been built with lsstsw on os x in addition to linux machines

          Show
          nlust Nate Lust added a comment - This fix is now on master, and has successfully been built with lsstsw on os x in addition to linux machines

            People

            • Assignee:
              nlust Nate Lust
              Reporter:
              rowen Russell Owen
              Reviewers:
              Russell Owen
              Watchers:
              Jim Bosch, Nate Lust, Robert Lupton, Russell Owen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: