mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2009-11-14, 14:22   #12
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

22258 Posts
Default

Quote:
Originally Posted by Batalov View Post
for most computers the checkpoint should be written every 1-3 hours.

There will be no chk, if the matrix is less than 1M2.
Thanks for the info. A checkpoint did arrive, it was coming about 1.5 - 2 hours now I think so thanks for the clarification.

What about when you hit CTRL-C, is msieve supposed to write a checkpoint on exit? If not, that would be a nice feature to have in case you need to kill it somewhere in between checkpoints or even before the first checkpoint so you don't have to rebuild the .mat file again.
Jeff Gilchrist is offline   Reply With Quote
Old 2009-11-14, 19:21   #13
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Quote:
Originally Posted by Jeff Gilchrist View Post
What about when you hit CTRL-C, is msieve supposed to write a checkpoint on exit? If not, that would be a nice feature to have in case you need to kill it somewhere in between checkpoints or even before the first checkpoint so you don't have to rebuild the .mat file again.
Yes, it's supposed to write a checkpoint on interrupt. Ctrl-C in windows is a little strange; a C signal handler will catch it the first time but the process will be killed immediately if you hit Ctrl-C a second time.
jasonp is offline   Reply With Quote
Old 2009-11-14, 23:16   #14
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

117310 Posts
Default

Quote:
Originally Posted by jasonp View Post
Yes, it's supposed to write a checkpoint on interrupt. Ctrl-C in windows is a little strange; a C signal handler will catch it the first time but the process will be killed immediately if you hit Ctrl-C a second time.
Hmmm, I'm pretty sure I just hit CTRL-C once, but I was running the VS2008 binary in a cygwin shell so maybe the shell had some strange interaction with it.

I will try it again some time to make sure.

Jeff.
Jeff Gilchrist is offline   Reply With Quote
Old 2009-11-14, 23:20   #15
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

((Capt.Obvious reports that as you are under CygWin, you can do ps -f and then kill <the_PID>. This should obviate the Windows key bindings and idiosyncrasies.))
Batalov is offline   Reply With Quote
Old 2009-11-15, 00:10   #16
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Not to say you did anything wrong, I've had other reports of interrupts not cleaning up like they were supposed to. Not sure what to do about them.
jasonp is offline   Reply With Quote
Old 2009-11-15, 13:06   #17
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3·17·23 Posts
Default

Quote:
Originally Posted by jasonp View Post
Not to say you did anything wrong, I've had other reports of interrupts not cleaning up like they were supposed to. Not sure what to do about them.
I just tried it again to make sure I only hit CTRL-C once and it did generate a checkpoint file. So seems to be working fine.

Jeff.
Jeff Gilchrist is offline   Reply With Quote
Old 2009-11-17, 01:05   #18
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

22258 Posts
Default

I'm now having a problem with -nc3 on a number with both 32bit and 64bit VS2008 binaries. Not sure if Linux has a problem, I'm uploading the files to a Linux box but it will take several hours because of their size. Here is the crash message from Windows:

Code:
Unhandled exception at 0x00486e33 in msieve32.exe: 0xC0000005: Access violation writing location 0x00000000.
Essentially the same thing for the 64bit version as well. It crashes in sqrt.c during this function call:

Code:
		/* read in only the relations for dependency i */
		nfs_read_cycles(obj, &fb, NULL, NULL,
				&num_relations, &rlist, 0, i);
The full log file is attached but it always happens when it is reading relations for depedency 36, it gets 0 cycles:

Code:
Mon Nov 16 08:11:32 2009  reading relations for dependency 35
Mon Nov 16 08:11:34 2009  read 2745153 cycles
Mon Nov 16 08:11:39 2009  cycles contain 8604690 unique relations
Mon Nov 16 08:13:21 2009  read 8604690 relations
Mon Nov 16 08:13:41 2009  algebraic side is not a square!
Mon Nov 16 08:13:41 2009  reading relations for dependency 36
Mon Nov 16 08:13:43 2009  read 0 cycles
Anyone have an idea what is going on here?

Jeff.
Attached Files
File Type: zip msieve143_crash.zip (3.8 KB, 109 views)
Jeff Gilchrist is offline   Reply With Quote
Old 2009-11-17, 01:29   #19
jrk
 
jrk's Avatar
 
May 2008

3×5×73 Posts
Default

Quote:
Code:
Unhandled exception at 0x00486e33 in msieve32.exe: 0xC0000005: Access violation writing location 0x00000000.
Looks like a null pointer dereference. Can you get a stack trace?
jrk is offline   Reply With Quote
Old 2009-11-17, 02:20   #20
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

210610 Posts
Default

Quote:
Originally Posted by Jeff Gilchrist View Post
The full log file is attached but it always happens when it is reading relations for depedency 36, it gets 0 cycles:
Note that the matrix solution "recovered 35 nontrivial dependencies" so dependency 36 (and 35?) shouldn't exist. Though I suspect this is a symptom of a more fundamental problem...
frmky is offline   Reply With Quote
Old 2009-11-17, 02:37   #21
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Looks like the last round of memory optimizations to the relation reading code cannot handle an empty dependency. I'll take a look when my schedule calms down a bit.
jasonp is offline   Reply With Quote
Old 2009-11-17, 03:06   #22
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2×34×13 Posts
Default

The real problem, though, seems to be all "the number of relations is not even" and "algebraic side is not a square!" All of the non-trivial dependencies failed.

Last fiddled with by frmky on 2009-11-17 at 03:07
frmky is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Msieve 1.53 feedback xilman Msieve 149 2018-11-12 06:37
Msieve 1.50 feedback firejuggler Msieve 99 2013-02-17 11:53
Msieve v1.48 feedback Jeff Gilchrist Msieve 48 2011-06-10 18:18
Msieve 1.42 feedback Andi47 Msieve 167 2009-10-18 19:37
Msieve 1.41 Feedback Batalov Msieve 130 2009-06-09 16:01

All times are UTC. The time now is 01:17.


Sat Jul 17 01:17:35 UTC 2021 up 49 days, 23:04, 1 user, load averages: 0.98, 1.12, 1.26

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.