mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > CADO-NFS

Reply
 
Thread Tools
Old 2021-10-10, 10:18   #1
firejuggler
 
firejuggler's Avatar
 
"Vincent"
Apr 2010
Over the rainbow

2×32×149 Posts
Default Looking for a tutorial

Hi.


I finally managed to get Cado-nfs to work, thru a VM.
I looked around and didn't find any tutorial for the 'polyselect' phase.
I get polys, but I don't know where they are stored, or if I there is an
equivalent to np1 nps and npr phase of msieve.
firejuggler is offline   Reply With Quote
Old 2021-10-10, 11:54   #2
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

3×372 Posts
Default

Quote:
Originally Posted by firejuggler View Post
Hi.


I finally managed to get Cado-nfs to work, thru a VM.
I looked around and didn't find any tutorial for the 'polyselect' phase.
I get polys, but I don't know where they are stored, or if I there is an
equivalent to np1 nps and npr phase of msieve.
In the cado-nfs/build/$HOSTNAME/polyselect folder, there are two files: sopt and polyselect_ropt. They can read CADO-NFS formatted polynomials from an input file. You might take a look at the script I have near the bottom in the second post in this thread.

I don't know how to specifically perform the np1 equivalent in CADO-NFS, since I routinely just start a standard run and have it stop after that stage. For the output of the others, the files are a redirect ">>" when run directly.
EdH is offline   Reply With Quote
Old 2021-10-10, 12:46   #3
charybdis
 
charybdis's Avatar
 
Apr 2020

10001000012 Posts
Default

The way I understand it, "polyselect" performs the equivalent of np1 and nps, "sopt" does the equivalent of nps alone, and "polyselect_ropt" is equivalent to npr. The CADO script runs polyselect followed by polyselect_ropt. I don't think CADO can run the equivalent of np1 alone without size-optimization (not too surprisingly, "-sopteffort -1" doesn't work).

If you're running CADO via the script, the polys are stored in the [jobname].upload directory. The polyselect output files have names like 3_748+.polyselect1.72tb_ncb.29858640-29860320, where the file extension is the leading coefficient range. The polyselect_ropt output files have names like 3_748+.polyselect2._g50mqv9.opt_66.
charybdis is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial 0: Getting set up with PARI/GP CRGreathouse PARI/GP 0 2018-06-12 16:35

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


Tue Nov 30 13:07:50 UTC 2021 up 130 days, 7:36, 0 users, load averages: 1.20, 1.26, 1.23

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.