mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Factoring (https://www.mersenneforum.org/forumdisplay.php?f=19)
-   -   Running GGNFS (https://www.mersenneforum.org/showthread.php?t=9645)

henryzz 2011-10-11 07:58

One option would be to edit factmsieve.pl/py. There isn't a huge difference between 11e and 12e.

xilman 2011-10-11 10:20

[QUOTE=henryzz;274091]One option would be to edit factmsieve.pl/py. There isn't a huge difference between 11e and 12e.[/QUOTE]Alternatively, make 11e be a symlink to 12e

EdH 2011-10-11 14:40

[QUOTE=xilman;274097]Alternatively, make 11e be a symlink to 12e[/QUOTE]
Thanks - good idea and saves script editing. Or, maybe I'll just copy and rename for now... (should have thought of that before...)

However, shouldn't I seek a resolution via the repository? Since 15 and 16 weren't created and they are also in the list, should something be changed? I know I can get 15 from frmky and probably won't need 16, but it just seems something might need work. Unfortunately, I don't have the knowledge to offer much help toward a resolution.

Thanks for the assistance.

bsquared 2011-10-11 15:00

[QUOTE=EdH;274121]
However, shouldn't I seek a resolution via the repository? .[/QUOTE]

Here are my build notes. The makefiles in the experimental lasieve4_64 and athlon64 directories support these just fine.

[CODE]
[FONT=Calibri]cd athlon64[/FONT]
[FONT=Calibri]make liblasieve.a[/FONT]
[FONT=Calibri]make liblasieveI11.a[/FONT]
[FONT=Calibri]make liblasieveI12.a[/FONT]
[FONT=Calibri]make liblasieveI13.a[/FONT]
[FONT=Calibri]make liblasieveI14.a[/FONT]
[FONT=Calibri]make liblasieveI15.a[/FONT]
[FONT=Calibri]make liblasieveI16.a[/FONT]
[FONT=Calibri]cp *.a ..[/FONT]
[FONT=Calibri]cd ..[/FONT]
[FONT=Calibri]make[/FONT]
[/CODE]

Brian Gladman 2011-10-11 15:20

There is an error in my script that causes the printout you saw but this is triggered by another problem. The script should have printed out:

[CODE]
-> Current special q = <?> has exceeded max. large alg. prime = <>!
-> You can try increasing LPBA, re-launch this script and cross your fingers.
-> But be aware that if you're seeing this, your factorization is taking
-> much longer than it would have with better parameters.
[/CODE]

I'll correct this script error in the next revision.

EdH 2011-10-11 18:21

[QUOTE=bsquared;274124]Here are my build notes. The makefiles in the experimental lasieve4_64 and athlon64 directories support these just fine.

[CODE]
[FONT=Calibri]cd athlon64[/FONT]
[FONT=Calibri]make liblasieve.a[/FONT]
[FONT=Calibri]make liblasieveI11.a[/FONT]
[FONT=Calibri]make liblasieveI12.a[/FONT]
[FONT=Calibri]make liblasieveI13.a[/FONT]
[FONT=Calibri]make liblasieveI14.a[/FONT]
[FONT=Calibri]make liblasieveI15.a[/FONT]
[FONT=Calibri]make liblasieveI16.a[/FONT]
[FONT=Calibri]cp *.a ..[/FONT]
[FONT=Calibri]cd ..[/FONT]
[FONT=Calibri]make[/FONT]
[/CODE][/QUOTE]
Thanks for the try, but I'm either in the wrong place or I'm not understanding something correctly.

I changed to the athlon64 directory:
[code]
/home/duser/Math/ggnfs/trunk/src/experimental/lasieve4_64/athlon64
[/code]I didn't find any other athlon64 folder.

All the makes here worked fine.

I copied them up one level which placed copies in the lasieve4_64 folder. Make here does not run:
[code]
cc -O3 -march=k8 -mtune=k8 -funroll-loops -I. -I./asm -c -DI_bits=11 -o gnfs-lasieve4eI11.o gnfs-lasieve4e.c
gnfs-lasieve4e.c:36:31: fatal error: asm/siever-config.h: No such file or directory
compilation terminated.
make: *** [gnfs-lasieve4eI11.o] Error 1
[/code]I tried copying them up successive levels and running make x86_64 in trunk each time, with no success. I just received the following:
[code]
gcc: error: asm/liblasieveI15.a: No such file or directory
make[3]: *** [../../bin/gnfs-lasieve4I15e] Error 1
rm lasieve-prepn.o prho.o asm/liblasieve.a asm/liblasieveI13.a gnfs-lasieve4eI14.o real-poly-aux.o recurrence6.o mpqs.o primgen32.o asm/liblasieveI14.a redu2.o gnfs-lasieve4eI12.o input-poly.o gnfs-lasieve4eI13.o gnfs-lasieve4eI15.o asm/liblasieveI12.a
make[3]: Leaving directory `/home/duser/Math/ggnfs/trunk/src/lasieve4'
make[2]: *** [latsiever] Error 2
make[2]: Leaving directory `/home/duser/Math/ggnfs/trunk/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/home/duser/Math/ggnfs/trunk'
make: *** [x86_64] Error 2
[/code]I did run make clean before each attempt. Sorry I'm so thick...:sad:

Andi47 2011-10-11 18:25

[QUOTE=henryzz;274091]One option would be to edit factmsieve.pl/py. There isn't a huge difference between 11e and 12e.[/QUOTE]

ermmmm.... and rise your local crossover point between SIQS and GNFS by ~10 digits.

bsquared 2011-10-11 19:12

[QUOTE=EdH;274137]I did run make clean before each attempt. Sorry I'm so thick...:sad:[/QUOTE]

Hold the phone - when exactly did you run make clean? make clean will wipe the .a files you just copied from the athlon64 directory, so don't run make clean before the final make (in the lasieve4_64 directory).

Also, I think you need to symbolically link the athlon64 directory to asm/

EdH 2011-10-11 20:59

[QUOTE=bsquared;274145]Hold the phone - when exactly did you run make clean? make clean will wipe the .a files you just copied from the athlon64 directory, so don't run make clean before the final make (in the lasieve4_64 directory).

Also, I think you need to symbolically link the athlon64 directory to asm/[/QUOTE]
Actually, I checked each time I ran make clean and it didn't remove them from anywhere. I now have lots of those files throughout my copy of the repository.:smile:

Off to check out a clean copy and try again with the link...

Edit: First try didn't work.:sad: But, I must delay further testing for now. Thank you for all the help.

bsquared 2011-10-11 21:52

[QUOTE=EdH;274151]Actually, I checked each time I ran make clean and it didn't remove them from anywhere. I now have lots of those files throughout my copy of the repository.:smile:[/QUOTE]

Interesting... the 'clean' directive in my copy of the Makefile in the lasieve4_64 directory looks like this:

[CODE]clean:
ifeq ($(OS),Windows_NT)
-rm -f *.o *.a $(BINDIR)/gnfs-lasieve4I1?e.exe
else
-rm -f *.o *.a $(BINDIR)/gnfs-lasieve4I1?e
endif
(test -d asm && $(MAKE) -C asm clean) || exit 0
[/CODE]

and it definately wipes the *.a files. Now I wonder if we have the same version of the experimental repository...

EdH 2011-10-12 01:55

[QUOTE=bsquared;274154]Interesting... the 'clean' directive in my copy of the Makefile in the lasieve4_64 directory looks like this:

[CODE]clean:
ifeq ($(OS),Windows_NT)
-rm -f *.o *.a $(BINDIR)/gnfs-lasieve4I1?e.exe
else
-rm -f *.o *.a $(BINDIR)/gnfs-lasieve4I1?e
endif
(test -d asm && $(MAKE) -C asm clean) || exit 0
[/CODE]and it definately wipes the *.a files. Now I wonder if we have the same version of the experimental repository...[/QUOTE]
Well, I tried make clean again and this time it did delete them. Maybe I didn't do clean in that directory last time on my way up toward trunk trying each level.

Anyway, It made it further, but I still get an error:
[code]
cc -O3 -march=k8 -mtune=k8 -funroll-loops -I. -I./asm -L. -o gnfs-lasieve4I11e gnfs-lasieve4eI11.o if.o input-poly.o redu2.o recurrence6.o fbgen.o real-poly-aux.o primgen32.o lasieve-prepn.o mpqs.o libgmp-aux.a liblasieve.a liblasieveI11.a -lgmp-aux -lgmp -lm -static
/usr/bin/ld: cannot find -lgmp
/usr/bin/ld: cannot find -lm
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [gnfs-lasieve4I11e] Error 1
[/code]On top of that, for some odd reason, I can no longer get a complete download from the repository. I tried to do a purely clean checkout several times and they lock it up so I have to delete the folder to try again. I have a couple copies I'm trying things with, but expected to start from scratch. Oh well, sorry to be a pain again. It must be me... I don't hear of any others having these difficulties.:sad:


All times are UTC. The time now is 21:49.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.