Anonymous: Guest |
08/17/2006 01:14PM (Read 6495 times)
|
|
|
|
Hi! I'd like to know whether the IRAF's library needs to be upgraded to run the
DIFIMPHOT package. I have installed this package in my laptop but when I start
the GETPSF task it begins to run but ends with an error, which I don't know how
to solve. Thank you.___________________________________________________________________Mairan Teodoro
Departamento de Astronomia
Instituto de Astronomia Geofísica e Ciências Atmosféricas
Universidade de São Paulo
R. do Matão 1226 - Cidade Universitária
CEP: 05508-900 - São Paulo/SP
Sala: E308 Tel. 11) 3091 2734
___________________________________________________________________
|
|
|
|
fitz |
08/17/2006 01:14PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
What kind of laptop? What kind of error message? If linux, did you rebuild from sources or use the ancient binary (which probably does need updating)? An error like a "segmentation violation" can sometimes be a coding error (e.g. a missing argument to a function call), a "memory corrupted" is usually a bad pointer of some kind, and either could be triggered by a particular combination of parameters or data values or both.Please post more information, although as a contrib package I'm afraid none of us are at all familiar with it.Cheers,
-Mike
|
|
|
|
mairan |
08/17/2006 01:14PM
|
|
|
Status: offline
Registered: 08/18/2006
Posts: 12
|
Hi!I have run some of the other DIFIMPHOT's tasks and they seems to be OK. The problem occurs when I run the GETPSF. It begins to run, find the stars in the image and then break without apparent reason. The DIFIMPHOT's author do not know whether the IRAF library needs to be updated to DIFIMPHOT run correctly. He also would like to know whether IRAF is still compatible with the old version of the package.I installed the DIFIMPHOT package following the installation file that comes with the documentation.Thank you for the help.
Mairan Teodoro, PhD.
|
|
|
|
fitz |
08/17/2006 01:14PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Mairan,Please clarify what you mean by "break"...what is the specific error message, does the task just produce wrong results, etc.The package dates from 1999 so it is very likely that the existing binaries could have problems under e.g. newer versions of linux, although in some cases because of glibc changes having nothing to do with IRAF. I'd recommend you recompile from source but be aware newer compilers may complain now about things that were allowed originally (e.g. bool/int type clashes). IRAF library interface changes are pretty rare however this package was originally prepared for V2.11. I was able to get it to build under RH9 (although the process isn't standard and required code from IMEXAM) with no problems but it could be only a runtime problem (e.g. memory leak needing debugging).The GETPSF task is a script so the first thing to figure out is which task is dying: If you type 'd_trace' before running the script you should be able to figure that much out. If you're in touch with the author perhaps he can help debug the problem with that information.-Mike
|
|
|
|
mairan |
08/17/2006 01:14PM
|
|
|
Status: offline
Registered: 08/18/2006
Posts: 12
|
Hi!This is the message that I get when running GETPSF:running daofind with FWHM=4.00
daofind found 15108 stars found in wd1_h0060
ERROR on line 170: Cannot open connected subprocess (difimphot$xx_difimphot.e)
getpsfs ()
getpsfs ()
sy>
Mairan Teodoro, PhD.
|
|
|
|
fitz |
08/17/2006 01:14PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
It means the binary for the package either doesn't exist or won't run (e.g. execute permissions not set, fails because of missing dynamic lib, etc). If the file exists try running it by hand outside of iraf, the system error message may tell you more. I'm guessing you're using linux and so I put the binary I built the other day at https://iraf.net/ftp/pub/fitz/xx_difimphot.e for you to try. Download and put in the package directory, be sure the execute permissions have been set (i.e. with "chmod 755 xx_difimphot.e" at the unix prompt).-Mike
|
|
|
|
mairan |
08/17/2006 01:14PM
|
|
|
Status: offline
Registered: 08/18/2006
Posts: 12
|
Mike,I could not download the file because my browser displays a message saying that the file is removed or I do not have permission to dowload it. If you like you can send to my e-mail: mairan@astro.iag.usp.brThank you.P.S.: I'm running it in linux red hat 9.0 (Shrike)
Mairan Teodoro, PhD.
|
|
|
|
fitz |
08/17/2006 01:14PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
I fixed the file permissions, you should be able to see it now. It is also a RH9 binary.-Mike
|
|
|
|
mairan |
08/17/2006 01:14PM
|
|
|
Status: offline
Registered: 08/18/2006
Posts: 12
|
Mike,Now it's working fine! When I installed the package and get that error message for the first time, I looked into the DIFIMPHOT directory to try to figure out what was wrong and now I see that the xx_difimphot.e was missing! I will let the author know about this issue.Thank you for your help!
Mairan Teodoro, PhD.
|
|
|
|