Moses-support Digest, Vol 128, Issue 30

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. Re: problem with Experiment.perl (Mathias M?ller)
2. Re: problem installing Moses (Hieu Hoang)
3. Re: problem installing Moses (Hieu Hoang)


----------------------------------------------------------------------

Message: 1
Date: Mon, 26 Jun 2017 21:14:19 +0200
From: Mathias M?ller <mmueller@ifi.uzh.ch>
Subject: Re: [Moses-support] problem with Experiment.perl
To: Despina Mouratidi <dmouratidi@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID: <C756CC04-A129-47F6-89ED-D70ABE68585D@ifi.uzh.ch>
Content-Type: text/plain; charset="utf-8"

Hi Despina

Seems like you are in the wrong directory. Run

/path/to/moses/scripts/ems/experiment.perl

instead of only ?experiment.perl?. If that does not help, then perhaps ?experiment.perl? is not executable. In that case, run

perl /path/to/experiment.perl

or

chmod +x /path/to/experiment.perl

and then

/path/to/experiment.perl

Regards
Mathias


> On 26 Jun 2017, at 20:57, Despina Mouratidi <dmouratidi@gmail.com> wrote:
>
> Hello everyone again!
> After a long time typing in all the commands from moses user manual, I am trying the Experiment.perl.
>
> 1. I made a file in ~/working/experiments
> 2. I find experiment.perl in scripts/ems
> 3. I got a sample configuration file from scripts/ems/example/config.toy
> 4. I made all the neccesary changes but
> how can I run it?
> I type
> experiment.perl -config config -exec but experiment.perl: command not found
>
> Thank you!
>
>
>
>
> 2017-06-26 21:53 GMT+03:00 Despina Mouratidi <dmouratidi@gmail.com <mailto:dmouratidi@gmail.com>>:
> Hello everyone again!
> After a long time typing in all the commands from moses user manual, I am trying the Experiment.perl.
>
> 1. I made a file in ~/working/experiments
> 2. I find experiment.perl in scripts/ems
> 3. I got a sample configuration file from scripts/ems/example/config.toy
> 4. I made all the neccesary changes but
> how can I run it?
>
>
> Thank you!
> Despina
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170626/e8baf914/attachment-0001.html

------------------------------

Message: 2
Date: Mon, 26 Jun 2017 20:41:08 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] problem installing Moses
To: "Jan Tore L|nning" <jtl@ifi.uio.no>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbje6YR6F=W-xzoG7SRSpWmi4K6gzxxPQjAx89vDzmcDOQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Apologies, boost 1.55 is getting a bit old. The error you see are tests for
C++11 compatitbility. I've updated the website to use a more recent boost
lib. This is the exact command I used to successfully compile moses

*Boost:*
wget
https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz
tar zxvf boost_1_64_0.tar.gz
cd boost_1_64_0/
./bootstrap.sh
./b2 -j4 --prefix=$PWD --libdir=$PWD/lib64 --layout=system link=static
install || echo FAILURE


*Moses:*
git clone git@github.com:moses-smt/mosesdecoder.git
cd mosesdecoder/
./bjam -j 12 --with-boost=/home/hieu/workspace/boost/boost_1_64_0




Hieu Hoang
http://moses-smt.org/


On 26 June 2017 at 20:19, Jan Tore L|nning <jtl@ifi.uio.no> wrote:

