Giter Site home page Giter Site logo

Comments (3)

rainwoodman avatar rainwoodman commented on July 26, 2024

Thanks for the patch! I will look at this as soon as I get to a computer.

Yu
On Jun 27, 2016 7:40 AM, "Tobias Heinemann" [email protected]
wrote:

On my OS X install (with Python provided by Homebrew), linking fails
because the Python libraries cannot be found:

creating build/lib.macosx-10.11-x86_64-3.5
creating build/lib.macosx-10.11-x86_64-3.5/pfft
mpicc -shared build/temp.macosx-10.11-x86_64-3.5/pfft/core.o build/temp.macosx-10.11-x86_64-3.5/depends/lib/libpfft.a build/temp.macosx-10.11-x86_64-3.5/depends/lib/libpfftf.a build/temp.macosx-10.11-x86_64-3.5/depends/lib/libfftw3_mpi.a build/temp.macosx-10.11-x86_64-3.5/depends/lib/libfftw3.a build/temp.macosx-10.11-x86_64-3.5/depends/lib/libfftw3f_mpi.a build/temp.macosx-10.11-x86_64-3.5/depends/lib/libfftw3f.a -o build/lib.macosx-10.11-x86_64-3.5/pfft/core.cpython-35m-darwin.so
Undefined symbols for architecture x86_64:
"_PyBaseObject_Type", referenced from:
___pyx_tp_new_4pfft_4core_ProcMesh in core.o
___pyx_tp_new_4pfft_4core_Partition in core.o
___pyx_tp_new_4pfft_4core_LocalBuffer in core.o
___pyx_tp_new_4pfft_4core_Plan in core.o
___pyx_tp_new_array in core.o
___pyx_tp_new_Enum in core.o
___pyx_tp_new_memoryview in core.o
...
"_PyBuffer_Release", referenced from:
___pyx_tp_dealloc_memoryview in core.o
"_PyByteArray_Type", referenced from:
___pyx_tp_new_array in core.o

and so on. The patch in #1
#1 fixes this. I've only
tested this on OS X and Linux though.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2, or mute the thread
https://github.com/notifications/unsubscribe/AAIbTJB1VoBVEhQbfSl69iWu0DXzHy9Hks5qP-DQgaJpZM4I_Ka8
.

from pfft-python.

rainwoodman avatar rainwoodman commented on July 26, 2024

This is cleaner than our previous solution.

export OMPI_CC=gcc
export LDSHARED="mpicc -bundle -undefined dynamic_lookup -DOMPI_IMPORTS";

Did you ever run into the OMPI_CC issue?

from pfft-python.

rainwoodman avatar rainwoodman commented on July 26, 2024

So far so good. (confirmed by Nick). Closing.

from pfft-python.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.