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

2011-12-13 Thread Sturla Molden

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@python.org
http://mail.python.org/mailman/listinfo/cython-devel


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

2011-12-13 Thread Wes McKinney
On Tue, Dec 13, 2011 at 6:47 AM, Sturla Molden  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@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
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel