Hi Lane,

I had to track this one down too.  The multithreading uses OpenMP, so if
you install OpenMP on your machine and build fast_align, multithreading
should be baked in.  By default, it should use all available CPUs.  You can
override this by setting the OMP_NUM_THREADS environment variable (export
OMP_NUM_THREADS=8).

Best,
Michael

On Tue, Dec 6, 2016 at 12:06 PM, Lane Schwartz <[email protected]> wrote:

> Hi,
>
> Looking at the change log in the fast_align github repo, it appears that
> there is now multithreading in fast_align.
>
> This should be simple, but I haven't been able to find it documented
> anywhere. Can anyone verify that fast_align does indeed support
> multithreading, and if it does, how do you enable it?
>
> Thanks,
> Lane
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to