From: gartmann@immunbio.mpg.de
Sent: Tuesday, December 21, 1999 6:58 AM
To: Info-VAX@Mvb.Saic.Com
Subject: Re: ETAPE?

In article <john-2012991021290001@199.17.148.128>, john@stafford.net (jjs) writes:
>In article <01JJOZ8YSUIQ8WWRRM@hscsyr.edu>, BINGHAMT@hscsyr.edu wrote:
>
>> My site has been using an old magtape reading Fortran program called ETAPE 
>> on our VAX for many years. We're finally getting rid of the old girl and 
>> need ETAPE (or an equivalent) to be running on our Alpha 2100.
>
>OpenVMS V7.1
>AlphaServer 4100 5/466 4MB, hardware model type 1598   
>
>ETAPE rules. We use it on an old Vaxen, but not on the Alphas.
>
>   If you find it, please share it with the rest of us. I do
>   have the source and the Fortran compiler, but being stupid
>   (not a programmer) I don't know what compilation qualifiers to use.
>
>   With a straight FORT ETAPE, I get many of these, which result
>   in a bad image after linking.
>
>   %FORT-W-MISALIGN, Alignment of variable or array is inconsistent with
>   it's data type
>
>   Perhaps a real programmer can give the compiler qualifiers, and
>   make the image available (or I can do the later.)

Ok, under VMS 7.1-2 with Fortran 7.2-1 it compiles using
    for/syntax/alignment=commons=standard 
but gives two warnings. The first one can easily be avoided by declaring
an additional "INTEGER*4 newrc" and changing line 116 from "call
lib$sys_trnlog" into "newrc = lib$sys_trnlog".

But with the second message I am at a loss:

       STRUCTURE /DSCDEF/
...................^
%F90-W-WARNING, The structure length is not a multiple of its largest element;
   could create misalignments for arrays of this type.   [DSCDEF]
   at line number 368 in module $DSCDEF of text library
   SYS$COMMON:[SYSLIB]FORSYSDEF.TLB;1

I assume it doesn't do much harm and I don't like to modify system libraries.

Regards,
   Christoph Gartmann

-----------------------------------------------------------------------+
| Max-Planck-Institut fuer      Phone   : +49-761-5108-464   Fax: -452 |
| Immunbiologie                                                        |
| Postfach 1169                 Internet: gartmann@immunbio.mpg.de     |
| D-79011  Freiburg, FRG                                               |
+------------ http://www.immunbio.mpg.de/english/menue.html -----------+
