Hi Hieu,

The compilation worked out of the box, I didn't need to make any particular 
changes to the code to make it compile (there are a lot of compilation warnings 
with icc though).  I didn't do any benchmarking to compare versions of Moses 
compiled with gcc or icc so I don't have any precise answer to your question, 
but at first sight the decoding speed didn't seem to change much.

Pierre



10. sep. 2014 kl. 06:42 skrev Hieu Hoang <[email protected]>:

> you can change the toolset on the command line by doing
>   ./bjam toolset=intel-linux .....
> I'm interested to know if you moses compiles with icc out-of-the-box or if 
> there's any changes that needs to be made. How much faster/small/better is it?
> 
> I don't know how to add the -mmic flag
> 
> On 10/09/14 00:17, Pierre Lison wrote:
>> Hi Arturo,
>> 
>> I managed to compile Moses with icc (I didn't try the -mmic directive 
>> though).  What I did was to modify the line 588 in the file 
>> jam-files/boost-build/build-system.jam to change the default toolset to 
>> "intel-linux" instead of gcc (I guess there must be a more elegant way to 
>> change the compilation toolset, but I couldn't find it).
>> 
>> Cheers,
>> 
>> Pierre
>> 
>> 
>> 9. sep. 2014 kl. 22:37 skrev Arturo Argueta <[email protected]>:
>> 
>>> Is it possible to compile moses using Intel's (icc) command?
>>> When I run bjam I see that moses uses g++, but is there a way to use just 
>>> icc? I'm trying to also compile with the -mmic directive
>>> 
>>> Thanks
>>> _______________________________________________
>>> Moses-support mailing list
>>> [email protected]
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>> --
>> Pierre Lison (Postdoctoral Research Fellow)
>> Department of Informatics, University of Oslo
>> Mobile: +47.967.998.12
>> Web: http://folk.uio.no/plison
>> 
>> 
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>> 
> 

--
Pierre Lison (Postdoctoral Research Fellow)
Department of Informatics, University of Oslo
Mobile: +47.967.998.12
Web: http://folk.uio.no/plison


_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to