Send Moses-support mailing list submissions to
moses-support@mit.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu
You can reach the person managing the list at
moses-support-owner@mit.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."
Today's Topics:
1. compile moses using icc instead of g++ (Arturo Argueta)
2. Re: compile moses using icc instead of g++ (Pierre Lison)
3. Re: compile moses using icc instead of g++ (Hieu Hoang)
4. Re: compile moses using icc instead of g++ (Pierre Lison)
5. Re: compile moses using icc instead of g++ (Kenneth Heafield)
----------------------------------------------------------------------
Message: 1
Date: Tue, 9 Sep 2014 16:37:43 -0400
From: Arturo Argueta <arturoargueta@gmail.com>
Subject: [Moses-support] compile moses using icc instead of g++
To: moses-support@mit.edu
Message-ID:
<CAN1wo9haFoqfTRDkbw4pxoshzOEAiMxohXFrY1gJrAN1Fv4PpA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140909/0fee688e/attachment-0001.htm
------------------------------
Message: 2
Date: Tue, 9 Sep 2014 22:17:42 +0000
From: Pierre Lison <plison@ifi.uio.no>
Subject: Re: [Moses-support] compile moses using icc instead of g++
To: Arturo Argueta <arturoargueta@gmail.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID: <229694E1-8C1D-45C2-BAD2-768F0DC1D013@ifi.uio.no>
Content-Type: text/plain; charset="us-ascii"
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 <arturoargueta@gmail.com>:
> 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
> Moses-support@mit.edu
> 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
------------------------------
Message: 3
Date: Wed, 10 Sep 2014 06:42:00 +0200
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] compile moses using icc instead of g++
To: Pierre Lison <plison@ifi.uio.no>, Arturo Argueta
<arturoargueta@gmail.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID: <540FD698.9050702@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
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 <arturoargueta@gmail.com>:
>
>> 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
>> Moses-support@mit.edu
>> 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
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
------------------------------
Message: 4
Date: Wed, 10 Sep 2014 09:15:16 +0000
From: Pierre Lison <plison@ifi.uio.no>
Subject: Re: [Moses-support] compile moses using icc instead of g++
To: Hieu Hoang <hieuhoang@gmail.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>, Arturo Argueta
<arturoargueta@gmail.com>
Message-ID: <1397C6F6-506F-416C-BC19-9CF09135190B@ifi.uio.no>
Content-Type: text/plain; charset="Windows-1252"
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 <hieuhoang@gmail.com>:
> 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 <arturoargueta@gmail.com>:
>>
>>> 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
>>> Moses-support@mit.edu
>>> 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
>> Moses-support@mit.edu
>> 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
------------------------------
Message: 5
Date: Wed, 10 Sep 2014 05:34:06 -0400
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] compile moses using icc instead of g++
To: moses-support@mit.edu
Message-ID: <54101B0E.1040205@kheafield.com>
Content-Type: text/plain; charset=ISO-8859-1
bjam cxxflags=-mmic
or add it to the CXXFLAGS environment variable.
BTW I'm interested in a curve relating CPU count to throughput. Also,
what kind of MIC are you using? I've generally found they don't have
enough RAM for my purposes.
On 09/10/14 00:42, Hieu Hoang wrote:
> I don't know how to add the -mmic flag
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 95, Issue 15
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 95, Issue 15"
Post a Comment