2008/8/13 Sara Stymne <[EMAIL PROTECTED]>:
> When we installed SRILM and Moses on our 64-bit Ubuntu machine we had
> some troubles with getting the machine type right. What solved it in the
> end was to hack the machine-type script (found in srilm/sbin), so that
> it gave the correct machine type, from i686 to i686-m64:
>
>    else if (`uname -m` == x86_64) then
>        set MACHINE_TYPE = i686-m64
>        #set MACHINE_TYPE = i686
> After doing that we could compile SRILM without specifying the MACHINE_TYPE.

We've emailed Andreas Stolke about this, and the motivation for this is that
on a mixed-machine cluster (32bit and 64bit machines), everything will compile
in a compatible (read: 32bit) way.

An alternate way to implement this might have been to have the
machine-type script
produce correct output by default (you know, -m64 when a 64-bit machine...)
and override it when on a mixed cluster, but it's hard to fault SRI
for tailoring
_their_ code to _their_ environment :)

However, this isn't going to be changed on the SRILM side in the future,
so this local hack is more or less necessary for 64bit Moses installs and
would be helpful to mention in the instructions.

Cheers,
~amittai
---
University of Washington
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to