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. moses boost path (Arturo Argueta)
2. Re: moses boost path (Kenneth Heafield)
3. Re: Moses profiling (Kenneth Heafield)
4. Re: moses boost path (Arturo Argueta)
5. Re: Boost library naming (Tom Hoar)
6. Re: Boost library naming (Hieu Hoang)
----------------------------------------------------------------------
Message: 1
Date: Sun, 14 Sep 2014 16:10:18 -0400
From: Arturo Argueta <arturoargueta@gmail.com>
Subject: [Moses-support] moses boost path
To: moses-support@mit.edu
Message-ID:
<CAN1wo9h-cbzm+i3PirnWJidUFMm=HYV5_WA_mQAWPatNALJV2w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I'm trying to tell moses where my boost library is located with the
following command:
*./bjam --with-boost=/home/aargueta/boost_1_49_0 -j8*
I opened the log to find what error caused the problem and found this:
*Unable to load Boost.Build: could not find "boost-build.jam"*
*---------------------------------------------------------------*
*Attempted search from /home/aargueta/mosesdecoder up to the root*
*at /home/aargueta/mosesdecoder/share/boost-build*
*and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
/usr/share/boost-build.*
*Please consult the documentation at 'http://www.boost.org
<http://www.boost.org>'.*
Boost is located in my home directory /home/aargueta & with the
--with-boost command it still looks for boost in usr/share.
any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140914/99a127be/attachment-0001.htm
------------------------------
Message: 2
Date: Sun, 14 Sep 2014 21:34:16 -0400
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] moses boost path
To: Arturo Argueta <arturoargueta@gmail.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID: <54164218.4060902@kheafield.com>
Content-Type: text/plain; charset=ISO-8859-1
That's odd. Do you have a broken local bjam install?
Try editing the bjam script to remove the local delegation. Namely,
make it this:
set -e
top="$(dirname "$0")"
if [ ! -x "$top"/jam-files/bjam ] || "$top"/jam-files/bjam -v |grep
2011.4 >/dev/null; then
pushd "$top/jam-files/engine"
./build.sh
cp -f bin.*/bjam ../bjam
popd
fi
export BOOST_BUILD_PATH="$top"/jam-files/boost-build
exec "$top"/jam-files/bjam "$@"
On 09/14/14 16:10, Arturo Argueta wrote:
> I'm trying to tell moses where my boost library is located with the
> following command:
>
> *./bjam --with-boost=/home/aargueta/boost_1_49_0 -j8*
>
> I opened the log to find what error caused the problem and found this:
>
> *Unable to load Boost.Build: could not find "boost-build.jam"*
>
> *---------------------------------------------------------------*
>
> *Attempted search from /home/aargueta/mosesdecoder up to the root*
>
> *at /home/aargueta/mosesdecoder/share/boost-build*
>
> *and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
> /usr/share/boost-build.*
>
> *Please consult the documentation at 'http://www.boost.org'.*
>
> Boost is located in my home directory /home/aargueta & with the
> --with-boost command it still looks for boost in usr/share.
>
> any suggestions?
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
------------------------------
Message: 3
Date: Sun, 14 Sep 2014 21:35:22 -0400
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] Moses profiling
To: moses-support@mit.edu
Message-ID: <5416425A.4040507@kheafield.com>
Content-Type: text/plain; charset=ISO-8859-1
Append "profile" to the command line. This is also documented in ./bjam
--help (once you get the search path working...).
On 09/13/14 16:54, Arturo Argueta wrote:
> Is there any way to enable profiling on moses? I've heard that one
> modification on one bjam can enable profiling on moses
>
> Thanks
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
------------------------------
Message: 4
Date: Sun, 14 Sep 2014 22:27:12 -0400
From: Arturo Argueta <arturoargueta@gmail.com>
Subject: Re: [Moses-support] moses boost path
To: Kenneth Heafield <moses@kheafield.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CAN1wo9jax7QzQ+34qKRYCOah5CC6PV7o9rR-8Bxw7BOW_3N5bg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
It didn't work. It still gives me the same problem
Am Sonntag, 14. September 2014 schrieb Kenneth Heafield :
> That's odd. Do you have a broken local bjam install?
>
> Try editing the bjam script to remove the local delegation. Namely,
> make it this:
>
> set -e
> top="$(dirname "$0")"
> if [ ! -x "$top"/jam-files/bjam ] || "$top"/jam-files/bjam -v |grep
> 2011.4 >/dev/null; then
> pushd "$top/jam-files/engine"
> ./build.sh
> cp -f bin.*/bjam ../bjam
> popd
> fi
>
> export BOOST_BUILD_PATH="$top"/jam-files/boost-build
> exec "$top"/jam-files/bjam "$@"
>
>
> On 09/14/14 16:10, Arturo Argueta wrote:
> > I'm trying to tell moses where my boost library is located with the
> > following command:
> >
> > *./bjam --with-boost=/home/aargueta/boost_1_49_0 -j8*
> >
> > I opened the log to find what error caused the problem and found this:
> >
> > *Unable to load Boost.Build: could not find "boost-build.jam"*
> >
> > *---------------------------------------------------------------*
> >
> > *Attempted search from /home/aargueta/mosesdecoder up to the root*
> >
> > *at /home/aargueta/mosesdecoder/share/boost-build*
> >
> > *and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
> > /usr/share/boost-build.*
> >
> > *Please consult the documentation at 'http://www.boost.org'.*
> >
> > Boost is located in my home directory /home/aargueta & with the
> > --with-boost command it still looks for boost in usr/share.
> >
> > any suggestions?
> >
> >
> >
> > _______________________________________________
> > Moses-support mailing list
> > Moses-support@mit.edu <javascript:;>
> > 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/20140914/357de2be/attachment-0001.htm
------------------------------
Message: 5
Date: Mon, 15 Sep 2014 10:44:20 +0700
From: Tom Hoar <tahoar@precisiontranslationtools.com>
Subject: Re: [Moses-support] Boost library naming
To: moses-support@mit.edu
Message-ID: <54166094.6030704@precisiontranslationtools.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
I support the effort. Updating to standard expectations almost always
reduces support requests.
Regards,
Tom
On 09/12/2014 02:05 PM, Pierre Lison wrote:
> Hi,
>
> I second Christian's request. We got into some trouble installing Moses on our cluster because of this naming scheme. It would be great to switch to a standard library layout for Boost.
>
> Cheers,
>
> Pierre
>
>
> 10. sep. 2014 kl. 18:14 skrev Christian Hardmeier <christian.hardmeier@lingfil.uu.se>:
>
>> Hi everyone,
>>
>> Moses currently requires installing the Boost libraries with the --layout=tagged option. This library naming scheme has been non-standard on Unix-like systems since Boost 1.40.0. It forces you to use special options when installing Boost, and it can lead to trouble if you then try to link Moses against other software that prefers a standard installation - effectively you have to install Boost twice to make everybody happy.
>>
>> In my opinion, it would be preferable if Moses used the --layout=system scheme that you get by default in recent versions of Boost. Would anybody object to this?
>>
>> Best,
>> Christian
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
> --
> Pierre Lison (Postdoctoral Research Fellow)
> Department of Informatics, University of Oslo
> Mobile: +47.967.998.12
> Web: http://folk.uio.no/plison
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
------------------------------
Message: 6
Date: Mon, 15 Sep 2014 07:30:54 +0200
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Boost library naming
To: Tom Hoar <tahoar@precisiontranslationtools.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID: <08AEF1C0-9B06-421E-8647-1A4E79616ADB@gmail.com>
Content-Type: text/plain; charset=us-ascii
Sounds good. Since there's been no objection, feel free to check in yhe change yourself. Otherwise I'll do it in the next couple of weeks
Sent from my flying horse
> On 15 Sep 2014, at 05:44 am, Tom Hoar <tahoar@precisiontranslationtools.com> wrote:
>
> I support the effort. Updating to standard expectations almost always
> reduces support requests.
>
> Regards,
> Tom
>
>
>> On 09/12/2014 02:05 PM, Pierre Lison wrote:
>> Hi,
>>
>> I second Christian's request. We got into some trouble installing Moses on our cluster because of this naming scheme. It would be great to switch to a standard library layout for Boost.
>>
>> Cheers,
>>
>> Pierre
>>
>>
>>> 10. sep. 2014 kl. 18:14 skrev Christian Hardmeier <christian.hardmeier@lingfil.uu.se>:
>>>
>>> Hi everyone,
>>>
>>> Moses currently requires installing the Boost libraries with the --layout=tagged option. This library naming scheme has been non-standard on Unix-like systems since Boost 1.40.0. It forces you to use special options when installing Boost, and it can lead to trouble if you then try to link Moses against other software that prefers a standard installation - effectively you have to install Boost twice to make everybody happy.
>>>
>>> In my opinion, it would be preferable if Moses used the --layout=system scheme that you get by default in recent versions of Boost. Would anybody object to this?
>>>
>>> Best,
>>> Christian
>>> _______________________________________________
>>> Moses-support mailing list
>>> Moses-support@mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>> --
>> Pierre Lison (Postdoctoral Research Fellow)
>> Department of Informatics, University of Oslo
>> Mobile: +47.967.998.12
>> Web: http://folk.uio.no/plison
>>
>>
>> _______________________________________________
>> 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
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 95, Issue 20
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 95, Issue 20"
Post a Comment