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

mpi4py does not build on OS X El Capitan

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Third Party Software
    • Labels:
      None
    • Templates:
    • Story Points:
      0.25
    • Sprint:
      DRP X16-2
    • Team:
      Data Release Production

      Description

      Attempting to build mpi4py with the mpi and mpich EUPS packages, does not seem to work with clang on OS X:

      /Users/timj/work/lsstsw/stack/DarwinX86/mpich/3.1.4+da39a3ee5e/bin/mpicc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DPyMPI_MISSING_MPI_Type_create_f90_integer=1 -D PyMPI_MISSING_MPI_Type_create_f90_real=1 -D PyMPI_MISSING_MPI_Type_create_f90_complex=1 -I/Users/timj/work/lsstsw/miniconda/include/python2.7 -c _configtest.c -o _configtest.o
      /Users/timj/work/lsstsw/stack/DarwinX86/mpich/3.1.4+da39a3ee5e/bin/mpicc -arch x86_64 _configtest.o -L/Users/timj/work/lsstsw/miniconda/lib -Lbuild/temp.macosx-10.5-x86_64-2.7 -o _configtest
      Undefined symbols for architecture x86_64:
        "___muldc3", referenced from:
            import-atom in libpmpi.dylib
        "___mulsc3", referenced from:
            import-atom in libpmpi.dylib
        "___mulxc3", referenced from:
            import-atom in libpmpi.dylib
      ld: symbol(s) not found for architecture x86_64
      

      I thought that this all built fine when I reviewed DM-2983 so it's possible that there is an interaction with Homebrew or it is something about El Capitan (I would have tested DM-2983 on Yosemite). Hsin-Fang Chiang reports the same problem on her OS X El Cap system.

      This error does seem to be related to Fortran complex numbers.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  swinbank John Swinbank
                  Reporter:
                  tjenness Tim Jenness
                  Reviewers:
                  Tim Jenness
                  Watchers:
                  Hsin-Fang Chiang, John Swinbank, Paul Price, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel