Moses-support Digest, Vol 89, Issue 67

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: Segmentation fault (core dumped) (Hieu Hoang)
2. Re: Issue while installing Moses and Boost (Hieu Hoang)
3. Re: windows cygwin moses build (Hieu Hoang)
4. Re: Issue while installing Moses and Boost (Apurv Nagvenkar)


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

Message: 1
Date: Mon, 24 Mar 2014 19:31:42 +0000
From: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Subject: Re: [Moses-support] Segmentation fault (core dumped)
To: Arezoo Arjomand <arezooarjomand@yahoo.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CAEKMkbgQ-Hneq=CNix+gLu4nwpLQ0JQU_8NtihySN5gVU1G=FA@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

quite difficult to know without some additional information.
1. What OS are you running on? 32 or 64 bit?
2. What is the exact command you ran when you got the error?
3. Is your training data encoded in UTF8?
4. Are you sure the source and target side of your training corpus have
exactly the same number of sentences?
5. Did you clean your data with the Moses script
scripts/training/clean-corpus-n.perl
This gets rid of lines which are too long, double spaces etc.



On 23 March 2014 12:14, Arezoo Arjomand <arezooarjomand@yahoo.com> wrote:

>
> I've ran GIZA++ on cygwin but it occurred an error "Segmentation fault
> (core dumped)". i cann't find any config file. Please help me, how can I
> fix it.
> --
> Best Regards
> Arezoo Arjomandzadeh
> MSc student in Artificial Intelligence
> Computer & IT engineering
> Shahrood University of Technology, Iran
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>


--
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140324/391d7d83/attachment-0001.htm

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

Message: 2
Date: Mon, 24 Mar 2014 19:37:47 +0000
From: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Subject: Re: [Moses-support] Issue while installing Moses and Boost
To: Apurv Nagvenkar <apurv.nagvenkar@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbgbnCctfGZ-68_cZX_oXYj0VtzSF2HyV_T_C70M4uj77A@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

it seems like the Moses executables are looking for the file
libboost_thread.so.1.55.0
A better way to compile boost and moses is described in
http://www.statmt.org/moses/?n=Development.GetStarted
Basically, only create the boost static libraries, not the shared
libraries. Then recompile Moses to link to the static libraries
Boost: ./b2 link=static
Moses ./bjam --with-boost=$BOOST_ROOT -a ....



On 23 March 2014 16:39, Apurv Nagvenkar <apurv.nagvenkar@gmail.com> wrote:

> Hello Sir,
>
> I am trying to install moses on Fedora 18 64-bit system.
> Following are the commands or instructions which I followed from numerous
> tutorials.
>
> ***************-Build SRILM-******************
> cd srilm
> MAKE_PIC=1
> export SRILM=$PWD
> export MACHINE_TYPE=i686-m64
> export PATH=${PATH}:$SRILM/bin/$MACHINE_TYPE
> export PATH=${PATH}:$SRILM/bin
> export MANPATH=$SRILM/man
> make World
> make test
> make cleanest
>
> **********---------Installing external directories----------**************
> PREFIX=$HOME/usr
> LIBDIR=$PREFIX/lib64
> export PATH=$PREFIX/bin${PATH:+:$PATH}
> export LD_LIBRARY_PATH=$LIBDIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
> export LIBRARY_PATH=$LIBDIR${LIBRARY_PATH:+:$LIBRARY_PATH}
> export CPATH=$PREFIX/include${CPATH:+:$CPATH}
>
>
> #For autotools packages e.g. xmlrpc-c and zlib
>
> ./configure --prefix=$PREFIX --libdir=$LIBDIR [other options here]
>
> *********Installing Boost****************
> cd boost_1_55_0
> ./bootstrap.sh
> ./b2 --prefix=$PWD --libdir=$PWD/lib64 --layout=tagged link=static,shared
> threading=multi,single install || echo FAILURE
> ./b2 install --prefix=/usr/share/boost-build
>
> export BOOST_ROOT=$PWD
> export BOOST_BUILD_PATH=/usr/share/boost-build
>
>
> In mosesdecoder I entered following command
>
> ./bjam --with-boost=$BOOST_ROOT --with-srilm=$SRILM
>
> The above commands lead to some error. I am attaching a build.log file.
>
> Kindly go through it and please try to fix it
> Regards,
> Apurv Nagvenkar
> DCST, Goa University
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>


--
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140324/5758c185/attachment-0001.htm

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

Message: 3
Date: Mon, 24 Mar 2014 20:12:38 +0000
From: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Subject: Re: [Moses-support] windows cygwin moses build
To: "jfrm.maurel@gmail.com" <jfrm.maurel@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbgrh6SjnUOhcVaJrEayDmb3rRgxoMkO+wcxemdeTqvqOg@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

There seems to be a problem using the boost library
libboost_program_options-mt
Did boost compile ok? Did you run out of space when compiling it? Maybe try
to compile again, or use the different version, or the 1 that's installed
with cygwin.




On 24 March 2014 18:16, jfrm.maurel@gmail.com <jfrm.maurel@gmail.com> wrote:

