Moses-support Digest, Vol 83, Issue 13

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: (Kenneth Heafield)
2. problems with backward LM tests (Ale? Tamchyna)


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

Message: 1
Date: Sat, 07 Sep 2013 09:54:01 +0100
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] Fwd:
To: moses-support@mit.edu
Message-ID: <522AE9A9.8070109@kheafield.com>
Content-Type: text/plain; charset=windows-1252

Fixed.

In 841ce108a5258117920289448b57abe684375348, Hieu added an explicit copy
constructor for TargetPhraseCollection but technically its use as a
value in std::map (which happens with ancient Boost) requires that it be
implicitly copyable.

On 09/07/13 09:36, Hieu Hoang wrote:
> 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
> <mailto: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 <tel: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 <mailto: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
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>


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

Message: 2
Date: Sat, 07 Sep 2013 17:37:08 +0200
From: Ale? Tamchyna <a.tamchyna@gmail.com>
Subject: [Moses-support] problems with backward LM tests
To: moses-support@mit.edu
Message-ID: <522B4824.6080106@gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I'm trying to compile current Moses and I'm getting errors in backward
LM tests. On a 64bit Ubuntu (GCC 4.3, Boost 1.40), I get a linker error
when building the test (see attached bjam64bit.log). On a 32bit Gentoo
(GCC 4.6, Boost 1.52), the test compiles but fails (see bjam32bit.log).
What could be the problem?

It works fine on my laptop though :)

Best,
Ales


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bjam32bit.log
Type: text/x-log
Size: 2021 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20130907/551e1e9f/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bjam64bit.log
Type: text/x-log
Size: 7423 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20130907/551e1e9f/attachment-0003.bin

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

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


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

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

Post a Comment