![]() |
|
|
#1 |
|
I moo ablest echo power!
May 2013
33658 Posts |
I inadvertently deleted the folder with the dups files, and I can't figure out how to generate them again (or get CADO to do it automatically). This causes an error after CADO has collected enough relations:
OSError: output file /tmp/cado.v9x5al17/c212_snfs215.dup1//1/dup1.0.0000.gz does not exist How can I re-create this file or set of files? |
|
|
|
|
|
#2 |
|
Apr 2020
379 Posts |
Re-create the directory /tmp/cado.v9x5al17/c212_snfs215.dup1, and make subdirectories named 0 and 1 inside it.
Re-run all of the dup1 and dup2 commands in the c212_snfs215.cmd file in order. If this runs smoothly then the 0 and 1 directories should contain some large files with names like dup1.0.0000.gz. Now restart CADO. |
|
|
|
|
|
#3 |
|
I moo ablest echo power!
May 2013
13×137 Posts |
The first step:
Code:
/home/wombat/cado-nfs/build/Ben-PC/filter/dup1 -prefix dup1.2 -out /tmp/cado.v9x5al17/c212_snfs215.dup1/ -n 1 -filelist /tmp/cado.v9x5al17/c212_snfs215.dup1.filelist.3 > /tmp/cado.v9x5al17/c212_snfs215.dup1.stdout.3 2> /tmp/cado.v9x5al17/c212_snfs215.dup1.stderr.3 This command: Code:
/home/wombat/cado-nfs/build/Ben-PC/filter/dup2 -poly /tmp/cado.v9x5al17/c212_snfs215.poly -nrels 29153560 -renumber /tmp/cado.v9x5al17/c212_snfs215.renumber.gz /tmp/cado.v9x5al17/c212_snfs215.dup1//0/dup1.0.0000.gz /tmp/cado.v9x5al17/c212_snfs215.dup1//0/dup1.1.0000.gz /tmp/cado.v9x5al17/c212_snfs215.dup1//0/dup1.2.0000.gz > /tmp/cado.v9x5al17/c212_snfs215.dup2.slice0.stdout.3 2> /tmp/cado.v9x5al17/c212_snfs215.dup2.slice0.stderr.3 Last fiddled with by wombatman on 2021-07-25 at 16:34 |
|
|
|
|
|
#4 | |
|
Apr 2020
379 Posts |
Quote:
Last fiddled with by charybdis on 2021-07-25 at 16:47 |
|
|
|
|
|
|
#5 |
|
I moo ablest echo power!
May 2013
13·137 Posts |
You're right. It's not, but even running the first instances, it does the same thing.
Edit: I do notice that there's no dup1.filelist as expected from the first command either and there's nothing in the stdout.1 output file either. Last fiddled with by wombatman on 2021-07-25 at 17:50 |
|
|
|
|
|
#6 |
|
Apr 2020
1011110112 Posts |
So you don't have a file c212_snfs215.dup1.filelist.1? That's odd, it obviously existed when the command ran originally, and it doesn't usually get deleted during the run.
If you definitely have lost the filelist and need to recreate it, use something like Code:
grep -o "in .*gz" c212_snfs215.log | cut -c 5- >> c212_snfs215.dup1.filelist The -nrels flag in the dup2 command line refers to the number of relations in one slice, i.e. roughly half the number of relations you had at the time the command was run. |
|
|
|
|
|
#7 |
|
I moo ablest echo power!
May 2013
13·137 Posts |
Thanks to your help, I'm getting closer. After rebuilding the filelist, I was able to run the dup2 commands. When I try and start the primary python script, it fails again because it's looking for a file that doesn't exist (dup1.1.0000.gz). I checked both the dup1.filelist.1 file and the purge.filelist.1 files. The purge filelist had files that no longer exist in them, so I pared it down to only the two files (plus the freerels.gz) I had created: dup1.0.0000.gz in folders 0 and 1.
Is there another filelist that the main script is pulling from? I've search the /tmp/cado* directory and don't see anything else. The grep command is also not collecting all of the completed workunits, missing about 20M q worth. I've confirmed via spot check that the missing workunits appear in the log file with the same format as the collected workunits. |
|
|
|
|
|
#8 | ||
|
Apr 2020
379 Posts |
Quote:
Quote:
|
||
|
|
|
|
|
#9 |
|
I moo ablest echo power!
May 2013
13·137 Posts |
There's a command line the .cmd file for the 2nd dup1 run, but I would need to generate a second filelist to recreate it. At this point, I would ideally just generate the dup1.0 files and go from there.
For the grep command, here's an example line that's not being picked up by it: Code:
PID32137 2021-07-25 14:04:33,789 Info:Lattice Sieving: Found 24569 relations in '/tmp/cado.v9x5al17/c212_snfs215.upload/c212_snfs215.56430000-56440000.xaxayqid.gz', total is now 121252276/130000000 Last fiddled with by wombatman on 2021-07-25 at 20:03 |
|
|
|
|
|
#10 | |
|
Apr 2020
379 Posts |
Quote:
Of course you'll need grep to work properly in order to do this. I inserted your line into one of my old logfiles and grep found it successfully, so I'm mystified. |
|
|
|
|
|
|
#11 |
|
I moo ablest echo power!
May 2013
13×137 Posts |
Here's the output of the grep command as you gave it (without sending it to cut).
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Posting log files or other text files | Xyzzy | Forum Feedback | 3 | 2018-12-30 19:37 |
| Generating Low-Weight Ks | henryzz | Riesel Prime Search | 9 | 2012-04-09 21:36 |
| Generating Random Primes | davar55 | Math | 14 | 2011-02-20 16:06 |
| Generating 2005 | Wacky | Puzzles | 46 | 2005-06-05 22:19 |
| Prime-generating polynomials | Orgasmic Troll | Math | 28 | 2004-12-02 16:37 |