> I am (still) struggling with installing Moses and how to get the boost
> right
>
>
> I tried
> bash-4.1$ /usit/abel/u1/jtl/mosesdecoder/bjam
> --with-boost=/usit/abel/u1/jtl/boost_1_55_0 -j8
>
> with an absolute path also to bjam. The installation didn't succeed, but
> it looks like it managed a litle bit better this time. At least, the log
> file build_A.log.gz contains more information than last time. Maybe,
> somebody can help me dechiphering it? I had built the boost after the
> recipe at
> http://www.statmt.org/moses/?n=Development.GetStarted
>
>
> Then, I found out I could instead try to load a boost module already
> available.
> I loaded boost/1.60.0 which again loaded 1) gcc/5.1.0 2)
> openmpi.gnu/1.8.8 3) icu/49.1.2
>
> I then ran the command
> bash-4.1$ /usit/abel/u1/jtl/mosesdecoder/bjam -j8
>
> This didn' succeed either. And I got the log-file build_B.log.gz
>
>
> Any advice is welcome,
>
> Jan Tore
>
>
>
> On 06/12/2017 12:15 PM, Jan Tore L?nning wrote:
>
>> (I apologize for the reposting. There are some problems with the mail
>> client. I just try to get the linebreaks through)
>>
>> Thanks for the advice.
>> But this does not seem to solve the problem
>>
>> None of the following 4 attempts work
>> ./bjam --with-boost=/cluster/home/jtl/boost_1_55_0 -j8
>>
>> ./bjam --with-boost=/usit/abel/u1/jtl/boost_1_55_0 -j8
>>
>> ./bjam --with-boost=~/boost_1_55_0 -j8
>>
>> ./bjam --with-boost=../boost_1_55_0 -j8
>>
>> They all produce the same log-file.
>>
>> ./bjam --with-boost=~/boost_1_55_0 -j8
>>
>> ~ Is a little different from the other 3.
>> It stops immediately with the message
>>
>> You have Boost 104100. This package requires Boost at least 104400 (and
>> preferably newer).
>>
>> The other 3 start the process and do some work before they stop with an
>> EROOR message.
>>
>> Jan Tore
>>
>> -----Original Message-----
>> From: Hieu Hoang [mailto:hieuhoang@gmail.com]
>> Sent: Saturday, June 10, 2017 10:00 PM
>> To: Jan Tore L?nning <jtl@ifi.uio.no>
>> Cc: moses-support <moses-support@mit.edu>
>> Subject: Re: [Moses-support] problem installing Moses
>>
>> Use absolute paths
>>
>> On 10 Jun 2017 11:51 a.m., "Jan Tore L?nning" <jtl@ifi.uio.no <mailto:
>> jtl@ifi.uio.no> > wrote:
>>
>>
>> Hi
>>
>> I try to install Moses, but have problems with the boost.
>> I tried to follow the instructions at
>> http://www.statmt.org/moses/?n=Development.GetStarted <
>> http://www.statmt.org/moses/?n=Development.GetStarted>
>>
>> I followed the recipe for manually installing boost, installing
>> it to ~/boost_1_55_0
>> Then I tried to install moses from within ~/mosesdecoder with the
>> command
>>
>> bash-4.1$ ./bjam --with-boost=../boost_1_55_0 -j8
>>
>> This failed.
>> The log-file says
>>
>> Unable to load Boost.Build: could not find "boost-build.jam"
>> ---------------------------------------------------------------
>> Attempted search from /cluster/home/jtl/mosesdecoder up to the
>> root
>> at /cluster/home/jtl/mosesdecoder/share/boost-build
>> and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
>> /usr/share/boost-build.
>> ++++++++++
>>
>> Boost-build.jam is in boost_1_55_0. The problem seems to be to
>> locate boost_1_55_0
>>
>> Kind regards, Jan Tore
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
>> http://mailman.mit.edu/mailman/listinfo/moses-support <
>> http://mailman.mit.edu/mailman/listinfo/moses-support>
>>
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170626/e5fe0ca5/attachment-0001.html

------------------------------

Message: 3
Date: Mon, 26 Jun 2017 23:40:55 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] problem installing Moses
To: "Jan Tore L|nning" <jtl@ifi.uio.no>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbjA4TgJm+_O+YY+xSo8UbrQF5_kFG7j9D1H9QKeeEWncw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

looking at the errors again, the gcc version may be a bit old. Try
commenting out the C++11 tests in ScoreFeatureTest.cpp and compile again

I don't think Moses uses too many C++11 features, but I can't guarantee
that going forward

Hieu Hoang
http://moses-smt.org/


On 26 June 2017 at 20:41, Hieu Hoang <hieuhoang@gmail.com> wrote:

