Date: Fri, 1 Feb 2013 
From: Jun-Hui Zhao 
To: Thomas Mac Cooper 
Cc: HIROKO SHINNAGA , Hiroko Shinnaga ,
     Ramprasad Rao , Glen Petitpas 
Subject: Re: miriad on obsconh

Hi Mac etal,
    I have looked into and tested the official installations
of both beta for DB 4GHz and the standard for 2008 and older
data at the three sites. Here are a summary:
Both installations at the CF and RG sites appear to
work fine. The beta DB 4GHz installation at Hawaii
works fine with a very recent data as tested. Some
of the previously tested scripts and data didn't work
due to some changes in the OS and system that need to look into.
I confirmed the problem reported by Hiroko that
the standard (2GHz) installation has not worked,
prompting error messages:
"smalod: error while loading shared libraries:
libg2c.so.0: cannot open shared
object file: No such file or directory"
   It seems to me that the configuration of upgraded RH6.3
causes troubles to the old software (standard).
   Please let me know if these problems have been resolved
after yesterday system rebooting.
   Otherwise, I will block a week time to come to Hawaii to
work with you in order to resolve these problems. Please let me
know what time is best to fit your schedule this month.
I need to make an SMA travel request.

   Jun-Hui


>>>>>>>>>>>>>>>>>>Report of investigation <<<<<<<<<<<<<<<<<<<<<<<<<<<<<

I noticed that there are several users' own installed Miriad
that have been out of date on the side computer system,
which are confusing.

The official installation at Hawaii, RG and CF sites are
listed:
http://www.cfa.harvard.edu/sma/miriad/manuals/Where/
1) obsconh RH has updated 6.3
Red Hat Enterprise Linux Workstation release 6.3 (Santiago)

2) test beta 1.4.5. for DB 4GHz with the script FLUX120611.csh
which was used for testing the installation, and worked fine
with the current installation in 2012 fall.

[jzhao@obsconh INSTALLtest]$ FLUX120611.csh
120611_rx1.usb
120611_rx1.usb
SmaLod: version 3.10-beta 28-June-2012
### Fatal Error [smalod]:  Unrecognised option lendian
[jzhao@obsconh INSTALLtest]$ which smalod
/sma/local/miriad_cvs/bin/linux/smalod

The error 'Unrecognised option lendian' have not been
seen before on obsconh and any of other computers used
for the installations at RG and CF sites. The problem
needs to be looked into.

3) test 2GHz installation (2008) for data observed 2008 and before.

smalod in=./050911_04:21:35
      out=050911H30a rxif=0
      sideband=1 rsnchan=128 readant=8 nscans=1,
