Welcome to iraf.net Wednesday, May 08 2024 @ 03:05 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Psfmeasure problems
   
MeganC2
 05/26/2011 10:58PM (Read 2896 times)  
+----
Newbie

Status: offline


Registered: 05/26/2011
Posts: 5
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:1:08ee8a9029]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
[/code:1:08ee8a9029]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:1:08ee8a9029]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: endPANIC in `/iraf/extern/nmisc/bin.macintel/x_nmisc.e': Write to IPC with no reader
Segmentation fault
[/code:1:08ee8a9029]I admit that I am very new at this, but I am stumped! Any input would be much appreciated.

 
Profile Email
 Quote
fitz
 05/26/2011 10:58PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Try using the binaries from ftp://iraf.noao.edu/iraf/extern-v214/nmisc-bin.macosx.tar.gzUnpack 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.

 
Profile Email
 Quote
MeganC2
 05/26/2011 10:58PM  
+----
Newbie

Status: offline


Registered: 05/26/2011
Posts: 5
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[code:1:7d29f4889e]% setenv iraf /iraf/iraf/
% source $iraf/unix/hlib/irafuser.csh
% setenv IRAFARCH macintel
[/code:1:7d29f4889e]then I edited the mkpkg file in the nmisc distribution to include a portion regarding macintel architecture (as per step [5] in the readme). Entering [code:1:7d29f4889e]ecl > mkpkg -p nmisc macintel
ecl > mkpkg -p nmisc[/code:1:7d29f4889e]results in [code:1:7d29f4889e]
...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
[/code:1:7d29f4889e]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:1:7d29f4889e]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
[/code:1:7d29f4889e]and no x_imexam.e or x_nmisc.e to be found!Thank you so much for all your help!
Megan

 
Profile Email
 Quote
fitz
 05/26/2011 10:58PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Let's try again.... I setup a macintel machine running v2.14 and rebuilt the binaries, try downloadingftp://iraf.noao.edu/iraf/extern-v214/nmisc-bin.macintel.tar.gzUnpack these in nmisc$bin.macintel/

 
Profile Email
 Quote
MeganC2
 05/26/2011 10:58PM  
+----
Newbie

Status: offline


Registered: 05/26/2011
Posts: 5
Thank you so much! Everything seems to be working with nmisc.

 
Profile Email
 Quote
valdes
 05/26/2011 10:58PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
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.Frank Valdes

 
Profile Email
 Quote
   
Content generated in: 0.13 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