Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IRAF 2.15 and gkimos problem

 
Post new topic   Reply to topic    iraf.net Forum Index -> Applications
View previous topic :: View next topic  
Author Message
rji
Active IRAF User


Joined: 21 Apr 2007
Posts: 87

PostPosted: Mon Nov 29, 2010 6:43 pm    Post subject: IRAF 2.15 and gkimos problem Reply with quote

In the new 2.15 IRAF I can run
Code:
gkimos ... nx=1 ny=1
without problem, but for example
Code:
gkimos ... nx=3 ny=3
gives a message:
Code:
ERROR: floating point divide by zero
     called as: `gkimosaic...'
.
After the error is reported I can run
Code:
gkimos ... nx=1 ny=1
... nx=1 ny=2
... nx=2 ny=1
...
... nx=3 ny=3 # !!!

Sometimes IRAF does not report the error but hungs.
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Mon Nov 29, 2010 6:52 pm    Post subject: Reply with quote

Please tell me what platform you're on, I can use the standard dev$vdm.gki file or one created locally on a linux64 system with no problem. If you need to, you can also post the metacode file (in binary mode) to the anonftp on ftp://iraf.noao.edu/pub
Back to top
View user's profile Send private message
rji
Active IRAF User


Joined: 21 Apr 2007
Posts: 87

PostPosted: Mon Nov 29, 2010 8:06 pm    Post subject: Reply with quote

I put the "z.gki" small file. I run new 2.15 IRAF on 32-bit laptop. The problem is
Code:
unl gkimos
gkimos z.gki

with error
Code:
ERROR: floating point divide by zero

and on a starting xterm (which lunches the xgterm)
Code:
xgterm: warning, error event received:
X Error:  BadDrawable
  Request Major code 53 ()
  ResourceID 0x4400013
  Error Serial #1575
  Current Serial #1606

Code:
gkimos z.gki nx=1 ny=1

is running without any problem.
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Wed Dec 01, 2010 7:09 am    Post subject: Reply with quote

I can reproduce the problem on a 32-bit linux system. It actually appears to be a bug in either the CL itself or the graphics system having to do with converting the normalized device coords to a plot WCS. In gkimos some areas of the screen don't have a plot displayed so something may be uninitialized, this would also explain why when nx=ny=1 it works.

I'll post back when I have a fix or workaround, thanks for the report.
Back to top
View user's profile Send private message
rji
Active IRAF User


Joined: 21 Apr 2007
Posts: 87

PostPosted: Fri Feb 25, 2011 8:27 am    Post subject: Reply with quote

IRAF 2.15.1a continues to have this problem.
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Fri Feb 25, 2011 7:21 pm    Post subject: Reply with quote

It is still on the list, it just didn't make it into this patch.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Applications All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.12 seconds