Join PrimeGrid
Returning Participants
Community
Leader Boards
Results
Other
drummers-lowrise
|
Message boards :
Project Staging Area :
PRPNet 5.3.2
Author |
Message |
|
Hi all,
I have just posted new prpclient 5.3.2 packages to http://uwin.mine.nu/PRPNet/. This includes a 32-bit XP-compatible Windows build of the prpclient, and PFGW 3.7.8, which adds support for FMA3, so should be somewhat faster on Haswell (and may show a small speedup on Sandy/Ivy Bridge).
As always, post any problems or questions here, or drop me a PM.
Thanks to those who provided binaries for various different platforms.
Cheers
- Iain
____________
Twitter: IainBethune
Proud member of team "Aggie The Pew". Go Aggie!
3073428256125*2^1290000-1 is Prime! | |
|
|
I still can't run either pfgw32, wwwwcl.exe or wwww.exe on my 32-bit Windows XP machine, with a "is not a valid Win32 program" errors. Any tips for troubleshooting?
____________
| |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 13579 ID: 53948 Credit: 251,899,558 RAC: 234,351
                           
|
I have an XP machine -- let me go check and see if they run on it.
____________
My lucky number is 75898524288+1 | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 13579 ID: 53948 Credit: 251,899,558 RAC: 234,351
                           
|
I have an XP machine -- let me go check and see if they run on it.
Going through all the executables, except for the ones which are clearly 64 bits:
genefer32: works
genefercuda: works
geneferocl: works
llr: works
llrcuda: FAILS (not compiled for XP)
pfgw32: FAILS (not compiled for XP)
prpclient: works
wwww: FAILS (not compiled for XP)
wwwwcl: FAILS (not compiled for XP)
____________
My lucky number is 75898524288+1 | |
|
Scott Brown Volunteer moderator Project administrator Volunteer tester Project scientist
 Send message
Joined: 17 Oct 05 Posts: 2227 ID: 1178 Credit: 9,295,456,371 RAC: 6,671,625
                                        
|
I don't recall that the wwww application was ever available for non-64-bit systems? | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 13579 ID: 53948 Credit: 251,899,558 RAC: 234,351
                           
|
I don't recall that the wwww application was ever available for non-64-bit systems?
It's possible. I simply tested everything that didn't have "64" in the name. PFGW32 should work, however. llrCUDA probably should work too, but I'm not certain.
____________
My lucky number is 75898524288+1 | |
|
|
I don't recall that the wwww application was ever available for non-64-bit systems?
It's possible. I simply tested everything that didn't have "64" in the name. PFGW32 should work, however. llrCUDA probably should work too, but I'm not certain.
(Some versions of) the prpclient.ini file says:
// This is the name of the executable used for Wieferich and Wall-Sun-Sun searches.
// Available ONLY to 64bit OS. Uncomment if you have 64bit OS.
// If you have an OpenCL-capable GPU, uncomment 'wwwwcl'
//wwwwexe=wwww.exe
//wwwwexe=wwwwcl.exe
//wwwwexe=wwwwcl64.exe
See for example here. Maybe the executable file name omits "32" or "64" simply because only the 64 platform is supported?
/JeppeSN | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 13579 ID: 53948 Credit: 251,899,558 RAC: 234,351
                           
|
I still can't run either pfgw32, wwwwcl.exe or wwww.exe on my 32-bit Windows XP machine, with a "is not a valid Win32 program" errors. Any tips for troubleshooting?
After the other comments, it's clear that wwww and wwwwcl are not supposed to work on 32 bit XP. pfgw32 almost certainly should, but I'm not sure if FMA will work in 32 bit mode. I seem to recall that at least one other program (either llr or genefer) won't run FMA in the 32 bit build.
EDIT: Or not. :)
____________
My lucky number is 75898524288+1 | |
|
Scott Brown Volunteer moderator Project administrator Volunteer tester Project scientist
 Send message
Joined: 17 Oct 05 Posts: 2227 ID: 1178 Credit: 9,295,456,371 RAC: 6,671,625
                                        
