You're better of using Linux, in a virtual machine if you have to.

I'm a Mac user myself but the reality is most open source MT software is developed on Linux and not really tested on other platforms


On 03/08/2016 10:45, James wrote:
Hi,

Cause we cannot use clang equipped with openmp on Mac OS 10.11, so I've been working around how to compile Moses using G++ (g++-6) instead of clang++, but so far no luck.

What I want to do is to use some neural network language models like nplm / OxLM with Moses, and these LMs require openmp which is not officially supported by clang/clang++ on Mac OS 10.11.

Here is my command and it didn't successfully compile the Moses:

"bjam --with-boost=/Users/james/Desktop/Workspace/moses/boost_1_61_0 --with-cmph=/Users/james/Desktop/Workspace/moses/cmph-2.0 --with-xmlrpc-/Users/james/Desktop/Workspace/moses/xmlrpc-c-1.33.17 -j12 --with-nplm=/Users/james/Desktop/Workspace/moses/nplm"

And, my system specs are:

Macbook Air 13inch,
Processor 1.7GHz Intel Core i7,
Memory 8GB DDR3,
Storage: 80GB free of 500GB.

BTW, if there is alternative neural language model I can use for Moses (without using openmp), please let me know. This would be really appreciated... Thanks.

Or, is there any way to use clang with openmp on Mac OS 10.11?

-James




_______________________________________________
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