Sorry got confused by revisions.  Now you do.

On 01/17/13 11:52, Marcin Junczys-Dowmunt wrote:
> Sure about that? I don't see a FMakeTemp function anywhere ...
>
> W dniu 17.01.2013 12:28, Kenneth Heafield pisze:
>> Open moses/TranslationModel/CompactPT/MmapAllocator.h and go to line 58,
>> specifically:
>>
>> m_file_ptr(std::tmpfile())
>>
>> Change std::tmpfile() to util::FMakeTemp("/hardcoded/prefix")
>>
>> Add a #include "util/file.hh"
>>
>> Kenneth
>>
>> On 01/17/13 11:20, Jacob Dlougach wrote:
>>> Is it worth trying setting TMPDIR environment variable?
>>>
>>>
>>> 2013/1/17 Marcin Junczys-Dowmunt<[email protected]
>>> <mailto:[email protected]>>
>>>
>>>       That might actually be it, although I would expect a segfault or a 
>>> "bad
>>>       alloc" in that case. I do not have the equivalent of a -T option yet 
>>> and
>>>       the intermediate representations of the phrase table before 
>>> compression
>>>       are by default built in the system's temporary folder (although
>>>       invisible). So if your temporary folder is too small it will not 
>>> work. A
>>>       quick work-around would be to symlink your /tmp folder to a partition
>>>       where you have more space. I'd say you need at least as much space in
>>>       your temporary folder as the size of the uncompressed text version of
>>>       the phrase table or reordering table.
>>>
>>>       W dniu 17.01.2013 11:30, Jacob Dlougach pisze:
>>>        >  Marcin Junczys-Dowmunt<junczys@...>  writes:
>>>        >>  And another question, do you have by any chance a non-standard
>>>       setup for
>>>        >>  your temporary folder? Particularly small, located in memory 
>>> etc.?
>>>        >>
>>>        >  If by temporary directory you mean /tmp, then it is in fact
>>>       rather small, and I
>>>        >  had to specify -T parameter for "sort" to make it work. Talking
>>>       of truncating
>>>        >  phrase table, I'll do that as soon as I can.
>>>        >
>>>        >  _______________________________________________
>>>        >  Moses-support mailing list
>>>        >  [email protected]<mailto:[email protected]>
>>>        >  http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>>       _______________________________________________
>>>       Moses-support mailing list
>>>       [email protected]<mailto:[email protected]>
>>>       http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> [email protected]
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to