mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2013-07-19, 21:25   #188
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

110110100012 Posts
Default

http://gcc.gnu.org/onlinedocs/gcc/i3...4-Options.html

All the -march options can be found in the above link.
wombatman is offline   Reply With Quote
Old 2013-07-19, 21:27   #189
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

2×263 Posts
Default

Here is a further attempt to solve the threading issue in the Visual Studio build of msieve. I would be grateful for any tests that can be run with it.

Brian
Attached Files
File Type: zip msieve.zip (628.3 KB, 74 views)
Brian Gladman is offline   Reply With Quote
Old 2013-07-20, 00:07   #190
WraithX
 
WraithX's Avatar
 
Mar 2006

11×43 Posts
Default

Quote:
Originally Posted by Brian Gladman View Post
Here is a further attempt to solve the threading issue in the Visual Studio build of msieve. I would be grateful for any tests that can be run with it.

Brian
Hello Brian, all of your previous binaries have worked for me (meaning they run and provide some functionality). Probably because I saw a previous note to download a certain vc_redist with a link posted by frmky. This latest binary does not work for me at all. When I try to run it, it says that it is missing a vcomp120.dll. I tried searching Google, but that returns zero results. Is there any way that you can make this a static binary that does not have any external dependencies? If not, can you provide a link to where I can download this vcomp120.dll?
WraithX is offline   Reply With Quote
Old 2013-07-20, 06:54   #191
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

246628 Posts
Default

Quote:
Originally Posted by xilman View Post
Let's see what happens after more sieving has taken place.
Now working fine with SVN 923.
xilman is offline   Reply With Quote
Old 2013-07-20, 07:46   #192
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

10168 Posts
Default

Hi David,

I suspect that this issue is a result of a update 3 for the Visual C++ redistributable package that occurred in late June. This is available here and probably contains the files you need. Please let me know if installing this doesn't solve the problem.

Jeff Gilchrist provides a link to the necessary redistributable packages on his web site here, which is why I prefer to make binaries available there (I only provided a few here in the hope that this would speed up the debugging process).

Unfortunately, as far as I am aware, there is little I can do to avoid this 'redistributable hell' as I don't think there is any way of bypassing these core dependencies.

The good news is that your C120 completes for me with this binary.
Brian Gladman is offline   Reply With Quote
Old 2013-07-20, 09:47   #193
Andi_HB
 
Andi_HB's Avatar
 
Mar 2007
Germany

4108 Posts
Default

The update 3 for Visual C++ from www.microsoft.com/en-us/download/details.aspx?id=30679 solve the Problem for me.

Last fiddled with by Andi_HB on 2013-07-20 at 09:49 Reason: Link
Andi_HB is offline   Reply With Quote
Old 2013-07-20, 10:31   #194
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3×17×23 Posts
Default

Quote:
Originally Posted by Brian Gladman View Post
I am using the msieve SVN - the automatic SVN output doesn't work in Visual Studio.
For those of you used to seeing the SVN build in the Windows binaries, that is an extra service I provided by manually putting it in before compiling because I always liked to see that.
Jeff Gilchrist is offline   Reply With Quote
Old 2013-07-20, 10:35   #195
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

117310 Posts
Default

After people get a chance to test Brian's latest binary and confirm it is ok, Brian please send me the latest good version that you want me to put on the website.
Jeff Gilchrist is offline   Reply With Quote
Old 2013-07-20, 14:20   #196
WraithX
 
WraithX's Avatar
 
Mar 2006

47310 Posts
Default

Quote:
Originally Posted by Brian Gladman View Post
I suspect that this issue is a result of a update 3 for the Visual C++ redistributable package that occurred in late June. This is available here and probably contains the files you need. Please let me know if installing this doesn't solve the problem.
Unfortunately, this does not solve the problem. It looks like this is the one that frmky pointed to earlier (post 132) and that I already had downloaded and installed. I went ahead and downloaded the 32-bit redist also, ie I now have both the 32-bit and 64-bit installed, but it still says vcomp120.dll not found. I pulled up dependency walker and found out that this msieve.exe is also missing ieshims.dll. From just a quick search, it seems like that dll was only necessary on XP. Did you perhaps compile this for a specific OS, like XP? Or, since frmky's post talks about a missing vcomp110.dll, did you perhaps switch to a different compiler, like Visual Studio 2013 (instead of 2012) for this binary? Hopefully we can figure out how to get this to work. Please let me know if you'd like me to try anything.
WraithX is offline   Reply With Quote
Old 2013-07-20, 14:24   #197
Mathew
 
