Welcome to iraf.net Saturday, May 11 2024 @ 12:24 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 cannot open connected subprocess (./x_isophote.e)
   
mroniedz
 06/12/2009 10:43AM (Read 6751 times)  
+----
Newbie

Status: offline


Registered: 06/12/2009
Posts: 2
Dear Sir, I have been quite extensively using Cygwin/Iraf on Windows Vista. Recently I decided to add stsdas, so I have installed tables and stsdas. Almost all works, help, epar, some tasks like 'bmodel' etc., excep that when I start task like 'isoexam' or 'ellipse', I get error message. I have followed the post I found on this forum
https://iraf.net/phpBB2/viewtopic.php?p=138985
and checked that indeed when I change directory to /iraf/extern/stsdas and execute cl>ellipse, task starts properly. My 'arch' variable is set to '.cygwin'. Please help!Lech

 
Profile Email
 Quote
fitz
 06/12/2009 10:43AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The error message basically means that the binary either couldn't be found, or didn't start properly. Since you can run the task from at least the package directory the binary appears to be runnable, and the value of the 'arch' variable is correct.Some things to check: what is the value of 'stsdas', i.e. "cl> show stsdas" ? This is set in the extern.pkg file and should be /iraf/extern/stsdas/ from what you say in your message (note the trailing '/' is required). The BMODEL task works because it is a script, but is there indeed a /iraf/extern/stsdas/bin.cygwin/x_isophot.e file on your system? Is this file perhaps in one of the other 'bin' directories in the stsdas tree?-Mike

 
Profile Email
 Quote
mroniedz
 06/12/2009 10:43AM  
+----
Newbie

Status: offline


Registered: 06/12/2009
Posts: 2
[quote:be089fcca3="fitz"]
Some things to check: what is the value of 'stsdas', i.e. "cl> show stsdas" ? This is set in the extern.pkg file and should be /iraf/extern/stsdas/ from what you say in your message (note the trailing '/' is required). The BMODEL task works because it is a script, but is there indeed a /iraf/extern/stsdas/bin.cygwin/x_isophot.e file on your system? Is this file perhaps in one of the other 'bin' directories in the stsdas tree?-Mike[/quote:be089fcca3]Dear Mike, Thank you very much for your help. I have followed your suggestions and found the following: - the 'stsdas' is defined properly. - bin.cygwin/ is in 2 locations: /iraf/irafbin/ (together with noao.bin.cygwin/) and in /iraf/iraf/ (together with bin.linux, bin.redhat etc) . - There is no bin.cygwin/ in /iraf/extern/stsdas/ but e.g (empty) bin.redhat/ is there. - As far as 'x_isophot.e' is concerned, I have found it in /iraf/extern/stsdas/.

- None of bin.cygwin/'s I have found in other locations contain 'x_isophot.e' . So, I have followed your suggestion, created bin.cygwin directory in /iraf/extern/stsdas/ and copied there the binary files. Now it works!Once more, thank you for your help!Lech

 
Profile Email
 Quote
fitz
 06/12/2009 10:43AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:fc2a3f3698]
- There is no bin.cygwin/ in /iraf/extern/stsdas/ but e.g (empty) bin.redhat/ is there.- As far as 'x_isophot.e' is concerned, I have found it in /iraf/extern/stsdas/.[/quote:fc2a3f3698]This sounds like the binaries were simply unpacked in the wrong directory. You'll need to manually create a 'bin.cygwin' directory in /iraf/extern/stsdas (the version shipped by STScI doesn't have one), then simply move all the x_*.e and lib*.a files in /iraf/extern/stsdas to /iraf/extern/stsdas/bin.cygwin.BTW, this is working when you're in the /iraf/extern/stsdas directory because that's where the binary is. Nomally a path to the binary is built up from the e.g. stsdas and arch variables, but if none is found the current working directory is used.-Mike

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