mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2009-09-16, 16:44   #23
J.F.
 
J.F.'s Avatar
 
Jun 2008

23·32 Posts
Default

Unfortunately, 64-bit mode does not work for me:

Code:
FATAL: kernel too old
Segmentation fault
while uname -a says
Code:
Linux hpcibm1 2.6.8-11-amd64-k8-smp #1 SMP Sun Oct 2 20:03:22 UTC 2005 x86_64 GNU/Linux
Any other links?
J.F. is offline   Reply With Quote
Old 2009-09-16, 17:09   #24
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

It should be relatively straightforward to build it.
The source is in src/experimental/lasieve4_64/ branch of ggnfs sourceforge and there's a readme with instructions. (Sorry, old kernel machines hard to find.)
Batalov is offline   Reply With Quote
Old 2009-09-16, 17:10   #25
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2·34·13 Posts
Default

Has anyone successfully compiled the 64-bit optimized version for Windows x64? If not, we should ask Brian Gladman if he's willing to port it.
frmky is offline   Reply With Quote
Old 2009-09-16, 17:23   #26
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

10110111110002 Posts
Default

Quote:
Originally Posted by frmky View Post
Has anyone successfully compiled the 64-bit optimized version for Windows x64? If not, we should ask Brian Gladman if he's willing to port it.
whats wrong with mingw64?
henryzz is offline   Reply With Quote
Old 2009-09-17, 13:43   #27
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3·17·23 Posts
Default

Quote:
Originally Posted by henryzz View Post
whats wrong with mingw64?
Nothing, does anyone have a link to a Windows x64 binary (native, mingw, whatever) of the 64bit experimental version for us to download and use?
Jeff Gilchrist is offline   Reply With Quote
Old 2009-09-18, 18:33   #28
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default R 67-68M

I figured that the deposition site is going to be the same fivemack.dyndns.org, M941/ directory.
...and there goes the first pancake.
R67-68M.bz2 2,122,258 relns (of which 3,659 are duplicates)
Sieved in 2.0Ms on Phenom940.

No problems with 16e found; there's no yield dip and there were no badscheds. Same for 67M-a which is almost finished.

fivemack: M941.67M-a.bz2 is truncated after line 990250 "-127824373,185539869:44a61f7,8f89333,5f22eb,61f489,15aea99,19a9,1f67,4057307:1d9b9ea1,21b7d45f,6e527,7b14f,ad41f,6bb997,7686d9"

Last fiddled with by fivemack on 2009-09-18 at 18:58
Batalov is offline   Reply With Quote
Old 2009-09-19, 12:02   #29
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22·7·19 Posts
Default

Quote:
Originally Posted by henryzz View Post
whats wrong with mingw64?
Nothing, provided that you don't need the x64 assembler code. But it's highly likely that the performance of the x64 lattice siever depends on the x64 assembler and neither mingw64 nor Visual Studio can make any use of this until it is ported onto Windows.

Sadly, x64 on Linux and Windows use significantly different calling conventions, which means that porting assembler code requires a lot more work than simple format conversion. This is not too hard if the assembler has been written with this in mind (as in MPIR for example) but otherwise it can be a pretty daunting task.

I have looked at the assembler code in the GGNFS experimental directory and its volume and its poor structure from a porting point of view means that I won't be doing this. It is possible that the code was auto-generated and, if so, the generator might offer a better starting point.

It is worth noting that it is NOT hard to write x64 assembler code that can be easily moved between Linux and Windows provided that this is consciously considered when the code is first written. MPIR code is written in this way and, deliberately or not, it turns out that the x64 assembler code in GMP is also easy to convert.
Brian Gladman is offline   Reply With Quote
Old 2009-09-19, 12:53   #30
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Is there an easy way to compile GGNFS for 64-bit-linux on a core 2 duo? If not - are there precompiled binaries for 64-bit linux on a C2D available?

fivemack: see http://www.mersenneforum.org/showpos...7&postcount=20
(or did you actually mean GGNFS, procrels and suchlike, in which case, why?)

Last fiddled with by fivemack on 2009-09-19 at 13:03
Andi47 is offline   Reply With Quote
Old 2009-09-19, 13:05   #31
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23·3·5·72 Posts
Default

Quote:
Originally Posted by Andi47 View Post
Is there an easy way to compile GGNFS for 64-bit-linux on a core 2 duo? If not - are there precompiled binaries for 64-bit linux on a C2D available?
http://mersenneforum.org/showpost.ph...1&postcount=28
they are optimized for amd cpus but someone says later on that that shouldn't make that much difference
they are what i use on a core 2 quad
henryzz is offline   Reply With Quote
Old 2009-09-19, 13:37   #32
Joe O
 
Joe O's Avatar
 
Aug 2002

3·52·7 Posts
Default 10.1 Call stubs for 64-bit conversions

Quote:
Originally Posted by Brian Gladman View Post
Nothing, provided that you don't need the x64 assembler code. But it's highly likely that the performance of the x64 lattice siever depends on the x64 assembler and neither mingw64 nor Visual Studio can make any use of this until it is ported onto Windows.

Sadly, x64 on Linux and Windows use significantly different calling conventions, which means that porting assembler code requires a lot more work than simple format conversion. This is not too hard if the assembler has been written with this in mind (as in MPIR for example) but otherwise it can be a pretty daunting task.

I have looked at the assembler code in the GGNFS experimental directory and its volume and its poor structure from a porting point of view means that I won't be doing this. It is possible that the code was auto-generated and, if so, the generator might offer a better starting point.

It is worth noting that it is NOT hard to write x64 assembler code that can be easily moved between Linux and Windows provided that this is consciously considered when the code is first written. MPIR code is written in this way and, deliberately or not, it turns out that the x64 assembler code in GMP is also easy to convert.
Will this help?
10.1 Call stubs for 64-bit conversions
Joe O is offline   Reply With Quote
Old 2009-09-19, 15:06   #33
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

9B216 Posts
Default

Quote:
Originally Posted by Andi47 View Post
fivemack: see http://www.mersenneforum.org/showpos...7&postcount=20
(or did you actually mean GGNFS, procrels and suchlike, in which case, why?)
The link posted there is 404.

Edit: And the link to which Henryzz's posting directs to, requires a password.

I have installed Ubuntu 9.04 (64 bit) this week on a C2D laptop which was running WinXP-32 until then, and I'm currently running the matrix of 2,1766M, which will finish around Monday morning. When it finishes, I want to install GGNFS (gnfs-lasieve4I1?e and such), I also plan to run a part of my range for M941 on this node.

Last fiddled with by Andi47 on 2009-09-19 at 15:07
Andi47 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible response to "only uploading is lawsuit-worthy." jasong jasong 3 2012-12-27 16:40
New Computation JohnFullspeed Miscellaneous Math 8 2011-07-13 10:54
New Pi Computation Record ldesnogu Lounge 11 2010-01-07 14:42
Value of computation fivemack Lounge 0 2008-09-05 20:23
Saving computation in ECM dave_dm Factoring 8 2004-06-12 14:18

All times are UTC. The time now is 03:12.


Sat Jul 17 03:12:06 UTC 2021 up 50 days, 59 mins, 1 user, load averages: 1.66, 1.43, 1.35

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.