ERROR: Cannot open connected subprocess (./x_mscdisplay.e)
hymong wrote on Jan 31, 2008
Dear Sir/Madam,
I just followed one previous post http://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.
However, when I go to the specific folder to run MSCDISPLAY, it works.
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
I just followed one previous post http://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.
> 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) However, when I go to the specific folder to run MSCDISPLAY, it works.
> cd /home/iraf/extern/mscred/bin.redhat
> mscdisplay /home/hymong/IRAF/ngc7000HaECould 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
Mike Fitzpatrick wrote on Jan 31, 2008
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
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
hymong wrote on Jan 31, 2008
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
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
Mike Fitzpatrick wrote on Jan 31, 2008
Just closing the loop: A similar problem was resolved in http://iraf.net/phpBB2/viewtopic.php?p=1461775
Last post on Jan 31, 2008