fits task

Is MIRIAD being a pain? Let us know your experience.

Moderator: Mark.Wieringa

Post Reply
minh25
Posts: 11
Joined: Fri Aug 17, 2012 3:08 am

fits task

Post by minh25 »

Dear Mark, Jamie, et al.,

I'm trying to convert a linmos output, so miriad image file, to a fits file.

>fits in=mosaic.mir out=mosaic.fits op=xyout
fits: Revision 1.32, 2014/09/15 04:39:01 UTC
### Fatal Error: Image too big for me to handle

This is with the latest binary version for Mac OSX, so the darwin_x86_64 binaries, newly installed today. The miriad file is roughly 3.2 GB in size.

When I use the MIRIAD installed on a linux system here fits works fine.
Same version of fits is run, version 1.32. The resulting .fits file is 3.2 GB.

So I'm guessing the Mac binaries aren't exactly compiled for 64 bit?

cheers,
Minh
Mark.Wieringa
ATCA Expert
Posts: 297
Joined: Mon Feb 08, 2010 1:37 pm

Re: fits task

Post by Mark.Wieringa »

Hi Minh,

Both versions are 64 bit but the Mac version has a maximum image size of 16384 (parameter MAXDIM in maxdim.h) and the 64 bit linux version has 32768.
There still seems to be quite a few Macs around with only 4GB memory (and Apple still sells some with that) and they'll have problems running some Miriad tasks with the larger setting, so I've left the default lower for Macs. If you are determined, you could compile Miriad from source with an increased MAXDIM value, but it's probably easier to use a linux box when you have to deal with super size images.

If I start getting more complaints about this, it might be time to increase the limit.

Cheers,

Mark
Post Reply