mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2022-06-09, 03:19   #1
BigNumberGuy
 
May 2022

3·7 Posts
Default GNFS

Does anyone know the requirements to use the various GNFS services? I couldn't get any of them to work...
I'm using MacOS btw so idk if that will affect anything
BigNumberGuy is offline   Reply With Quote
Old 2022-06-09, 07:15   #2
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

31×179 Posts
Default

Can you be more specific about what you mean by "services"?
Do you mean software packages?
VBCurtis is offline   Reply With Quote
Old 2022-06-09, 12:25   #3
BigNumberGuy
 
May 2022

3·7 Posts
Default

yes, for example (idk if this is good) ggnfs
BigNumberGuy is offline   Reply With Quote
Old 2022-06-09, 16:32   #4
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

31·179 Posts
Default

If you're struggling with software use, we can help you troubleshoot but only if you give dramatically more detail- what exactly did you try to do, what command did you type, and what was the output / error message you received when you tried that command?

"It didn't work" gives us nothing to go on.

Unless one really knows what one is doing, one does not run the GGNFS sievers directly. They're a tool within a GNFS-solving package, such as YAFU. You can't run the GGNFS siever without first finding a polynomial for your GNFS job, and a siever does not do that.

I've haven't owned a Mac since an SE/30 in 1990, so I can't suggest exactly what to do to get factoring software set up.
VBCurtis is offline   Reply With Quote
Old 2022-06-09, 16:36   #5
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

2·3·7·29 Posts
Default

A big difference might make whether your Mac is an x86 or Arm one (or, really unlikely, PowerPC). Which one do you own?
kruoli is online now   Reply With Quote
Old 2022-06-09, 16:38   #6
charybdis
 
charybdis's Avatar
 
Apr 2020

53×7 Posts
Default

CADO-NFS should run on a Mac (edit: possibly not an ARM one?), though I have no experience in this regard. The readme contains some specifics about installation on Macs, e.g. needing to install wget if you don't already have it.

Last fiddled with by charybdis on 2022-06-09 at 16:39
charybdis is offline   Reply With Quote
Old 2022-06-10, 00:35   #7
BigNumberGuy
 
May 2022

2110 Posts
Default

My Mac is Mac OS X, i don't really know if it's a x86 or an ARM one, (though i guess it might be x86)
Which one is easiest to use?

EDIT: after a bit of searching i think its an ARM one

Last fiddled with by BigNumberGuy on 2022-06-10 at 00:37
BigNumberGuy is offline   Reply With Quote
Old 2022-06-10, 02:26   #8
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

5,077 Posts
Default

I have CADO-NFS running on a Raspberry Pi, so it must be able to build under ARM. It is an older version, but I don't think they would drop it once it's supported. It would take too long to update mine to the current version tonight, but maybe tomorrow I'll make sure it still runs with the current version.
EdH is offline   Reply With Quote
Old 2022-06-10, 11:16   #9
BigNumberGuy
 
May 2022

3×7 Posts
Default

Quote:
Originally Posted by EdH View Post
I have CADO-NFS running on a Raspberry Pi, so it must be able to build under ARM. It is an older version, but I don't think they would drop it once it's supported. It would take too long to update mine to the current version tonight, but maybe tomorrow I'll make sure it still runs with the current version.
What exactly do i need to download from the github page? The entire file or like some folder or what?
I'm not exactly familiar with C/C++.
BigNumberGuy is offline   Reply With Quote
Old 2022-06-10, 12:57   #10
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

13D516 Posts
Default

Quote:
Originally Posted by BigNumberGuy View Post
What exactly do i need to download from the github page? The entire file or like some folder or what?
I'm not exactly familiar with C/C++.
If you're running linux, the best way is to use git.* You also need GMP, but I suggest you install that via the repository, if possible:

sudo apt install libgmp-dev

Then use:

git clone https://gitlab.inria.fr/cado-nfs/cado-nfs.git

Move into the cado-nfs directory and use:

make

You might be prompted to install cmake - choose yes.

The compilation of everything takes a few minutes.

When it finishes, it's a good idea to run:

make check

This will also take a few minutes, but should ensure all compiled well.

After everything finishes, you can run a small example that's shown in the README file.

If you want to wait until I test the current version on One of my Raspberry Pi's, it is underway right now. I'll edit this post when it finishes to let you know if it still works.

* I believe you can download archived versions and decompress them, but I haven't ever used that method. If you want to try that, look for the download links near the "clone" button.
EdH is offline   Reply With Quote
Old 2022-06-10, 14:39   #11
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

5,077 Posts
Default

Quote:
Originally Posted by EdH View Post
. .
If you want to wait until I test the current version on One of my Raspberry Pi's, it is underway right now. I'll edit this post when it finishes to let you know if it still works.
. . .
This succeeded! It's not Mac OS, but it is ARM. Here are the Raspberry Pi details:
Code:
Ubuntu
 Release 20.04.4 LTS (Focal Fossa) 32-bit
 Kernel Linux 5.4.0-1055-raspi arm7l
 MATE 1.24.0
 
Hardware
 Memory:    920.0 MiB
 Processor: ARMv7 Processor rev 4 (v7l) x 4
  Graphics:  llvmpipe (LLVM 12.0.0, 128 bits)
Mac OS information is included in the README:
Code:
As of cado-nfs 2.3.0, Mac OS X 10.8+ should work.
Of course, there is a lot more info in the README file.

Note that all of the above is based on the current developmental version. I have no experience with any "release" type version of CADO-NFS.
EdH is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
3,697+ (GNFS 220.9) pinhodecarlos NFS@Home 0 2014-12-24 19:13
3,766+ (GNFS 215.5) pinhodecarlos NFS@Home 34 2014-04-01 21:27
Let's do another nice big GNFS job! fivemack Factoring 84 2011-04-26 10:22
GNFS estimates 10metreh Factoring 48 2009-04-08 01:54
c97 GNFS not possible? Andi47 Msieve 5 2009-01-26 18:19

All times are UTC. The time now is 02:16.


Tue Nov 29 02:16:54 UTC 2022 up 102 days, 23:45, 0 users, load averages: 0.95, 1.11, 1.02

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