ctffind4 and amplitude contrast [0.05]
Forums
Hi,
I've been trying to get ctffind4 to work for my data. My initial tests seemed fine, especially using the default values, so it runs. Indeed it almost always runs, except when I use an amplitude contrast value of 0.05. Then I get the following error:
forrtl: error (65): floating invalid
Aborted
It works if I use 0.052 (so I have a workaround), but for some reason it doesn't like 0.05.
mike
nice bug
Hey Mike,
Thanks for your bug report. I was able to reproduce it and found where it was happening. It's now fixed here.
Since you have a workaround and the bug only affects the generation of the diagnostic image (and even then it really shouldn't have a significant effect), I won't rush out a release to fix this. I have a couple of other things I want to fix before I make a new version.
If you do want a fix now though, I can upload a static binary so just let me know.
Cheers,
Alexis
fixed in 4.0.8
In reply to nice bug by Alexis
This is fixed in version 4.0.8, now available for download.
... fixed.
In reply to fixed in 4.0.8 by Alexis
Great. Thanks.
I'm afraid that the bug is
In reply to fixed in 4.0.8 by Alexis
I'm afraid that the bug is still available. At first I thought it is the problem of using precompiled program. However, when I tried it with ctffind4.0.11 compiled myself, this bug came to the screen again...
Another thing is that I found intel compiler is not free now (only for 30 days free trial). Please consider the source code updated for gfortran, although the efficiency may decrease.
Thanks for reporting this.
In reply to I'm afraid that the bug is by Biocheming
Thanks for reporting this. Indeed, 4.0.11 had a regression and I re-introduced the bug. I will release 4.0.12 later today to fix this.
Regarding gfortran: you should be able to build ctffind4 (versions 4.0.9 and above) with gfortran, as long as you have a version of gfortran >= 4.9.1.