Mathew's Avatar
 
Nov 2009

1010111102 Posts
Default

Hello,

When I run the following with Linux Ubuntu 12.04 64-Bit:
msieve -s C238_121_93.dat -l C238_121_93.log -i C238_121_93.ini -nf C238_121_93.fb -t 4 -nc

I keep getting the following error:
Code:
integrator failed nan inf
[euler:10931] *** Process received signal ***
[euler:10931] Signal: Segmentation fault (11)
[euler:10931] Signal code:  (128)
[euler:10931] Failing at address: (nil)
[euler:10931] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7fe50695ccb0]
[euler:10931] [ 1] /usr/local/lib/libgmp.so.10(+0x13465) [0x7fe506e79465]
[euler:10931] [ 2] msieve(eval_poly+0x94) [0x41dd34]
[euler:10931] [ 3] msieve(nfs_read_relation+0x29b) [0x4390fb]
[euler:10931] [ 4] msieve(nfs_purge_duplicates+0x3a5) [0x45fca5]
[euler:10931] [ 5] msieve(nfs_filter_relations+0x4f7) [0x42b637]
[euler:10931] [ 6] msieve(factor_gnfs+0x7ef) [0x41d81f]
[euler:10931] [ 7] msieve(msieve_run+0x584) [0x40e2e4]
[euler:10931] [ 8] msieve(factor_integer+0x13b) [0x40d03b]
[euler:10931] [ 9] msieve(main+0x7a0) [0x40c010]
[euler:10931] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fe5062fe76d]
[euler:10931] [11] msieve() [0x40cc7d]
[euler:10931] *** End of error message ***
Segmentation fault (core dumped)
Here is the log it creates:
Code:
Fri Jul 19 15:50:11 2013  Msieve v. 1.51 (SVN unknown)
Fri Jul 19 15:50:11 2013  random seeds: f1a22004 c780709f
Fri Jul 19 15:50:11 2013  MPI process 0 of 1
Fri Jul 19 15:50:11 2013  factoring 15361611413579626537050783586280481077905158262497946644429242618828114393675749532960693763487891170755488543105808804212915950808875094929083135048627004135175632408003998127029859491160527729903274486887631105056371237195122963118170454 (239 digits)
Fri Jul 19 15:50:13 2013  searching for 15-digit factors
Fri Jul 19 15:50:14 2013  commencing number field sieve (238-digit input)
Fri Jul 19 15:50:14 2013  warning: NFS input not found in factor base file
Fri Jul 19 15:50:14 2013  R0: 0
Fri Jul 19 15:50:14 2013  A0: 0
Fri Jul 19 15:50:14 2013  skew 1.00, size 0.000e+00, alpha 0.000, combined = 0.000e+00 rroots = 0
Fri Jul 19 15:50:14 2013  
Fri Jul 19 15:50:14 2013  commencing relation filtering
Fri Jul 19 15:50:14 2013  warning: NFS input not found in factor base file
Fri Jul 19 15:50:14 2013  estimated available RAM is 15937.9 MB
Fri Jul 19 15:50:14 2013  commencing duplicate removal, pass 1
Note: msieve works fine on factoring smaller c70.
Mathew is offline   Reply With Quote
Old 2013-07-20, 14:33   #198
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

1101110100012 Posts
Default

Mathew, the C70 would have used the quadratic sieve, whose code is much simpler than the NFS used in your large test.

Your crash occurs while using GMP (or MPIR). I wonder if it's because GMP has a problem or is only being given something wrong...
jasonp is offline   Reply With Quote
Reply

Thread Tools


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 1.43 feedback Jeff Gilchrist Msieve 47 2009-11-24 15:53
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 08:19.

Fri May 7 08:19:31 UTC 2021 up 29 days, 3 hrs, 0 users, load averages: 1.33, 1.48, 1.54

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.