Moses-support Digest, Vol 104, Issue 5

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: Fail to build and compile moses (Davood Mohammadifar)


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

Message: 1
Date: Tue, 2 Jun 2015 15:55:29 +0000
From: Davood Mohammadifar <davood_mf@hotmail.com>
Subject: Re: [Moses-support] Fail to build and compile moses
To: Jeroen Vermeulen <jtv@precisiontranslationtools.com>,
"moses-support@mit.edu" <moses-support@mit.edu>
Message-ID: <SNT150-W76CE3A168AF3523F0E81328CB50@phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"

my compiler: GCC 4.7.2
I wondered that I was seeing the folder gcc-4.6 in the messages.

My system is not strong:

Memory: 2GB
Cores: 2 (intel Pentium Dual core)

Should i compile with ./bjam -j2 instead of j8?


Subject: Re: [Moses-support] Fail to build and compile moses
From: jtv@precisiontranslationtools.com
Date: Tue, 2 Jun 2015 08:11:49 +0700
To: hieuhoang@gmail.com; davood_mf@hotmail.com; moses-support@mit.edu

On June 1, 2015 10:08:23 PM GMT+07:00, Hieu Hoang <hieuhoang@gmail.com> wrote:
What is the exact version of the compiler you're using? It seems similar to this problem, so try upgrading your compiler or entire OS:
https://github.com/shogun-toolbox/shogun/issues/2111

it sounds like you have a small computer. How much memory and cores do you have? You should decrease the number of cores you use, eg.
./bjam -j2
Hieu Hoang
Researcher
New York University, Abu Dhabi
http://www.hoang.co.uk/hieu


On 1 June 2015 at 18:58, Davood Mohammadifar <davood_mf@hotmail.com> wrote:






My OS: Linux Ubuntu 12.04 32-bit.

One thing that i noticed in that execution:
Virtual memory exhausted: Cannot allocate memory

For solving the problem, I created swap file using commands in:
http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/

I deleted the old /mosesdecoder and copy "clean and fresh" /mosesdecoder (that i backed up after executing git clone https://github.com/moses-smt/mosesdecoder.git) to Home directory.

Then I executed
./bjam -j8

At the end, number of failed targets decreased, But i faced the same error again. The new log file has been
attached.

I don't know about doing weird by sysadmin. How can i check that?

Date: Mon, 1 Jun 2015 10:25:50 +0400
From: hieuhoang@gmail.com
To: moses-support@mit.edu; davood_mf@hotmail.com
Subject: Re: [Moses-support] Fail to build and compile moses






that's a slightly crazy compile error i've never seen before. What
operating system and version are you using? Is it a standard
installation, or do you know if the sysadmin did anything weird to
the system?



On 30/05/2015 17:17, Davood
Mohammadifar wrote:




Hello

After downloading moses (according to command git clone
https://github.com/moses-smt/mosesdecoder.git

in manualI file), I executed the following command for
compiling and building moses.

./bjam -j8



and got error.



It's likely the problems are related to GCC.

The log file is in attachment.

Ubuntu Version: 12.04



Thank you for your helping







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




--
Hieu Hoang
Researcher
New York University, Abu Dhabi
http://www.hoang.co.uk/hieu




Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
By the way, if adding swap files is too much of a hassle, try Swapspace. It's a little daemon that watches if you're running low on memory and if so, automatically gets you some more swap.



(There are other tools that do the same job. I didn't like any of them and wrote Swapspace myself. It's packaged in some of the major distros.)





Jeroen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150602/75aba6a2/attachment-0001.htm

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

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


End of Moses-support Digest, Vol 104, Issue 5
*********************************************

0 Response to "Moses-support Digest, Vol 104, Issue 5"

Post a Comment