|
Actually, I think that wwwwcl IS supposed to work on 32-bit systems (Thus, we also have wwwwcl64 as a different application). The CPU app required 64-bit for some specific reason, but I thought that wasn't the case with the OpenCL versions for running on a GPU. Indeed, I vaguely recall running wwwwcl on a pair of GTX-460s in a 32-bit XP system some time ago (that system was upgraded to 64-bit Win 7 and different GPUs a while back).
...maybe I am not remembering that correctly???
EDIT: The first few posts by rogue in this thread seem to show that wwwwcl is indeed a 32-bit application. | |
|
streamVolunteer moderator Project administrator Volunteer developer Volunteer tester Send message
Joined: 1 Mar 14 Posts: 862 ID: 301928 Credit: 504,409,030 RAC: 171,169
                        
|
After the other comments, it's clear that wwww and wwwwcl are not supposed to work on 32 bit XP. pfgw32 almost certainly should, but I'm not sure if FMA will work in 32 bit mode.
Ouch. Look like everybody missed this conversation.
I'll quote:
"wwwwcl itself was taken from current PrpNet package, but version fields in the header were patched (file offsets 0x140 and 0x148, change 6 to 5). Really, it is already XP-compatible (does not references new Vista+ Win32 APIs) and runs just fine after this change. Only have to install MSVC 2012 Redistributable to get VCOMP11.DLL on my system."
So - wwwwcl is incorrectly linked. If it cannot be rebuilt, just patch the executable header as described.
wwww: FAILS (not compiled for XP) - this is a 64-bit executable (must be renamed to avoid confusion, I think)
llrcuda: FAILS (not compiled for XP) - this is a 64-bit executable too
pfgw32: FAILS (not compiled for XP) - must be patched, like wwwwcl, offsets 0x160 and 0x168.
Also must be noted that MSVC 2012 Runtime is required for pfgw32 and wwwwcl (I've posted a download link on MS few days ago)
AVX/AVX2/FMA really will not work under XP, but problem is not in the bitness but in the OS itself. OS must know how to save new AVX/AVX2 registers. E.g. 32-bit Windows7 is OK. If OS knows this, then it also knows how to turn on AVX module in the CPU (it's disabled by default). Since XP does not knows, AVX(2) will stay disabled. Well-written application will just say that AVX is not available on this CPU.
Next, the distribution is bloated by unused/useless versions of CUDA libraries, although really used versions are only 5.5 and 3.2:
genefercuda.exe - cudart32_55.dll, cufft32_55.dll (and these libraries are not included!)
llrCUDA.exe - cudart64_32_16.dll, cufft64_32_16.dll
genefer32.exe, genefer64.exe and wwww.exe does not have debug information stripped (another few useless megabytes).
| |
|
rogueVolunteer developer
 Send message
Joined: 8 Sep 07 Posts: 1219 ID: 12001 Credit: 18,565,548 RAC: 0
 
|
After the other comments, it's clear that wwww and wwwwcl are not supposed to work on 32 bit XP. pfgw32 almost certainly should, but I'm not sure if FMA will work in 32 bit mode.
Ouch. Look like everybody missed this conversation.
I'll quote:
"wwwwcl itself was taken from current PrpNet package, but version fields in the header were patched (file offsets 0x140 and 0x148, change 6 to 5). Really, it is already XP-compatible (does not references new Vista+ Win32 APIs) and runs just fine after this change. Only have to install MSVC 2012 Redistributable to get VCOMP11.DLL on my system."
So - wwwwcl is incorrectly linked. If it cannot be rebuilt, just patch the executable header as described.
wwww: FAILS (not compiled for XP) - this is a 64-bit executable (must be renamed to avoid confusion, I think)
llrcuda: FAILS (not compiled for XP) - this is a 64-bit executable too
pfgw32: FAILS (not compiled for XP) - must be patched, like wwwwcl, offsets 0x160 and 0x168.
Also must be noted that MSVC 2012 Runtime is required for pfgw32 and wwwwcl (I've posted a download link on MS few days ago)
AVX/AVX2/FMA really will not work under XP, but problem is not in the bitness but in the OS itself. OS must know how to save new AVX/AVX2 registers. E.g. 32-bit Windows7 is OK. If OS knows this, then it also knows how to turn on AVX module in the CPU (it's disabled by default). Since XP does not knows, AVX(2) will stay disabled. Well-written application will just say that AVX is not available on this CPU.
Next, the distribution is bloated by unused/useless versions of CUDA libraries, although really used versions are only 5.5 and 3.2:
genefercuda.exe - cudart32_55.dll, cufft32_55.dll (and these libraries are not included!)
llrCUDA.exe - cudart64_32_16.dll, cufft64_32_16.dll
genefer32.exe, genefer64.exe and wwww.exe does not have debug information stripped (another few useless megabytes).
I'll take a look at pfgw, but you need to understand the even M$ doesn't support XP anymore. It is not high on my priority list to address. As there are thousands of users of pfgw, I'm certain that I would have received numerous other complaints if it others couldn't run it on XP. That implies that they have upgraded.
The genefer and wwww executables shouldn't be larger than 1 MB, so I don't understand what you mean by "few useless megabytes". | |
|
streamVolunteer moderator Project administrator Volunteer developer Volunteer tester Send message
Joined: 1 Mar 14 Posts: 862 ID: 301928 Credit: 504,409,030 RAC: 171,169
                        
|
I'll take a look at pfgw, but you need to understand the even M$ doesn't support XP anymore.
So what? All these XP boxes suddenly become rotten?
Although I could agree with you that all active users of pfgw has already upgraded. You'll have no AVX without Windows 7. There is no fan in crunching without AVX. pfgw is not so wide-spread, comparing to llr, so this is really not a high-priority task.
Anyway, the question is only to set correct projects options (if it is possible to recompile) or spend 5 seconds to patch existing executable using any hex editor. I could prepare patched pfgw32 and wwwwcl executables to include in PrpNet package, if you like.
The genefer and wwww executables shouldn't be larger than 1 MB, so I don't understand what you mean by "few useless megabytes".
They're 2.5 megabytes each now. Not much considering modern style, but stripping them reduces each file to true size of 1.5 megabytes.
Is some GNU toolchain used to build them? Then "strip -p filename.exe" must be added to the Makefile after linking.
| |
|
compositeVolunteer tester Send message
Joined: 16 Feb 10 Posts: 797 ID: 55391 Credit: 706,603,392 RAC: 174,353
                      
|
stream wrote:
So what? All these XP boxes suddenly become rotten?
And then a handsome young prince comes along and wakes them up with a kiss of Linux.
| |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 13579 ID: 53948 Credit: 251,899,558 RAC: 234,351
                           
|
I'll take a look at pfgw, but you need to understand the even M$ doesn't support XP anymore. It is not high on my priority list to address. As there are thousands of users of pfgw, I'm certain that I would have received numerous other complaints if it others couldn't run it on XP. That implies that they have upgraded.
Regardless of what Microsoft supports, PrimeGrid's current policy is that we support 32 bit XP, as described here. We therefore prefer that apps be compatible with XP-32.
____________
My lucky number is 75898524288+1 | |
|
|
I'll take a look at pfgw, but you need to understand the even M$ doesn't support XP anymore. It is not high on my priority list to address. As there are thousands of users of pfgw, I'm certain that I would have received numerous other complaints if it others couldn't run it on XP. That implies that they have upgraded.
Regardless of what Microsoft supports, PrimeGrid's current policy is that we support 32 bit XP, as described here. We therefore prefer that apps be compatible with XP-32.
Does Primegrid have a timetable on when support for XP will end so folks can prepare?
____________
| |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 13579 ID: 53948 Credit: 251,899,558 RAC: 234,351
                           
|
I'll take a look at pfgw, but you need to understand the even M$ doesn't support XP anymore. It is not high on my priority list to address. As there are thousands of users of pfgw, I'm certain that I would have received numerous other complaints if it others couldn't run it on XP. That implies that they have upgraded.
Regardless of what Microsoft supports, PrimeGrid's current policy is that we support 32 bit XP, as described here. We therefore prefer that apps be compatible with XP-32.
Does Primegrid have a timetable on when support for XP will end so folks can prepare?
No. At this time, there's no plans to drop support for XP.
Support for various platforms falls under "we want to support everything, all the time." The only time we would stop supporting something is when it becomes too difficult to continue support. When that might happen (compilers changing, etc.) is not under our control, so there's no way to predict in advance when this will happen.
It also depends on how many computers are still using that technology. We'll work a lot harder to provide Windows 7 support than Windows for Workgroups support.
If there's no XP computers accessing PrimeGrid, it's more likely we'd drop support sooner rather than later. But even if XP usage drops precipitously, there's no advantage to our dropping support if all it means is using the right compiler switches.
Make sense?
____________
My lucky number is 75898524288+1 | |
|
|
Make sense?
Crystal | |
|
Message boards :
Project Staging Area :
PRPNet 5.3.2 |