Moses-support Digest, Vol 83, Issue 12

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: Fwd: (Hieu Hoang)
2. Re: size of training.out (Hieu Hoang)


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

Message: 1
Date: Sat, 7 Sep 2013 10:36:36 +0200
From: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Subject: Re: [Moses-support] Fwd:
To: Shashi Narayan <shashi.narayan@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbhbOpO9ANPqXPA=4-PDLRxXeavaMOdPY6rcQOrEOjHYog@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"

That seems a little strange. I'll try and debug it

Can you please tell me a few things.
1. What OS are you using? Include version number too. Is it 32 or 64 bit?
2. What boost version do you have installed? This information is in the
file boost/version.hpp. On my Mac:
cat /usr/local/include/boost/version.hpp
It may be slightly different on your machine
3. Where, how, and when did you download Moses?




On 6 September 2013 23:51, Shashi Narayan <shashi.narayan@gmail.com> wrote:

> Hi all,
>
> I am new to moses and having problem building it.
>
> ./bjam -j2 fails with 1 update failure while compiling UTrieNode.cpp.
>
> It would be a great help if someone could point out the problem.
>
> Thanks,
> Shashi
>
>
> XXXXX#~/Softwares/moses$ sudo ./bjam -j2
> Tip: install tcmalloc for faster threading. See BUILD-INSTRUCTIONS.txt
> for more information.
> ...patience...
> ...found 3443 targets...
> ...updating 29 targets...
> gcc.compile.c++
> moses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi/TranslationModel/RuleTable/UTrieNode.o
> /usr/include/c++/4.1.3/bits/stl_map.h: In member function ?_Tp&
> std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key =
> std::vector<int, std::allocator<int> >, _Tp =
> Moses::TargetPhraseCollection, _Compare = std::less<std::vector<int,
> std::allocator<int> > >, _Alloc = std::allocator<std::pair<const
> std::vector<int, std::allocator<int> >, Moses::TargetPhraseCollection> >]?:
> moses/TranslationModel/RuleTable/UTrieNode.cpp:111: instantiated from
> here
> /usr/include/c++/4.1.3/bits/stl_map.h:348: error: no matching function for
> call to
> ?Moses::TargetPhraseCollection::TargetPhraseCollection(Moses::TargetPhraseCollection)?
>
> "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -g -pthread -DKENLM_MAX_ORDER=6 -DMAX_NUM_FACTORS=4 -DNDEBUG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -I"." -I"moses/TranslationModel/DynSAInclude" -I"util/double-conversion"
> -c -o
> "moses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi/TranslationModel/RuleTable/UTrieNode.o"
> "moses/TranslationModel/RuleTable/UTrieNode.cpp"
>
> ...failed gcc.compile.c++
> moses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi/TranslationModel/RuleTable/UTrieNode.o...
> ...skipped
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a(clean)
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>TranslationModel/RuleTable/UTrieNode.o...
> ...skipped
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>TranslationModel/RuleTable/UTrieNode.o...
> ...skipped
> <pmoses-chart-cmd/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>moses_chart
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>moses_chart for lack of
> <pmoses-chart-cmd/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>moses_chart...
> ...skipped
> <pmoses-cmd/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>moses
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>moses for lack of
> <pmoses-cmd/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>moses...
> ...skipped
> <pmoses-cmd/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>lmbrgrid
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>lmbrgrid for lack of
> <pmoses-cmd/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>lmbrgrid...
> ...skipped
> <pOnDiskPt/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>CreateOnDiskPt
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>CreateOnDiskPt for lack of
> <pOnDiskPt/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>CreateOnDiskPt...
> ...skipped
> <pOnDiskPt/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>queryOnDiskPt
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>queryOnDiskPt for lack of
> <pOnDiskPt/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>queryOnDiskPt...
> ...skipped
> <pmisc/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>processPhraseTable
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>processPhraseTable for
> lack of
> <pmisc/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>processPhraseTable...
> ...skipped
> <pmisc/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>processLexicalTable
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>processLexicalTable for
> lack of
> <pmisc/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>processLexicalTable...
> ...skipped
> <pmisc/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>queryPhraseTable
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>queryPhraseTable for lack
> of
> <pmisc/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>queryPhraseTable...
> ...skipped
> <pmisc/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>queryLexicalTable
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>queryLexicalTable for lack
> of
> <pmisc/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>queryLexicalTable...
> ...skipped
> <pmira/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>mira
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>mira for lack of
> <pmira/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>mira...
> ...skipped
> <pcontrib/server/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>mosesserver
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped <p/home/shashito/Softwares/moses/bin>mosesserver for lack of
> <pcontrib/server/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>mosesserver...
> ...skipped <p/home/shashito/Softwares/moses/lib>libmoses.a for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped
> <pmoses/LM/bin/BackwardTest.test/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>BackwardTest
> for lack of
> <pmoses/bin/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
> ...skipped
> <pmoses/LM/bin/BackwardTest.test/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>BackwardTest.run
> for lack of
> <pmoses/LM/bin/BackwardTest.test/gcc-4.1.3/release/debug-symbols-on/link-static/threading-multi>BackwardTest...
> ...failed updating 1 target...
> ...skipped 28 targets...
> The build failed. If you need support, run:
> ./jam-files/bjam -j2 --debug-configuration -d2 >build.log
> then attach build.log to your e-mail.
> ERROR
>
> OUTPUT: BUILD.LOG
> notice: found boost-build.jam at /usr/share/boost-build/boost-build.jam
> notice: loading Boost.Build from /usr/share/boost-build/kernel
> notice: searching "/etc" "/home/shashito" "/usr/share/boost-build/kernel"
> "/usr/share/boost-build" "/usr/share/boost-build/kernel"
> "/usr/share/boost-build/util" "/usr/share/boost-build/build"
> "/usr/share/boost-build/tools" "/usr/share/boost-build/new"
> "/usr/share/boost-build/." for "site-config.jam"
> notice: loading site-config.jam from /etc/site-config.jam
> notice: using gcc libraries :: <toolset>gcc-4.1.3 :: /usr/bin /usr/lib
> /usr/lib32 /usr/lib64
> notice: using gcc archiver :: <toolset>gcc-4.1.3 :: /usr/bin/ar
> warning: toolset gcc initialization: can't find tool windres
> warning: initialized from
> notice: using rc compiler :: <toolset>gcc-4.1.3 :: /usr/bin/as
> notice: searching "/home/shashito" "/usr/share/boost-build/kernel"
> "/usr/share/boost-build" "/usr/share/boost-build/kernel"
> "/usr/share/boost-build/util" "/usr/share/boost-build/build"
> "/usr/share/boost-build/tools" "/usr/share/boost-build/new"
> "/usr/share/boost-build/." for "user-config.jam"
> notice: loading user-config.jam from /usr/share/boost-build/user-config.jam
> /home/shashito/Softwares/moses/jam-files/sanity.jam:54: in modules.load
> *** argument error
> * rule option.get ( name : default-value ? )
> * called with: ( static : : yes )
> * extra argument yes
> /usr/share/boost-build/util/option.jam:11:see definition of rule
> 'option.get' being called
> /usr/share/boost-build/build/project.jam:312: in load-jamfile
> /usr/share/boost-build/build/project.jam:68: in load
> /usr/share/boost-build/build/project.jam:170: in project.find
> /usr/share/boost-build/build-system.jam:248: in load
> /usr/share/boost-build/kernel/modules.jam:261: in import
> /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
> /usr/share/boost-build/boost-build.jam:1: in module scope
>
>
>
>
>
>
>
>
> _______________________________________________
> 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/20130907/2710d8df/attachment-0001.htm

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

Message: 2
Date: Sat, 7 Sep 2013 10:42:39 +0200
From: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Subject: Re: [Moses-support] size of training.out
To: arefeh kazemi <arefeh_kazemi@yahoo.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbhyM+jpwb15aCffaPGEcbV7poa2KPPRAodLG_KiBNvAAQ@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

is your training data empty too? If your phrase-table is empty, something
went wrong

perhaps you should run each step of the training separately to easier see
where it went wrong, eg
./train-model.perl -first-step 1 last-step 2 ....
./train-model.perl -first-step 2 last-step 3 ....
./train-model.perl -first-step 3 last-step 4 ....
...



On 7 September 2013 10:07, arefeh kazemi <arefeh_kazemi@yahoo.com> wrote:

> No. there is no error message in training.out and all of the things in the
> model(alignment , ...) is OK except the phrase-table. my phrase-table.gz
> is
> empty!
>
> _______________________________________________
> 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/20130907/0a20e61e/attachment.htm

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

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


End of Moses-support Digest, Vol 83, Issue 12
*********************************************

0 Response to "Moses-support Digest, Vol 83, Issue 12"

Post a Comment