> Apologies, boost 1.55 is getting a bit old. The error you see are tests
> for C++11 compatitbility. I've updated the website to use a more recent
> boost lib. This is the exact command I used to successfully compile moses
>
> *Boost:*
> wget https://dl.bintray.com/boostorg/release/1.64.0/
> source/boost_1_64_0.tar.gz
> tar zxvf boost_1_64_0.tar.gz
> cd boost_1_64_0/
> ./bootstrap.sh
> ./b2 -j4 --prefix=$PWD --libdir=$PWD/lib64 --layout=system link=static
> install || echo FAILURE
>
>
> *Moses:*
> git clone git@github.com:moses-smt/mosesdecoder.git
> cd mosesdecoder/
> ./bjam -j 12 --with-boost=/home/hieu/workspace/boost/boost_1_64_0
>
>
>
>
> Hieu Hoang
> http://moses-smt.org/
>
>
> On 26 June 2017 at 20:19, Jan Tore L|nning <jtl@ifi.uio.no> wrote:
>
>> I am (still) struggling with installing Moses and how to get the boost
>> right
>>
>>
>> I tried
>> bash-4.1$ /usit/abel/u1/jtl/mosesdecoder/bjam
>> --with-boost=/usit/abel/u1/jtl/boost_1_55_0 -j8
>>
>> with an absolute path also to bjam. The installation didn't succeed, but
>> it looks like it managed a litle bit better this time. At least, the log
>> file build_A.log.gz contains more information than last time. Maybe,
>> somebody can help me dechiphering it? I had built the boost after the
>> recipe at
>> http://www.statmt.org/moses/?n=Development.GetStarted
>>
>>
>> Then, I found out I could instead try to load a boost module already
>> available.
>> I loaded boost/1.60.0 which again loaded 1) gcc/5.1.0 2)
>> openmpi.gnu/1.8.8 3) icu/49.1.2
>>
>> I then ran the command
>> bash-4.1$ /usit/abel/u1/jtl/mosesdecoder/bjam -j8
>>
>> This didn' succeed either. And I got the log-file build_B.log.gz
>>
>>
>> Any advice is welcome,
>>
>> Jan Tore
>>
>>
>>
>> On 06/12/2017 12:15 PM, Jan Tore L?nning wrote:
>>
>>> (I apologize for the reposting. There are some problems with the mail
>>> client. I just try to get the linebreaks through)
>>>
>>> Thanks for the advice.
>>> But this does not seem to solve the problem
>>>
>>> None of the following 4 attempts work
>>> ./bjam --with-boost=/cluster/home/jtl/boost_1_55_0 -j8
>>>
>>> ./bjam --with-boost=/usit/abel/u1/jtl/boost_1_55_0 -j8
>>>
>>> ./bjam --with-boost=~/boost_1_55_0 -j8
>>>
>>> ./bjam --with-boost=../boost_1_55_0 -j8
>>>
>>> They all produce the same log-file.
>>>
>>> ./bjam --with-boost=~/boost_1_55_0 -j8
>>>
>>> ~ Is a little different from the other 3.
>>> It stops immediately with the message
>>>
>>> You have Boost 104100. This package requires Boost at least 104400 (and
>>> preferably newer).
>>>
>>> The other 3 start the process and do some work before they stop with an
>>> EROOR message.
>>>
>>> Jan Tore
>>>
>>> -----Original Message-----
>>> From: Hieu Hoang [mailto:hieuhoang@gmail.com]
>>> Sent: Saturday, June 10, 2017 10:00 PM
>>> To: Jan Tore L?nning <jtl@ifi.uio.no>
>>> Cc: moses-support <moses-support@mit.edu>
>>> Subject: Re: [Moses-support] problem installing Moses
>>>
>>> Use absolute paths
>>>
>>> On 10 Jun 2017 11:51 a.m., "Jan Tore L?nning" <jtl@ifi.uio.no <mailto:
>>> jtl@ifi.uio.no> > wrote:
>>>
>>>
>>> Hi
>>>
>>> I try to install Moses, but have problems with the boost.
>>> I tried to follow the instructions at
>>> http://www.statmt.org/moses/?n=Development.GetStarted <
>>> http://www.statmt.org/moses/?n=Development.GetStarted>
>>>
>>> I followed the recipe for manually installing boost, installing
>>> it to ~/boost_1_55_0
>>> Then I tried to install moses from within ~/mosesdecoder with
>>> the command
>>>
>>> bash-4.1$ ./bjam --with-boost=../boost_1_55_0 -j8
>>>
>>> This failed.
>>> The log-file says
>>>
>>> Unable to load Boost.Build: could not find "boost-build.jam"
>>> ---------------------------------------------------------------
>>> Attempted search from /cluster/home/jtl/mosesdecoder up to the
>>> root
>>> at /cluster/home/jtl/mosesdecoder/share/boost-build
>>> and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
>>> /usr/share/boost-build.
>>> ++++++++++
>>>
>>> Boost-build.jam is in boost_1_55_0. The problem seems to be to
>>> locate boost_1_55_0
>>>
>>> Kind regards, Jan Tore
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
>>> http://mailman.mit.edu/mailman/listinfo/moses-support <
>>> http://mailman.mit.edu/mailman/listinfo/moses-support>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> Moses-support@mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170626/7dcc972c/attachment.html

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 128, Issue 30
**********************************************

Related Posts :

0 Response to "Moses-support Digest, Vol 128, Issue 30"

Post a Comment