[fitsbits] CFITSIO, IRAF format, and HP-UX

William Pence pence at tetra.gsfc.nasa.gov
Mon Aug 14 10:30:17 EDT 2000


Steve,

I don't have a HP system available to test on, so will send you some
suggestions off-line for tracking down the cause of this problem.

-Bill Pence



Stephen Walton wrote:
> 
> Hi,
> 
> The following little program segfaults for me on HP-UX V10.20, CFITSIO
> Version 2.037:
> 
>         program demobug
> C
> C       Run on HP-UX.
> C
>         implicit none
>         integer im, ier
> 
>         ier = 0
>         blocksize = 0
>         call ftopen(50, '/iraf/iraf/dev/pix.imh', 1, blocksize, ier)
>         print *, ier
>         end
> 
> I compiled it with "f77 +ppu demobug.f libcfitsio.a -lm". It works on
> RedHat 6.1.  I suspect a byte order detection problem but have been unable
> to puzzle out the code well enough to track it down.
> 
> --
> Stephen Walton, Professor of Physics and Astronomy,
> California State University, Northridge
> stephen.walton at csun.edu



More information about the fitsbits mailing list