[Cython] Distributing Windows binary using OpenMP / cython.parallel

Wes McKinney wesmckinn at gmail.com
Tue Dec 13 17:32:11 CET 2011


On Tue, Dec 13, 2011 at 6:47 AM, Sturla Molden <sturla at molden.no> wrote:
> Den 12.12.2011 21:09, skrev Wes McKinney:
>
>> I'm interested in using the Cython OpenMP extensions in pandas for
>> various calculations, but I'm concerned about cross-platform issues,
>> especially distributing built binaries of the extensions to Windows
>> users. Is there a clean way to bundle the relevant OpenMP DLLs in
>> distutils?
>>
>> thanks,
>> Wes
>>
>
> Are you using MSVC or MinGW compiler?
>
> If you use MinGW, beware of licensing issues for the required pthreads
> library (pthreadsGC2.dll, I think it's LGPL). It is not a part of MinGW or
> GCC/GNU. So linking it statically can be a problem.
>
> As for the MSVC compiler, IIRC the OpenMP runtime is a part of the MSVC
> runtime DLLs which the user must install anyway.
>
>
> Sturla
>
> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> http://mail.python.org/mailman/listinfo/cython-devel

Using MSVC compiler. For regular binaries the user doesn't need to
install anything. I guess I'll cross the bridge when I come to it.

- Wes


More information about the cython-devel mailing list