> Hi,
>
> I tried to install Moses on my laptop (Windows 7 64bitx RAM 6Go) using
> cygwin. I followed instructions on Moses website as follows.
> Most of the process seems ok however I have 6 failures in the build (see
> attached file for details):
>
> ...failed gcc.link mert/bin/gcc-4.8.2/release/
> debug-symbols-on/link-static/threading-multi/pro.exe...
> ...failed gcc.link mert/bin/gcc-4.8.2/release/
> debug-symbols-on/link-static/threading-multi/kbmira.exe...
> ...failed gcc.link phrase-extract/extract-ghkm/
> bin/gcc-4.8.2/release/debug-symbols-on/link-static/
> threading-multi/extract-ghkm.exe...
> ...failed gcc.link mira/bin/gcc-4.8.2/release/
> debug-symbols-on/link-static/threading-multi/mira.exe...
> ...failed gcc.link /usr/local/mosesdecoder/lm/
> builder/bin/gcc-4.8.2/release/debug-symbols-on/link-static/
> threading-multi/lmplz.exe...
> ...failed gcc.link moses/LM/bin/BackwardTest.test/gcc-4.8.2/release/debug-
> symbols-on/link-static/threading-multi/BackwardTest.exe...
> ...failed updating 6 targets...
>
> Could someone tell me how I can remove those failures or if I can skip
> them ?
>
> Regards
>
> == detailed process ==
> -------------------------------
> - fresh cygwin install
>
> From cygwin command window:
> - git clone https://github.com/moses-smt/mosesdecoder.git
> - cd mosesdecoder/
> - cpan
> - cpan XML::Twig
> - wget http://downloads.sourceforge.net/project/boost/boost/1.55.
> 0/boost_1_55_0.tar.gz?r=http%3A%2F%2Fsourceforge.net%
> 2Fprojects%2Fboost%2Ffiles%2Fboost%2F1.55.0%2F&ts=
> 1389613041&use_mirror=kent
> tar zxvf boost_1_55_0.tar.gz
> - cd boost_1_55_0/
> - ./bootstrap.sh
> - ./b2 -j8 --prefix=$PWD --libdir=$PWD/lib64 --layout=tagged link=static
> threading=multi,single install || echo FAILURE
> - ./bjam --with-boost=/usr/local/boost_1_55_0 -d2 --debug-configuration
> >build.log
> (see attached build.log)
> - wget http://www.statmt.org/moses/download/sample-models.tgz
> - tar xzf sample-models.tgz
> - cd sample-models
> - /usr/local/mosesdecoder/bin/moses -f phrase-model/moses.ini <
> phrase-model/in > out
>
> the content of out file: this is a small house this is a small house
>
> --
> Jean-Fran?ois MAUREL
> PIMECA
> http://www.pimeca.com
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>


--
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140324/663db44f/attachment-0001.htm

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

Message: 4
Date: Tue, 25 Mar 2014 12:58:45 +0530
From: Apurv Nagvenkar <apurv.nagvenkar@gmail.com>
Subject: Re: [Moses-support] Issue while installing Moses and Boost
To: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAMFkW=qJP-NvvBpyioAAbfqNZB8dKhnOJYWON0=HY0AVwxOndQ@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Thank you Sir,
I could compile it.

Regards,
Apurv Nagvenkar
DCST, Goa University


On Tue, Mar 25, 2014 at 1:07 AM, Hieu Hoang <Hieu.Hoang@ed.ac.uk> wrote:

> it seems like the Moses executables are looking for the file
> libboost_thread.so.1.55.0
> A better way to compile boost and moses is described in
> http://www.statmt.org/moses/?n=Development.GetStarted
> Basically, only create the boost static libraries, not the shared
> libraries. Then recompile Moses to link to the static libraries
> Boost: ./b2 link=static
> Moses ./bjam --with-boost=$BOOST_ROOT -a ....
>
>
>
> On 23 March 2014 16:39, Apurv Nagvenkar <apurv.nagvenkar@gmail.com> wrote:
>
>> Hello Sir,
>>
>> I am trying to install moses on Fedora 18 64-bit system.
>> Following are the commands or instructions which I followed from numerous
>> tutorials.
>>
>> ***************-Build SRILM-******************
>> cd srilm
>> MAKE_PIC=1
>> export SRILM=$PWD
>> export MACHINE_TYPE=i686-m64
>> export PATH=${PATH}:$SRILM/bin/$MACHINE_TYPE
>> export PATH=${PATH}:$SRILM/bin
>> export MANPATH=$SRILM/man
>> make World
>> make test
>> make cleanest
>>
>> **********---------Installing external directories----------**************
>> PREFIX=$HOME/usr
>> LIBDIR=$PREFIX/lib64
>> export PATH=$PREFIX/bin${PATH:+:$PATH}
>> export LD_LIBRARY_PATH=$LIBDIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
>> export LIBRARY_PATH=$LIBDIR${LIBRARY_PATH:+:$LIBRARY_PATH}
>> export CPATH=$PREFIX/include${CPATH:+:$CPATH}
>>
>>
>> #For autotools packages e.g. xmlrpc-c and zlib
>>
>> ./configure --prefix=$PREFIX --libdir=$LIBDIR [other options here]
>>
>> *********Installing Boost****************
>> cd boost_1_55_0
>> ./bootstrap.sh
>> ./b2 --prefix=$PWD --libdir=$PWD/lib64 --layout=tagged link=static,shared
>> threading=multi,single install || echo FAILURE
>> ./b2 install --prefix=/usr/share/boost-build
>>
>> export BOOST_ROOT=$PWD
>> export BOOST_BUILD_PATH=/usr/share/boost-build
>>
>>
>> In mosesdecoder I entered following command
>>
>> ./bjam --with-boost=$BOOST_ROOT --with-srilm=$SRILM
>>
>> The above commands lead to some error. I am attaching a build.log file.
>>
>> Kindly go through it and please try to fix it
>> Regards,
>> Apurv Nagvenkar
>> DCST, Goa University
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140325/c27d2c77/attachment.htm

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

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


End of Moses-support Digest, Vol 89, Issue 67
*********************************************

0 Response to "Moses-support Digest, Vol 89, Issue 67"

Post a Comment