Problem with v8.08 when multiple films used in an image stack

Forums

Hi Niko,

I thought I'd try letting you know about this through this forum.

I've been setting up frealign_v8.08 for use on a new cluster. We generally use large stack files that have come from many different films. Therefore, our card 10b's might look like:

45,50000,1351,40961,41873,11.77,1
71,50000,1352,51021,51844,15.20,1
11,50000,1353,38316,39442,15.08,1
51,50000,1354,45028,45707,12.17,1
etc.
31,50000,1356,38205,39034,24.64,0

When we run on a cluster, each executing script would specify the relevant particles using ifirst,ilast. This has worked up to v7. However, with v8.08 I get an error when ilast-ifirst < total number of particles in the stack. That is, with a stack of 10000 particles, if I set ifirst,ilast to "1,10000", the program starts running. If I set ifirst,ilast to 1,10 it crashes, with output:

MAGNIFICATION, STEPSIZE, TARGET & THRESH PHASE RESIDUAL LIMIT, CS, KV, BEAM TILT X,Y ?
CARD 6: Error. Trying old CARD 6 input...
At line 33 of file card6.f
Fortran runtime error: Bad real number in item 1 of list input"

The offending line of code seems to be line 221 in card10.f:

IF ((NANG.LT.NNPART).AND.(IMORE.EQ.1)) GOTO 7022

I presume this means it is moving on to look for the next card 6 because it thinks it has already loaded enough defocuses (etc.) for the current stack, even though imore=1. The problem with this arrangement is that each of our executing scripts would have to have card 10s specifically tailored to the subset of particles that they are going to run on. I didn't want to start changing card10.f because I'm worried about messing up the book keeping for particle defocuses.

If I've understood the problem correctly, is this something that could be returned to the v7 structure?

Thanks and best regards,

John

I fixed the bug (see new archive frealign_v8.08_100519.tar.gz on the download page). Please give it another try.

In reply to by niko

The new version works. Thanks Niko.
John