Posted: Thu May 26, 2011 10:58 pm Post subject: Psfmeasure problems
I'm having trouble getting psfmeasure, in the external package nmisc, to work properly. When I try to test run it, the result is as follows:
Code:
nmisc> psfmeasure dev$pix
** Select stars to measure with 'm' and finish with 'q'.
** Additional options are '?', 'g', and :show.
PANIC in `/iraf/extern/nmisc/bin.macintel/x_nmisc.e': Write to IPC with no reader
Segmentation fault
I don't think the problem is with nmisc itself, because other tasks (eg newimexamine) work fine, and the image appears interactively in ds9 when I call psfmeasure. I tried running d_trace beforehand, as well as clearing the cache multiple times with flpr, and the result was:
Code:
nmisc> psfmeasure dev$pix
----- task cl - line 15 (CALL) -----
15 22+6: call psfmeasure
15 28+8: pushconst `dev$pix'
15 36+4: indirposset 0
15 40+3: exec
----- exec external task psfmeasure - line 15 -----
----- connect to nmiscbin$x_nmisc.e -----
psfmeasure\nimages="dev$pix"\ncoords="markall"\n
wcs="logical"\ndisplay=yes\nframe=1\nlevel=0.5\nsize="FWHM"\n
beta=INDEF\nscale=1.\nradius=5.\nsbuffer=5.\nswidth=5.\n
saturation=INDEF\nignore_sat=no\niterations=2\nxcenter=INDEF\n
ycenter=INDEF\nlogfile="logfile"\nmode="ql"\n$nargs=1\n
--------------------------------
** Select stars to measure with 'm' and finish with 'q'.
** Additional options are '?', 'g', and :show.
----- task psfmeasure - line 4 (INSPECT) -----
4 46+6: inspect imagecur
4 52+3: end
----- task psfmeasure - line 5 (INSPECT) -----
5 46+6: inspect imagecur
5 52+3: end
PANIC in `/iraf/extern/nmisc/bin.macintel/x_nmisc.e': Write to IPC with no reader
Segmentation fault
I admit that I am very new at this, but I am stumped! Any input would be much appreciated.
Unpack this file in the /iraf/extern/nmisc directory and then move the contents of the 'bin.macosx' directory to 'bin.macintel'. What I put up before may have been built against the v2.15 system, but since NMISC was ported to 64-bits the segfault is understandable. These are 32-bit PPC binaries but should still run on your system.
Otherwise I can talk you through building the package locally if you tell me what problems you're having.
I tried using the macosx file http://iraf.noao.edu/iraf/ftp/iraf/extern-v214/nmisc000118/nmisc-bin.macosx.tar.gz , but for some reason, unpacking this no longer produces the executables x_nmisc.e and x_imexam.e. Instead, it's producing a bin.macosx executable, which is strange....
I attempted once again to compile the binaries myself, and I followed the directions in the nmisc.readme, first editing /iraf/iraf/unix/hlib/extern.pkg to include the nmisc task and then using
...ld: symbol(s) not found
collect2: ld returned 1 exit status
Warning, mkpkg line 8: module `relink' not found or returned error
move `xx_nmisc.e' to `nmiscbin$x_nmisc.e'
$move: file `xx_nmisc.e' not found
Warning, mkpkg line 34: error moving file xx_nmisc.e
Warning, mkpkg line 9: module `install' not found or returned error
Warning, mkpkg line 3: module `update@src' not found or returned error
And no executables in bin.macintel. I also included "-m32" in XFLAGS and LFLAGS in mkpkg.inc and tried again to make, but got a plethora or errors and warnings, still terminating in
Code:
Undefined symbols:
"_stgpue_", referenced from:
_imdrcr_ in libds.a(imdrcur.o)
"_stggee_", referenced from:
_imdrcr_ in libds.a(imdrcur.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
Warning, mkpkg line 8: module `relink' not found or returned error
move `xx_nmisc.e' to `nmiscbin$x_nmisc.e'
$move: file `xx_nmisc.e' not found
Warning, mkpkg line 34: error moving file xx_nmisc.e
Warning, mkpkg line 9: module `install' not found or returned error
Warning, mkpkg line 3: module `update@src' not found or returned error
Without investigating I would comment that psfmeasure started in the nmisc package but has been in the standard system (noao.obsutil) and in mscred
for quite a long time.
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