rm: cannot remove `050911H30a_rx0.usb': No such file or directory
smalod: error while loading shared libraries: libg2c.so.0: cannot open
shared
object file: No such file or directory

I checked RG and CF for the 2GHz installation (4.0.5)
with the same data and script. Both sites work fine.

4) test beta 1.4.5 for very recent data (130117_04:50:29)
It works all fine with the three official public sites
(Hawaii, RG, CF).



On Thu, 31 Jan 2013, Thomas Mac Cooper wrote:

> Hi, glibc update today should have cleared this problem.
On Thu, 31 Jan 2013, Thomas Mac Cooper wrote:

> Hi, glibc update today should have cleared this problem.
>
> let me know ...mac
>
> On 01/30/2013 07:19 PM, Hiroko Shinnaga wrote:
> > Hi Mac,
> >
> >    I still get error message while processing data in miriad, such as this one.
> >
> > error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such
file or directory.
> >
> > I guess we need all the libraries required for 32bit mode if I need to stick to 32bit
mode?
> > Can you restore libraries for 32bit mode?
> >
> > Hiroko
> >
> > ps.
> >    Just for curiosity, I tried to run miriad as smaguest.  I followed the instruction
> > given by Glen.  Today I get this message saying
> >
> > [smaguest@obsconh ~]$ miriad
> > /sma/local/miriad/miriad: Permission denied.
> >
> > Yesterday, I did not get this permission problem.  Was any setting changed?
> >
> >
> >
> > On Jan 31, 2013, at 12:20 PM, Thomas Mac Cooper  wrote:
> >
> >> Hi could be since you are using vncserver (aka vino), the version of xterm in use with
the twm window manager might not be able to find the 64 bit version of the library. Who knows.
Glad you are able to work again.             catch you later           ...mac
> >>
> >> On 01/30/2013 05:04 PM, Hiroko Shinnaga wrote:
> >>> Hello Mac,
> >>>
> >>>    Thank you very much for your response to my question
> >>> and adding the library of 32bit version.
> >>>
> >>>    I tried it and now I don't get the error message when I start
> >>> miriad.  But it's strange because this error message does not
> >>> appear when we log in as smaguest account.  smaguest
> >>> account has no problem with 64bit library, although my
> >>> account complains and needs 32bit library.  I wonder why that is.
> >>> Do you have any idea?
> >>>
> >>> Hiroko
> >>>
> >>>
> >>> On Jan 31, 2013, at 11:46 AM, Thomas Mac Cooper   wrote:
> >>>
> >>>> Hi Hiroko, Redhat enterprise linux no longer has csh, as you will see
> >>>> here, csh is just a link to tcsh:
> >>>>
> >>>> [root@obsconh ~]# ls -la /bin/csh
> >>>> lrwxrwxrwx 1 root root 4 Jun 12  2012 /bin/csh ->   tcsh
> >>>>
> >>>> so that is why you remain in tcsh when you run csh -- they are the same
> >>>> shell program. The same is true for everyone on obsconh so I am pretty
> >>>> sure that is not your real problem.
> >>>>
> >>>> Looking at your initial message, I see the problem was libtermcap so I have loaded the
32 bit version of that library in addition to the 64 bit version that was already available.
Give it a try now and see if you can proceed                  ...mac
> >>>>
> >>>>
> >>>> On 01/29/2013 06:00 PM, Hiroko Shinnaga wrote:
> >>>>> Hello Ram,
> >>>>>
> >>>>> Thank you for your email.  I'm looking at an old data, so this
> >>>>> version of miriad should be able to handle that specific data.
> >>>>>
> >>>>> I found that the "csh" command or "source .cshrc" command did not
> >>>>> change my shell.  That was the problem.  I'm trying to figure out
> >>>>> how I can get out from tcsh.  I now try to get help from Mac to fix
> >>>>> this problem.
> >>>>>
> >>>>> Thank you Ram.
> >>>>>
> >>>>> Hiroko
> >>>>>
> >>>>> On Jan 30, 2013, at 12:23 PM, Ramprasad Rao
> >>>>> wrote:
> >>>>>
> >>>>>> Hi Hiroko,
> >>>>>>
> >>>>>> May I ask what data you are looking at? Is it bandwidth doubled
> >>>>>> data?
> >>>>>>
> >>>>>> Thanks, Ram
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On Jan 29, 2013, at 3:21 PM, Glen Petitpas wrote:
> >>>>>>
> >>>>>>>
> >>>>>>> Hi Hiroko
> >>>>>>>
> >>>>>>> Could you log into the smaguest account and work from there?
> >>>>>>>
> >>>>>>> I've cc'd Ram on this as he may have an idea too. Seems very
> >>>>>>> strange, but since I cannot log in as you, I cannot really look
> >>>>>>> around too much.
> >>>>>>>
> >>>>>>> Cheers Glen
> >>>>>>>
> >>>>>>>
> >>>>>>> On 01/29/2013 03:18 PM, Hiroko Shinnaga wrote:
> >>>>>>>> Hello Glen,
> >>>>>>>>
> >>>>>>>> Thank you so much for sending me the contents of ".cshrc"
> >>>>>>>> file.
> >>>>>>>>
> >>>>>>>> I copied the file under my home directory and did the same
> >>>>>>>> thing.
> >>>>>>>>
> >>>>>>>> $ csh
> >>>>>>>>
> >>>>>>>> $ source /sma/reduction/rrao/miriad64/smaMiriadBWD/MIRRC.linux
> >>>>>>>> /: No such file or directory.
> >>>>>>>>
> >>>>>>>> It still complains that no such file or directory although the
> >>>>>>>> file is there.
> >>>>>>>>
> >>>>>>>> I copied the file "MIRRC.linux" under my directory, and did the
> >>>>>>>> source command as follows.
> >>>>>>>>
> >>>>>>>> $ source .MIRRC.linux
> >>>>>>>> /usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo: No such file
> >>>>>>>> or directory.
> >>>>>>>>
> >>>>>>>> Now I got different message as shown above.
> >>>>>>>>
> >>>>>>>> If I do miriad in this condition,
> >>>>>>>>
> >>>>>>>> $ miriad miriad: error while loading shared libraries:
> >>>>>>>> libtermcap.so.2: cannot open shared object file: No such file
> >>>>>>>> or directory
> >>>>>>>>
> >>>>>>>> it complains it can't load some libraries.
> >>>>>>>>
> >>>>>>>> Do you have an idea how to fix this problem?
> >>>>>>>>
> >>>>>>>> Thank you very much Glen.
> >>>>>>>>
> >>>>>>>> Hiroko
> >>>>>>>>
> >>>>>>>> On Jan 30, 2013, at 10:00 AM, Glen
> >>>>>>>> Petitpas     wrote:
> >>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Hi
> >>>>>>>>>
> >>>>>>>>> I've included the smaguest account .cshrc file below.
> >>>>>>>>> Strangely, it has it's own miriad load in it, which should
> >>>>>>>>> not work because the path is not correct.
> >>>>>>>>>
> >>>>>>>>> You could replace yours with this, or just rename your
> >>>>>>>>> existing .cshrc file to something else and see if that
> >>>>>>>>> works.
> >>>>>>>>>
> >>>>>>>>> G
> >>>>>>>>>
> >>>>>>>>> #-------------------- smaguest .cshrc file ---------------
> >>>>>>>>> alias rm 'rm -i' alias cp 'cp -i' alias mv 'mv -i'
> >>>>>>>>>
> >>>>>>>>> #Set up karma source /sma/local/src/karma/.login source
> >>>>>>>>> /sma/local/mir/setup source /sma/local/miriad
> >>>>>>>>>
> >>>>>>>>> set path=(/application/bin $path)
> >>>>>>>>>
> >>>>>>>>> #setenv PGPLOT_DIR /usr/local/pgplot alias
> >>>>>>>>> oldmonitor='/application/oldbin/monitor.pre10jul09'
> >>>>>>>>>
> >>>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> ---
> >>>> Mac Cooper, System Manager         tcooper@sma.hawaii.edu
> >>>> Smithsonian Astrophysical Observatory Submillimeter Array
> >>>> 645 N. Aohoku Pl.    Hilo, HI    96720
> >>>
> >>
> >> --
> >> ---
> >> Mac Cooper, System Manager         tcooper@sma.hawaii.edu
> >> Smithsonian Astrophysical Observatory Submillimeter Array
> >> 645 N. Aohoku Pl.    Hilo, HI    96720
> >
>
> --
> ---
> Mac Cooper, System Manager         tcooper@sma.hawaii.edu
> Smithsonian Astrophysical Observatory Submillimeter Array
> 645 N. Aohoku Pl.    Hilo, HI    96720
>