Welcome to iraf.net Monday, May 13 2024 @ 07:08 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 ERROR: Cannot open connected subprocess (./x_mscdisplay.e)
   
hymong
 01/31/2008 06:40AM (Read 6093 times)  
++---
Junior

Status: offline


Registered: 10/30/2007
Posts: 27
Dear Sir/Madam,I just followed one previous post https://iraf.net/phpBB2/viewtopic.php?p=132865&sid=c633348e86bec9411992a19d55063a39 on MSCRED installation in this forum. However when I would like to display multiextension FITS format files (MEF files) with MSCDISPLAY, I encountered the error message.I list my installation and running results for your further helps.
[code:1:208a903cb2]> su iraf
> mkdir /home/iraf/extern/mscred
> cd /home/iraf/extern/mscred
> wget ftp://iraf.noao.edu/iraf/extern-v212/mscred/mscred.tar.Z
> tar zxf mscred.tar.Z
> rm mscred.tar.Z
> wget ftp://iraf.noao.edu/iraf/extern-v212/mscred/mscred-bin.redhat.tgz
> tar zxf mscred-bin.redhat.tgz
> rm mscred-bin.redhat.tgz
> exit
> cd IRAF
> xgtgerm&
> cl
> mscred
> mscdisplay ngc7000HaE
ERROR: Cannot open connected subprocess (./x_mscdisplay.e) [/code:1:208a903cb2]However, when I go to the specific folder to run MSCDISPLAY, it works.
[code:1:208a903cb2]> cd /home/iraf/extern/mscred/bin.redhat
> mscdisplay /home/hymong/IRAF/ngc7000HaE[/code:1:208a903cb2]Could somebody help me how to make all the MSCRED tasks executable without going to the specific folder to run the command? Or could somebody give me any advice on my MSCRED installation procedure? Sorry for my simply and dull post?Thanks!!
hymong

 
Profile Email
 Quote
fitz
 01/31/2008 06:40AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
What is the value of your 'arch' CL environment variable (i.e. "cl> show arch") and what kind of Linux system are you using? The Redhat binaries are appropriate for systems like Fedora, CentOS, RH Enterprise, and (I think) Scientific Linux, but all other platforms should have 'arch' set to '.linux' and so you would need to mv the package 'bin.redhat' directory to 'bin.linux' for them to be found.Finding the executable in the current directory is a last resort for the system, the fact you're getting the error means that the binaries are installed in 'bin.redhat' but the system is expecting them to be someplace else (probably bin.linux). Cheers,
-Mike

 
Profile Email
 Quote
hymong
 01/31/2008 06:40AM  
++---
Junior

Status: offline


Registered: 10/30/2007
Posts: 27
Dear Mike,Thanks for your prompt reply. My OS is Ubuntu. So the value of my 'arch' CL environment variable (i.e. "cl> show arch") is '.linux'.I have followed your suggestion to mv the package 'bin.redhat' directory to 'bin.linux'. And it works now. Thanks for your kindly help!!Sincerely yours,
hymong

 
Profile Email
 Quote
fitz
 01/31/2008 06:40AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Just closing the loop: A similar problem was resolved in https://iraf.net/phpBB2/viewtopic.php?p=1461775

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