mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   srfile issue (https://www.mersenneforum.org/showthread.php?t=27881)

rebirther 2022-06-22 20:47

srfile issue
 
1 Attachment(s)
Hello rogue,


I have attached the files, only run the .bat
The prime will be removed from the sievefile but no output will be created. This is the first time I have ever seen, maybe a bug or the version of srfile is too old?

rogue 2022-06-23 00:47

[QUOTE=rebirther;608306]Hello rogue,


I have attached the files, only run the .bat
The prime will be removed from the sievefile but no output will be created. This is the first time I have ever seen, maybe a bug or the version of srfile is too old?[/QUOTE]

It is working as expected. You are deleting all terms for the given sequence. The input file has a single sequence, so there is nothing to output.

rebirther 2022-06-23 06:08

[QUOTE=rogue;608312]It is working as expected. You are deleting all terms for the given sequence. The input file has a single sequence, so there is nothing to output.[/QUOTE]


A file t17_xxx.prp is created all the time but in this case not. Did you get an output file?


Here is a test with ABCD output:


[CODE]f:\>srfile_win64 -d primes.txt sieve-sierp-base220-200K-1M.txt -a
srfile 1.0.5 -- A file utility for srsieve.
Read 17421 terms for 1 sequence from NewPGen format file `sieve-sierp-base220-200K-1M.txt'.
Deleted 17421 terms for sequence 27*220^n+1.
Removed 1 sequence with from `primes.txt'.
Wrote 0 terms for 0 sequences to ABCD format file `sr_220.abcd'.[/CODE]


The abcd file is written but empty

kar_bon 2022-06-23 07:32

ehhhm...

[...] Read 17421 terms [...]
[...] Deleted 17421 terms [...]

The source only contains one sequence for k=27 and the prime _is_ for k=27, so all is correct.

rebirther 2022-06-23 07:45

[QUOTE=kar_bon;608318]ehhhm...

[...] Read 17421 terms [...]
[...] Deleted 17421 terms [...]

The source only contains one sequence for k=27 and the prime _is_ for k=27, so all is correct.[/QUOTE]


Ah damnit, was already solved, and 0 is no output, thanks for the headsup!

rogue 2022-06-23 12:53

[QUOTE=rebirther;608319]Ah damnit, was already solved, and 0 is no output, thanks for the headsup![/QUOTE]

So if it created a file, then you have an older version of srfile. The current version does not create a file.


All times are UTC. The time now is 14:11.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.