mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Cunningham Tables

Reply
 
Thread Tools
Old 2010-08-04, 19:58   #12
smh
 
smh's Avatar
 
"Sander"
Oct 2002
52.345322,5.52471

118910 Posts
Default

Quote:
Originally Posted by Andi47 View Post
4.) in the command line type "copy *.out msieve.dat"
I've seen this go wrong. I always use "Copy /B" to make sure the dat file remains valid.

Also, instead of *.out I would use 0.out+1.out to make sure the files are in the right order.

Thus "Copy /B 0.out+1.out msieve.dat"
smh is offline   Reply With Quote
Old 2010-08-05, 00:31   #13
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

9B216 Posts
Default

Quote:
Originally Posted by smh View Post
I've seen this go wrong. I always use "Copy /B" to make sure the dat file remains valid.

Also, instead of *.out I would use 0.out+1.out to make sure the files are in the right order.

Thus "Copy /B 0.out+1.out msieve.dat"

What does the /B flag do? Check the .dat file for integrity?
Andi47 is offline   Reply With Quote
Old 2010-08-05, 05:37   #14
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by Andi47 View Post
What does the /B flag do? Check the .dat file for integrity?
It sets copy to binary mode, which makes sure that it doesn't mess with the file at all. (The default is text mode, which may mess with line endings or something like that...I'm not really sure exactly what it does, but at any rate it's not something you want on a dat file like this.)
mdettweiler is offline   Reply With Quote
Old 2010-08-05, 08:30   #15
Random Poster
 
Random Poster's Avatar
 
Dec 2008

2638 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
It sets copy to binary mode, which makes sure that it doesn't mess with the file at all. (The default is text mode, which may mess with line endings or something like that...I'm not really sure exactly what it does, but at any rate it's not something you want on a dat file like this.)
It has nothing to do with line endings; the only difference between copy's "text" and "binary" modes is that in "text" mode Control-Z is interpreted as an end-of-file character; reading of source files stops at the first C-Z, and it's written at the end of destination files. This bit of insanity comes from the fact that copy emulates faithfully the MS-DOS copy command (on the assumption that someone still might be running old DOS BAT files which depend on this idiocy).
Random Poster is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS filtering in the era of big data jasonp Msieve 36 2018-05-07 19:55
NFS filtering error... Stargate38 YAFU 4 2016-04-20 16:53
The big filtering bug strikes again (I think) Dubslow Msieve 20 2016-02-05 14:00
Filtering Error richs Msieve 8 2015-01-18 17:40
Filtering Sleepy Msieve 25 2011-08-04 15:05

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


Tue Jul 27 08:05:07 UTC 2021 up 4 days, 2:34, 0 users, load averages: 1.68, 1.76, 1.81

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.