[fedora-astronomy] IRAF/Gfortran

Joseph Wang joequant at gmail.com
Sat Jun 1 14:00:53 UTC 2013


gfortran supports f77, but I'm not sure that this is good f77.

The piece of code is

      logical Memb(1)
      integer*2 Memc(1)
      integer*2 Mems(1)
      integer Memi(1)
      integer Meml(1)
      real Memr(1)
      double precision Memd(1)
      complex Memx(1)
      equivalence (Memb, Memc, Mems, Memi, Meml, Memr, Memd, Memx)
      common /Mem/ Memd

Memi are then used to reference the memory location as pointers.  The
trouble is that f90 sees this as real arrays.

If you have some ideas on how to make this work in gfortran let me know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/astronomy/attachments/20130601/cf7cd29f/attachment.html>


More information about the astronomy mailing list