Bob Tennent wrote

>I've been trying to use pmxab to obtain tex files from the four pmx
>files in fairy_queen.zip in
>
>http://icking-music-archive.org/scores/purcell_h/fairy_queen/
>
>on Linux systems. Two of the files (p_bc, p_va) work fine. The other two
>produce, depending on which version of PMX and which Fortran compiler I
>used to compile pmxab.for (f77, f95), either error messages
>
> WARNING:
> Last non-blank character is "", not "/,%"
> ASCII code:           0
>
>at the end of the first pass, or
>
> At line 15468 of file pmxab.for
> Fortran runtime error: End of file
>
>at the end of the second pass, or a segfault in the second pass.
>
>The only successes on those two files came from using f2c followed by
>gcc34.

With some pretty laborious debugging, I've identified the source of the
error "at line 15468 of file pmxab.for". Of course it was nowhere close to
that line. It's the sort of bug that Werner was so good at detecting, in
that it depended on the interaction between several different items before
coming to light. In this case a slur ended on a note with a dot (ornament).
PMX adjusts the height of the slur if the dot is on the same side of the
note as the slur ending, as it practically always is. But in this case it
wasn't. I had made a coding error by failing to set the variable defining
the adjustment to zero or any other value in this particular unusual
situation, but going ahead and adding it to the original slur height. My
compiler defaulted the variable to zero, but gfortran set it to 1098907648,
and I assume some of the Linux compilers Bob mentioned did something
similar. Case closed. 

I'll have a new distribution as soon as I settle on what to do about the
"last non-blank character" warning. 

--Don Simons 


_______________________________________________
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music

Reply via email to