JediWill |
06/23/2006 03:04PM (Read 12794 times)
|
|
|
Status: offline
Registered: 06/23/2006
Posts: 13
|
Hello everybody, I am a student that is trying to install IRAF onto my laptop that is running WinXP(SP2) with Cygwin. But I have run into a couple of problems. I have tried to follow the instructions by CJ Burke and have gotten IRAF to run. But when I try to use rfits to convert some .fit files, I get the error that the system cannot open the pixel file. Looking around, I tried to run the final install script given in PC-IRAF V2.12 installation guide, but I get the error that the it is unable to determine platform archiecture (using tcsh).Thanks in advance. If you need more info let me know.William
|
|
|
|
fitz |
06/23/2006 03:04PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
The "cannot open pixel file" usually means your 'imdir' (i.e. the place where the system puts pixel files for .imh format images) is invalid. This is set by default at the install time but can be changed in your login.cl (just edit the file and log back in). You can use the special "HDR$" syntax to put the .pix files in the same directory as the .imh headers, e.g.[code:1:debd5765dd]
cl> reset imdir = "HDR$" or
cl> reset imdir = "HDR$pix/"
[/code:1:debd5765dd]The latter command will put/create a 'pix' subdirectory for the .pix files.I'd also recommend you install the port from this site as it is more current and defines a 'cygwin' architecture for the system (Chris port made use of the 'linux' architecture name which may be causing the confusion).Cheers,
-Mike
|
|
|
|
JediWill |
06/23/2006 03:04PM
|
|
|
Status: offline
Registered: 06/23/2006
Posts: 13
|
Thanks for your reply, I have taken your advice and am installing the ports from iraf.net. Everything went smoothly until, again, I try the install script. Now it is giving me an error that I must reset the permissions on my iraf directory tree and try the script again. Any help would be great.Thanks,
William
|
|
|
|
fitz |
06/23/2006 03:04PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
You can change the permissions on the directory tree with the command[code:1:c3102883bb]
prompt% sudo chmod -R o+r,o+x /iraf
[/code:1:c3102883bb]the grant read and execute permissions to 'other' users.-Mike
|
|
|
|
JediWill |
06/23/2006 03:04PM
|
|
|
Status: offline
Registered: 06/23/2006
Posts: 13
|
Mike, Thanks for all you help. I have gotten IRAF and Cygwin to play nice and they both work now. One last thing though, what is the easiest way to install both ds9 and an xgterm into Cygwin? Thanks againWilliam
|
|
|
|
fitz |
06/23/2006 03:04PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Just get the binaries and install them someplace like /usr/local/bin. The xgterm binary is the same as Chris Burke's until I get around to fixing mine, DS9 can be downloaded from the SAO site.Cheers,
-Mike
|
|
|
|
pakuliak |
06/23/2006 03:04PM
|
|
|
Status: offline
Registered: 06/01/2006
Posts: 14
|
Hello, Mike!there is an archive xpa.tar.gz for download in iraf/ds9 download directory.
What is it and what is it for? I have not find any mention about it in any guide
Ludmila
|
|
|
|
emiliano |
06/23/2006 03:04PM
|
|
|
Status: offline
Registered: 12/05/2005
Posts: 38
|
Ludmila,XPA is the "messaging system" used by DS9 to communicate with other programs. In practice, an XPA-enabled applications (DS9 for example) defines "access points" to listen to, and user (with command line tools such as xpaset or spaget) can send commands via the access points, and get back data such as internal variables or image buffers, and so on... You can read more info here:
http://hea-www.harvard.edu/RD/xpa/help.htmlFor a normal usage of DS9 as a display server for IRAF, XPA is not needed (since IRAF uses sockets to talk directly to DS9), but it could be usefull to install the XPA utilities, for example to use them in some script, to trigger DS9 actions that can't be handled directly by IRAF cl. For an examples see this thread: https://iraf.net/phpBB2/viewtopic.php?t=85284If you want to install XPA tools (like xpaset and xpaget) you can download the binary version, compiled for Win, from the DS9 home page.Cheers,
Emiliano
|
|
|
|