mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2016-11-28, 03:22   #1
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts
Default Cannot initialize FFT code, errcode=1002

I am running P95 v 28.10 on an AMD FX-9590. Lately, I have had problems when changing number of workers and number of threads per worker. In the course of an experiment, I changed worker arrangements from my current standard of 2 workers, 4 threads each. There were several alternative arrangements which I tried, mostly to look at performance changes. When I tried to change back to the standard settings mentioned above, they would repeatedly revert to one of the alternates.

In the past, I found that I could get the desired settings back by making a drastic change, such as one thread each for 8 workers, saving, exiting, restarting, changing (while stopped) back to the "2 x 4" setup, saving, etc. etc. Eventually, that did not work, and I tried more direct means by messing with prime.txt and local.txt. I also copied a newly extracted P95 v 28.10 to my working folder. I checked if Read Only had sneaked in on the Prime95 folder: No. This folder is at the root of the drive it is on.

I now have things bollixed, in that P95 starts with the correct arrangement of workers and threads, but immediately gives the error message:
Code:
Cannot initialize FFT code, errcode=1002
Number sent to gwsetup is too large for the FFTs to handle
I am now at a loss as to how to recover. Suggestions, please.

EDIT: Also, though Options>CPU shows the correct information, when the program starts it says it is optimizing for Core i3/i5/i7.

Last fiddled with by kladner on 2016-11-28 at 03:33
kladner is offline   Reply With Quote
Old 2016-11-28, 03:57   #2
sdbardwick
 
sdbardwick's Avatar
 
Aug 2002
North San Diego County

10101011012 Posts
Default

You aren't trying to run 64 bit P95 on a 32 bit OS, are you?
sdbardwick is offline   Reply With Quote
Old 2016-11-28, 04:26   #3
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

27AE16 Posts
Default

Quote:
Originally Posted by sdbardwick View Post
You aren't trying to run 64 bit P95 on a 32 bit OS, are you?
No. I should have mentioned Win 7 Pro 64 bit. This seems to have happened while I was struggling to get changes to the worker settings to remain as I set them.

Last fiddled with by kladner on 2016-11-28 at 04:33
kladner is offline   Reply With Quote
Old 2016-11-28, 04:28   #4
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2·3,767 Posts
Default

Make sure local.txt does not have any "CpuSupportsXXX" entries.

Make sure Options/CPU reports the correct CPU features for your CPU.

Check your worktodo.txt file. If "FFT2=xxxK" appears in any lines, remove it.
Prime95 is online now   Reply With Quote
Old 2016-11-28, 04:40   #5
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

236568 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Make sure local.txt does not have any "CpuSupportsXXX" entries.

Make sure Options/CPU reports the correct CPU features for your CPU.

Check your worktodo.txt file. If "FFT2=xxxK" appears in any lines, remove it.
Unfortunately, No on local.txt
Yes on Options/CPU (I think. Screenshot attached.)
No on FFT2=
Attached Thumbnails
Click image for larger version

Name:	Options-CPU.JPG
Views:	91
Size:	35.0 KB
ID:	15191  
kladner is offline   Reply With Quote
Old 2016-11-28, 05:58   #6
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

753410 Posts
Default

Try adding "CpuArchitecture=102" in local.txt.
If no luck, try adding "CpuSupportsFMA3=0" to local.txt.

If I understand you, you're saying you used to run OK with 28.10 (as opposed to a previous version). What does your worktodo.txt file look like?
Prime95 is online now   Reply With Quote
Old 2016-11-28, 06:09   #7
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Try adding "CpuArchitecture=102" in local.txt.
If no luck, try adding "CpuSupportsFMA3=0" to local.txt.

If I understand you, you're saying you used to run OK with 28.10 (as opposed to a previous version). What does your worktodo.txt file look like?
On the first two, no change.
You are correct. I have had no problems with 28.10, nor with previous versions until I ran the test which resulted in 28.10
That was a special case, and did not affect my production work.
kladner is offline   Reply With Quote
Old 2016-11-28, 06:39   #8
0PolarBearsHere
 
0PolarBearsHere's Avatar
 
Oct 2015

2×7×19 Posts
Default

How big an exponent are you trying to test?
0PolarBearsHere is offline   Reply With Quote
Old 2016-11-28, 06:47   #9
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts
Default

Quote:
Originally Posted by 0PolarBearsHere View Post
How big an exponent are you trying to test?
38.3M
EDIT: I have been doing 38-40M for months. This just came on last night, when I messed something up.
In the meantime, it is just as well that I run blend torture test to check up on stability in general.

Last fiddled with by kladner on 2016-11-28 at 06:53
kladner is offline   Reply With Quote
Old 2016-11-28, 17:33   #10
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts
Default

I have it running again, at the cost of a few days' work. I built a new P95 folder and copied things over from the old. It seems that the problem involved a corrupted save file. At least, it recurred when I copied those over. I'm not sure how I messed this up, though it seems that I must have in some way.

Thanks for the responses and suggestions.

Last fiddled with by kladner on 2016-11-28 at 17:34
kladner is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Help Andrew Programming 12 2013-02-16 20:53
Cannot initialize FFT code, errcode=1007 amaseam Software 8 2011-06-17 11:19
Cannot initialize FFT code, errcode=1005 tichy Software 0 2010-12-20 11:00
"Cannot initialize FFT code" with no swap (SOLVED) Unregistered Information & Answers 0 2010-07-15 14:10
A little help with VBS code IronBits No Prime Left Behind 6 2008-11-12 14:23

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


Sun Aug 1 17:49:16 UTC 2021 up 9 days, 12:18, 0 users, load averages: 2.64, 2.19, 1.86

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.