mersenneforum.org  

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

Reply
 
Thread Tools
Old 2021-05-04, 11:49   #518
bur
 
Aug 2020

167 Posts
Default

An update about my problem with the parameter files. In the README I found this section (fortunately before I submitted a bug):

Code:
The difficulty here is that when `cado-nfs.py` uses a parameter file
  supplied on the command line, it does not automatically insert into the
  parameter set the options that are necessary for running jobs.
  Therefore, we need to add these options:

./cado-nfs.py --parameters ./parameters/factor/params.c60 90377629292003121684002147101760858109247336549001090677693
 slaves.hostnames=localhost slaves.nrclients=2
Actually it's sufficient to supply slaves.hostnames=localhost, but then it will only launch 1 client. Which value is recommended for a 10 physical cores i9-10900k? When I don't specify a parameters file and thus don't need slaves.nrclients it appears to automatically select 5 clients.

Do you guys not specify the parameters file or why did no one recognize this problem? I'm just asking out of curiosity, not as an accusation. ;)
bur is offline   Reply With Quote
Old 2021-05-04, 12:12   #519
charybdis
 
charybdis's Avatar
 
Apr 2020

10716 Posts
Default

Quote:
Originally Posted by bur View Post
Actually it's sufficient to supply slaves.hostnames=localhost, but then it will only launch 1 client. Which value is recommended for a 10 physical cores i9-10900k? When I don't specify a parameters file and thus don't need slaves.nrclients it appears to automatically select 5 clients.
5 clients is fine. I find that if you assign more than 4 cores to a single client the lattice siever doesn't get up to 100% CPU usage, though this may vary by CPU type.

Quote:
Do you guys not specify the parameters file or why did no one recognize this problem? I'm just asking out of curiosity, not as an accusation. ;)
My usual CADO invocation line looks like
Code:
./cado-nfs.py ../cadojobs/2_2750M/2_2750M.params
where the .params file specifies not only the parameters but also N, workdir, the addresses of clients to start on other machines via ssh, the paths to those machines' CADO installations, etc.

Last fiddled with by charybdis on 2021-05-04 at 12:13
charybdis is offline   Reply With Quote
Old 2021-05-04, 12:37   #520
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

5·743 Posts
Default

I only supply a params file for SNFS jobs. All GNFS jobs use the default ones, which have been modified locally, mostly using VBCurtis' versions.

As to clients, I run scripts on the clients that check thread count and use override t <count> to use all threads. On my 4c/8t machines they show up to 79x% use for the las process in top. On my 12c/24t machines, I do break them into three, 8 thread processes that each show 79x% in top, but those machines have more memory.
EdH is offline   Reply With Quote
Old 2021-05-04, 17:12   #521
bur
 
Aug 2020

167 Posts
Default

Ok, thanks for the info. When I have some spare time I'll look into setting up scripts to do ECM, then cado and finally msieve for linear algebra. Could be interesting to setup.



In that regard, should the filtering also be done with msieve or is that fine with cado?
bur is offline   Reply With Quote
Old 2021-05-04, 17:32   #522
charybdis
 
charybdis's Avatar
 
Apr 2020

263 Posts
Default

Quote:
Originally Posted by bur View Post
In that regard, should the filtering also be done with msieve or is that fine with cado?
CADO filtering used to be compatible with msieve linear algebra, and indeed the documentation would suggest that it still is, but I recall reading that more recent changes to CADO have made the filtering format incompatible with msieve.
charybdis is offline   Reply With Quote
Old 2021-05-04, 18:28   #523
bur
 
Aug 2020

2478 Posts
Default

I'll give it a try, right now cado is set to do the sieving and filtering with tasks.linalg.run=false. If it fails I can always redo the filtering with msieve, right?


workdir is set to a directory other than /tmp/.
bur is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
CADO-NFS on windows jux CADO-NFS 22 2019-11-12 12:08
CADO help henryzz CADO-NFS 4 2017-11-20 15:14
CADO and WinBlows akruppa Programming 22 2015-12-31 08:37
CADO-NFS skan Information & Answers 1 2013-10-22 07:00
CADO R.D. Silverman Factoring 4 2008-11-06 12:35

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

Fri May 14 05:13:57 UTC 2021 up 35 days, 23:54, 0 users, load averages: 1.37, 1.63, 1.70

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.