mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2008-02-19, 23:15   #1
FactorEyes
 
FactorEyes's Avatar
 
Oct 2006
vomit_frame_pointer

23·32·5 Posts
Default Compiling gnfs-lasieve4I1?e on for AMD 64

I'm running 64-bit Linux on AMD Opterons.

Running "make x86_64" produces a slightly slow set of gnfs-lasieve4I1[234]e binaries, and also makes a procrels which consistently crashes.

The secret may lie in the target "common" in the top-level makefile.

Code:
common :
        echo "#define GGNFS_VERSION \"$(VERSION)-$(ARCH)\"" > include/version.h
        @cd src/lasieve4 && rm -f -r asm && ln -s piii asm
        @HOST=generic ARCH=$(ARCH) $(MAKE) -C src
I believe, for starters, that "piii" above should read "generic" instead, and then I must create a header file siever-config.h in the src/lasieve/generic/ directory from the siever-config64.w example, but all attempts lead to errors.

Am I looking in the right direction? Any pointers?

Last fiddled with by FactorEyes on 2008-02-19 at 23:18
FactorEyes is offline   Reply With Quote
Old 2008-02-19, 23:40   #2
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

1000000101002 Posts
Default

You must be using an old source. The common target should use the ppc32 directory:

Code:
common :
   echo "#define GGNFS_VERSION \"$(VERSION)-$(ARCH)\"" > include/version.h
   @cd src/lasieve4 && rm -f -r asm && ln -s ppc32 asm
   @HOST=generic ARCH=$(ARCH) $(MAKE) -C src
Yes, that's a bad naming convention, but correct. :) You can get the latest source using SVN from Sourceforge.

Greg
frmky is offline   Reply With Quote
Old 2008-02-20, 01:32   #3
FactorEyes
 
FactorEyes's Avatar
 
Oct 2006
vomit_frame_pointer

23·32·5 Posts
Default Oops

My error. I had replaced "ppc32" with "generic", and then switched it back to "piii" for some weird reason.

It doesn't work anyway -- I think the lack of assembler code files in the /generic directory is one among many reasons for this.

Your post on another thread just dealt with this anyway: the assembler code for AMD64 hasn't been written yet, at least for public consumption.
FactorEyes is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling GNFS sievers on AArch64 platform wombatman Programming 11 2017-03-11 03:12
compiling GMP-ECM ATH GMP-ECM 69 2017-01-04 12:03
Need help compiling YAFU from SVN. Stargate38 YAFU 14 2016-01-20 21:46
Compiling 24.14 CBoland Software 6 2007-08-01 00:11
Compiling GMP-ECM With GWNUM tmorrow GMP-ECM 5 2007-04-04 00:39

All times are UTC. The time now is 13:37.

Thu Mar 4 13:37:07 UTC 2021 up 91 days, 9:48, 1 user, load averages: 3.59, 3.12, 2.96

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.