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 

problem in using iuetools in iraf

 
Post new topic   Reply to topic    iraf.net Forum Index -> Misc
View previous topic :: View next topic  
Author Message
nishahansraj



Joined: 19 Sep 2009
Posts: 8

PostPosted: Sat Sep 19, 2009 6:34 am    Post subject: problem in using iuetools in iraf Reply with quote

I am having the following Problem while working with iraf. I have some .mx files which i need to convert to .fits file for which i require iuetools package to be installed in iraf. I was already having iraf installed, i installed iuetools. I am having the following problem in iuetools.cl file :
When i say mxexpand abc.mxhi ; it says : ERROR: package `iuetools$x_iuetools' not found !
Do i need to edit iuetools.cl file where this thing is written?
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Sat Sep 19, 2009 5:46 pm    Post subject: Reply with quote

A 'package not found' error may mean you declared the package incorrectly. Assuming you downloaded the tarball and compiled the source correctly (see the Install_Guide.txt file), the package is declared by editing the hlib$extern.pkg file with something like

Code:

reset iuetools = /iraf/extern/iuetools/                <-- trailing '/' required!
task iuetools = iuetools$iuetools.cl


It would appear you are referencing the x_iuetools.e binary directly in the 'task' statement rather than the package .cl file.

-Mike
Back to top
View user's profile Send private message
nishahansraj



Joined: 19 Sep 2009
Posts: 8

PostPosted: Mon Sep 21, 2009 5:22 pm    Post subject: hlib$extern.pkg Reply with quote

But where do i find hlib$extern.pkg file?
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Mon Sep 21, 2009 6:22 pm    Post subject: Reply with quote

Try

Code:
cl> edit hlib$extern.pkg


If you have an 'iraf' user and that account owns the iraf tree you'll need to be logged in as iraf for this to work. The 'hlib$' iraf logical path simply means $iraf/unix/hlib where the $iraf represents the iraf root directory (typically /iraf/iraf/, so try editing /iraf/iraf/unix/hlib/extern.pkg).
Back to top
View user's profile Send private message
nishahansraj



Joined: 19 Sep 2009
Posts: 8

PostPosted: Tue Sep 22, 2009 5:28 am    Post subject: iuetools.e not found Reply with quote

i edited the hlib$extern.pkg file as you said. But still i m getting the following error...

iuetools> mxexpand swp49233.mxhi
ERROR: Cannot open connected subprocess (./x_iuetools.e)

??
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Tue Sep 22, 2009 6:10 am    Post subject: Reply with quote

'Cannot open connected subprocess' is different than 'package not found', it basically means the binary file can't be found. Did you compile the package from the source? Is there an x_iuetools.e file in the package's directory? If not, see the readme/install file that comes with the package or let me know what platform you're using and I can probably provide a binary.

-Mike
Back to top
View user's profile Send private message
nishahansraj



Joined: 19 Sep 2009
Posts: 8

PostPosted: Tue Sep 22, 2009 8:37 am    Post subject: Reply with quote

Okay. What is the binary file for the linux platform which i am using i.e. CentOS . Also tell me the binary file for Ubuntu.
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Tue Sep 22, 2009 4:49 pm    Post subject: Reply with quote

I put a linux binary at http://iraf.net/ftp/pub/x_iuetools.LINUX for you. This should work on either CentOS or Ubuntu, just download the file in binary mode, rename to 'x_iuetools.e' and put it in IUETOOLS package directory.

-Mike
Back to top
View user's profile Send private message
nishahansraj



Joined: 19 Sep 2009
Posts: 8

PostPosted: Wed Sep 23, 2009 11:18 am    Post subject: Reply with quote

Thanks a lot for your help, its working now. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Misc 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.09 seconds