GF
GF copied to clipboard
Conversion of AppGer.gf and AppFre.gf to .Pgf not working
$ make AppGer.pgf mkdir -p ./gfos && gf -s -make -literal=PN,Symb -probs=./app.probs -gfo-dir ./gfos -name=AppGer AppGer.gf gf: out of memory (requested 1048576 bytes) Makefile:61: recipe for target 'AppGer.pgf' failed make: *** [AppGer.pgf] Error 251
when trying to convert AppGer.gf and AppFre.gf to .Pgf,i am getting out of memory error.kindly need help for the same.Any help would be much appreciated. Thanks in advance.
It works but you need a lot of memory.
На чт, 26.04.2018 г., 6:00 Nitro91 [email protected] написа:
$ make AppGer.pgf mkdir -p ./gfos && gf -s -make -literal=PN,Symb -probs=./app.probs -gfo-dir ./gfos -name=AppGer AppGer.gf gf: out of memory (requested 1048576 bytes) Makefile:61: recipe for target 'AppGer.pgf' failed make: *** [AppGer.pgf] Error 251
when trying to convert AppGer.gf and AppFre.gf to .Pgf,i am getting out of memory error.kindly need help for the same.Any help would be much appreciated. Thanks in advance.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GrammaticalFramework/GF/issues/35, or mute the thread https://github.com/notifications/unsubscribe-auth/ATBZZNANZZ-_YbMeyoOXwx60RaGpd-znks5tsUZpgaJpZM4TkfRE .
Thanks for the reply. Where exactly do we need memory?is it OS ram you are talking about?And if yes, how much ram do we need?i am having 16GB RAM. Is it possible that you can compile both files to .pgf and post out here for me please. or could you suggest me any alternative,so that i can get App.pgf that includes grammar definition for all 17 languages.My ultimate goal here is to get AppLang_c for all 17 languages.E.g: AppEng.pgf_c,AppGer.pgf_c,AppFre.pgf_c,etc... Thanks.
I have 16GB as well but I can't reproduce the problem. I have seen this problem before. Sometimes French fails to compile but then if I run the make file once more it succeeds. I guess that with the given memory the compiler manages to do part of the compilation and the output is stored in the .gfo files. On the second run it does the rest. I have never had the same problem with German.
I am using the version of GF from git repository compiled with GHC 7.10.3.
On 26 April 2018 at 07:31, Nitro91 [email protected] wrote:
Thanks for the reply. Where exactly do we need memory?is it OS ram you are talking about?And if yes, how much ram do we need?i am having 16GB RAM.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrammaticalFramework/GF/issues/35#issuecomment-384518335, or mute the thread https://github.com/notifications/unsubscribe-auth/ATBZZLixslFg0TsR55K8wtguGb8PrL_7ks5tsVuggaJpZM4TkfRE .
@Nitro91 Can you try giving +RTS -K100M -RTS
as an argument to gf
? Or try a bigger amount of memory if 100M is not enough.
The whole command is this:
mkdir -p ./gfos && gf +RTS -K100M -RTS -s -make -literal=PN,Symb -probs=./app.probs -gfo-dir ./gfos -name=AppGer AppGer.gf
Thank you all for your replies.Now i got AppGer.pgf file but still no luck with AppFre.pgf. I got AppGer.pgf by editing the make file with the below code: AppGer.pgf:: ; $(GFMKT) -name=AppGer AppGer.gf +RTS -K100M. but when tried the same with AppFre.gf, it says out of memory. Any help would be much appreciated. Thanks again.
@Nitro91 Try more than 100M of memory, for instance 500M. If it doesn't work, I can try myself and upload a compiled AppFre.pgf (if I manage to compile it) later today.
Did anyone managed to get AppFre.pgf? or is there any alternative to get App.pgf consisting of all 17 language's grammar?
@Nitro91 Try this: http://grammaticalframework.org/~inari/AppFre.pgf
Thanks. How did you managed to get AppFre.pgf file.Which configuration did you used ? Why Iam asking this is we are not getting it correctly.The same error is arising again(Out of memory).
os -name=AppFre AppFre.gf +RTS -K500M gf: out of memory (requested 1048576 bytes) Makefile:64: recipe for target 'AppFre.pgf' failed make: *** [AppFre.pgf] Error 251
@Nitro91 I actually just found that PGF on the grammaticalframework.org server, I suppose it was compiled on that same machine.
Did you try what Krasimir suggested? "Sometimes French fails to compile but then if I run the make file once more it succeeds. I guess that with the given memory the compiler manages to do part of the compilation and the output is stored in the .gfo files. On the second run it does the rest."