mersenneforum.org > YAFU YAFU-1.34
 Register FAQ Search Today's Posts Mark Forums Read

 2013-03-07, 05:25 #34 bsquared     "Ben" Feb 2007 1101001000012 Posts Mark, thanks for the build fix. 1.34.5 is now ready, which should now have a stable ecm in the x64 windows executable. I also made a quick change that will help factor() work better with snfs. If you put the full form into factor(), i.e., factor(2^625-1), then even if ecm or whatever finds factors before nfs starts, the cofactor will now still be recognizable as a snfs job. @henryzz: that might help do what you were asking for a bit ago. Unfortunately I put this patch together before Mark's post, so it does not include the Mac build fix.
2013-03-07, 10:15   #35
ET_
Banned

"Luigi"
Aug 2002
Team Italia

23×599 Posts

Quote:
 Originally Posted by bsquared Mark, thanks for the build fix. 1.34.5 is now ready, which should now have a stable ecm in the x64 windows executable. I also made a quick change that will help factor() work better with snfs. If you put the full form into factor(), i.e., factor(2^625-1), then even if ecm or whatever finds factors before nfs starts, the cofactor will now still be recognizable as a snfs job. @henryzz: that might help do what you were asking for a bit ago. Unfortunately I put this patch together before Mark's post, so it does not include the Mac build fix.
Code:
yafu-Win32.exe - System error.
Can't start the program because VCOMP100.DLL is not present.
Luigi

2013-03-07, 13:39   #36

May 2008
Worcester, United Kingdom

20B16 Posts

Quote:
 Originally Posted by ET_ Code: yafu-Win32.exe - System error. Can't start the program because VCOMP100.DLL is not present. Luigi
This is the Microsoft OpenMP library, which is distributed in the Microsoft C++ 2010 redistributable package:

http://www.microsoft.com/en-us/downl...s.aspx?id=5555

It seems that this is missing on the machine in question.

This issue may have turned up because Ben is using my latest Visual Studio build files because I have just enabled OpenMP support in the GMP-ECM build.

I think Ben is using VS 2010 but if he is using Microsoft C++ 2012, the appropriate redistributable packages are here:

http://www.microsoft.com/en-gb/downl....aspx?id=30679

2013-03-07, 13:41   #37
bsquared

"Ben"
Feb 2007

1101001000012 Posts

Quote:
 Originally Posted by ET_ Code: yafu-Win32.exe - System error. Can't start the program because VCOMP100.DLL is not present. Luigi
Hmm. dll-files.com says that this is a C/OpenMP runtime library. Sorry, I didn't realize it would need anything like this. I suppose it is necessary to suppot the gmp-ecm 7.0-dev library that is now in the Win32 version of yafu-1.34. I think if you download the .dll and put it in you system folder it will work.

2013-03-07, 13:43   #38
bsquared

"Ben"
Feb 2007

3,361 Posts

Quote:
 Originally Posted by Brian Gladman This is the Microsoft OpenMP library, which is distributed in the Microsoft C++ 2010 redistributable package: http://www.microsoft.com/en-us/downl...s.aspx?id=5555 It seems that this is missing on the machine in question. This issue may have turned up because Ben is using my latest Visual Studio build files because I have just enabled OpenMP support in the GMP-ECM build. I think Ben is using VS 2010 but if he is using Microsoft C++ 2012, the appropriate redistributable packages are here: http://www.microsoft.com/en-gb/downl....aspx?id=30679
Thanks Brian.

Yes, I'm using visual studio 2010, so if needed, use the first of Brian's links.

2013-03-07, 14:15   #39

May 2008
Worcester, United Kingdom

20B16 Posts

Quote:
 Originally Posted by bsquared Thanks Brian. Yes, I'm using visual studio 2010, so if needed, use the first of Brian's links.
It is also worth noting that these redistributable packages come in x86 (win32) and x64 (win64) versions. So it is important to ensure that the right versions are installed (both if both versions are being used).

 2013-03-07, 15:45 #40 ET_ Banned     "Luigi" Aug 2002 Team Italia 23·599 Posts OK, it worked just fine, thank you!! I read that the original gmp-ecm 7.0 was configured to avoid the default Open-MP linkage, so it didn't occur to me that it could have been enabled on Yafu. Luigi
2013-03-07, 18:57   #41
yoyo

Oct 2006
Berlin, Germany

25116 Posts

Quote:
 Originally Posted by bsquared Hmm. dll-files.com says that this is a C/OpenMP runtime library. Sorry, I didn't realize it would need anything like this. I suppose it is necessary to suppot the gmp-ecm 7.0-dev library that is now in the Win32 version of yafu-1.34. I think if you download the .dll and put it in you system folder it will work.
yoyo

2013-03-07, 22:16   #42

May 2008
Worcester, United Kingdom

52310 Posts

Quote:
 Originally Posted by yoyo Can the exe be linked static to avoid, that every user has to download the dll? yoyo
Unfortunately, for reasons that I am unclear about, Microsoft don't offer a static library for OpenMP. It seems that Intel do offer this but they then recommend that it is not used! There are also reports that its use might be deprecated.

So it seems that the only way of avoiding the need for these DLLs is to turn off OpenMP in GMP-ECM and YAFU.

2013-03-08, 00:49   #43
WraithX

Mar 2006

7308 Posts

Quote:
 Originally Posted by Brian Gladman Unfortunately, for reasons that I am unclear about, Microsoft don't offer a static library for OpenMP. It seems that Intel do offer this but they then recommend that it is not used! There are also reports that its use might be deprecated. So it seems that the only way of avoiding the need for these DLLs is to turn off OpenMP in GMP-ECM and YAFU.
Ben, can you disable OpenMP in your builds of GMP-ECM? Perhaps with --disable-openmp? I personally wouldn't want to install any OpenMP redistributables to use yafu. However, this is just my personal opinion/preference. I can probably find another way to use yafu if you do decide to stick with the default build options.

 2013-03-08, 05:19 #44 EdH     "Ed Hall" Dec 2009 Adirondack Mtns 3·1,181 Posts OK, what did I do wrong this time? Code: $./yafu 03/08/13 00:19:09 v1.34.5 @ Comp, System/Build Info: Using GMP-ECM, Powered by GMP detected AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ detected L1 = 65536 bytes, L2 = 1048576 bytes, CL = 64 bytes measured cpu frequency ~= 1306.392660 using 20 random witnesses for Rabin-Miller PRP checks ... cached 78498 primes. pmax = 999983 >> nfs(17285154910805941577069464828335617544658066950627644021728302169526833018711670895092479561808160256160945139573800969912234390238908363042669550995167201537635764747005337) nfs: commencing nfs on c173: 17285154910805941577069464828335617544658066950627644021728302169526833018711670895092479561808160256160945139573800969912234390238908363042669550995167201537635764747005337 nfs: searching for brent special forms... nfs: searching for homogeneous cunningham special forms... nfs: searching for XYYXF special forms... nfs: couldn't find special form Segmentation fault$

 Similar Threads Thread Thread Starter Forum Replies Last Post bsquared YAFU 1276 2019-01-12 04:46 EdH YAFU 8 2018-03-14 17:22 storflyt32 YAFU 2 2015-06-29 05:19 bsquared YAFU 12 2012-11-08 04:12 bsquared YAFU 21 2012-09-04 19:44

All times are UTC. The time now is 12:57.

Fri Jan 22 12:57:42 UTC 2021 up 50 days, 9:09, 0 users, load averages: 1.72, 1.87, 1.78