Welcome to iraf.net Tuesday, April 16 2024 @ 03:44 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Problems with DS9 on Fedora 20 x64
   
Thin_icE
 10/23/2014 04:42PM (Read 2841 times)  
+----
Newbie

Status: offline


Registered: 10/23/2014
Posts: 2
I recently performed an installation of IRAF on a computer running Fedora 20 x64, and whenever I try to run the test command:
PHP Formatted Code
display dev$pix 1


I get the infamous error:
PHP Formatted Code
ERROR: Cannot open device (node!imtool,,512,512)


The exact same version of IRAF on other systems (other linux flavours and fedora versions) work perfectly with DS9.
Any ideas as to why this might be happening?

 
Profile Email
 Quote
fitz
 10/23/2014 04:50PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Firstly, you need to be sure that DS9 is running before you try to display, it will not be opened automatically.

Next, in recent versions of DS9 the IRAF display protocol is broken in a new way, i.e. the unix domain sockets don't appear to work. To get the image display working, you need to define an environment variable before starting iraf:

setenv IMTDEV inet:5137

You could also install DS9. v6.x which should also fix the problem.

 
Profile Email
 Quote
Thin_icE
 10/23/2014 04:58PM  
+----
Newbie

Status: offline


Registered: 10/23/2014
Posts: 2
Thanks for the fast reply Smile

DS9 is running, of course. And I can confirm that the variable solution works as a charm! I haven't been able to test the older DS9, as I can't seem to find it for download, but will try that too.

Thank you very much!

 
Profile Email
 Quote
marco.03
 12/02/2014 10:27PM  
+----
Newbie

Status: offline


Registered: 12/19/2010
Posts: 10
Hi,
I am running ds9&IRAF on Ubuntu 14.04 64 bit, and I had the same problem that was reported here. Setting the IMTDEV variable allows me to display images, but I experience problems with routines which perform some kind of 'drawing' on the display, which now takes a really long time.

I am mainly concerned with stsdas ellipse: every time some region is masked, or every successive ellipse fitting, the redraw operation takes several tens of seconds, which makes the whole task take several minutes even for moderately small images.

Is there something I can do (e.g. set a system variable) to speed up communications between IRAF and DS9?

 
Profile Email
 Quote
fitz
 12/02/2014 10:34PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

Sorry, but there is no magic environment variable for this one, it has to do with the way the frame is redrawn in DS9 with each new ellipse. I can't explain why it would takes tens of seconds, you might try an older DS9 version to see if that behaves any better, otherwise my only suggestion is to use a smaller frame buffer if possible (i.e. less data to transfer). You should also check with the DS9 developers to see if they have a workaround.

 
Profile Email
 Quote
   
Content generated in: 0.31 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login