Date: Wed, 04 Jun 2008 12:04:48 -1000
From: Glen Petitpas <gpetitpa@sma.hawaii.edu>
To: Jun-Hui Zhao <jzhao@cfa.harvard.edu>
Cc: Glen Petitpas <gpetitpa@sma.hawaii.edu>,
    Bob Wilson <rwilson@cfa.harvard.edu>, Ram <rrao@cfa.harvard.edu>
Subject: Re: smalod with wide channels on rtdc2


Hi

It seems to have worked in the pool3 directory.
It is unclear to me what the difference between disks makes.

Cheers
Glen
Jun-Hui Zhao wrote:
> Hi Glen,
>     Please try cd /pool3/gpetitpa, the "real home directory"
> Alice set for you.
>     Run smalod under /pool3/gpetitpa instead of under /home/gpetitpa
>     Please let me know if the problem persists.
>     Jun-Hui
>
> On Wed, 4 Jun 2008, Glen Petitpas wrote:
>
> > Hi
> >
> > I just tried /opt/miriad/miriad_cvs/MIRRC.linux and
> > had the same error. As I mentioned, I have nothing
> > in that account that would be different configuration
> > than anyone else with a new account.
> >
> > I include the complete log-in session (with some smalod
> > text deleted) below.
> >
> > G
> >
> > ----------------------------------------------------------------------------
> > --------------
> > mars:gpetitpa[~] 2001 % ssh rtdc2
> > gpetitpa@rtdc2's password:
> > Last login: Wed Jun  4 15:24:15 2008 from mars.cfa.harvard.edu
> > [gpetitpa@rtdc2 ~]$ ls -la
> > total 8
> > drwxr-xr-x  2 gpetitpa other 4096 Jun  4 17:38 .
> > drwxr-xr-x  5 root     root     0 Jun  4 17:36 ..
> > -rw-------  1 gpetitpa other  472 Jun  4 17:38 .Xauthority
> > [gpetitpa@rtdc2 ~]$ source /opt/miriad/miriad_cvs/MIRRC.linux
> >
> > MIRIAD version 4.0.5 updatede & installed on Aug 6, 2007 [CVS] loaded
> > from MIR=/opt/miriad/miriad_cvs
> >    Optimized for telescope=sma
> >
> > [gpetitpa@rtdc2 ~]$ smalod in=/data/sma/science/mir_data/080323_04:49:48
> > rxif=-1sideband=0 out=widetest
> > SmaLod: version 3.0beta 11-feb-08
> > ### Warning [smalod]:  Reading antenna positions from ASCII file antennas:
> > ### Warning [smalod]:  Number of antennas exceeded the limit 8.
> > ...
> >    s23      128  =>  s23  128
> >    s24      128  =>  s24  128
> > Done with data conversion from mir to miriad!
> > Real time used =65.000000 sec.
> > UVWIDE: Writing visibilities to: widetest_rxl.lsb.wide
> > Creating 24 new wideband ...
> > rm: cannot remove directory `widetest_rxl.lsb': Directory not empty
> > output file = widetest_rxl.lsb
> > [gpetitpa@rtdc2 ~]$ ls -la
> > total 16
> > drwxr-xr-x  4 gpetitpa other 4096 Jun  4 17:43 .
> > drwxr-xr-x  5 root     root     0 Jun  4 17:41 ..
> > -rw-r--r--  1 gpetitpa other    0 Jun  4 17:41 ERRreport.log
> > drwxr-xr-x  2 gpetitpa other 4096 Jun  4 17:43 widetest_rxl.lsb
> > drwxr-xr-x  2 gpetitpa other 4096 Jun  4 17:43 widetest_rxl.lsb.wide
> > -rw-------  1 gpetitpa other  472 Jun  4 17:38 .Xauthority
> > [gpetitpa@rtdc2 ~]$  du -h
> > 4.0K    ./widetest_rxl.lsb
> > 326M    ./widetest_rxl.lsb.wide
> > 326M    .
> > [gpetitpa@rtdc2 ~]$
> >
> >
> >
> > -------------------
> > Jun-Hui Zhao wrote:
> > > Hi Glen:
> > >     Thanks. I repeat your problem with 'source
> > > /home/miriad/miriad_cvs/MIRRC.linux'.
> > > Instead of 'source /home/miriad/miriad_cvs/MIRRC.linux',
> > > please try 'source /opt/miriad/miriad_cvs/MIRRC.linux'.
> > > Please see http://sma-www.cfa.harvard.edu/miriadWWW/manuals/where.html
> > > for RG setup (did by Shoshana). The problem should be fixed automatically
> > > if we follow Shoshana's setup.
> > >
> > >     There is no difference between /home/miriad/miriad_cvs/MIRRC.linux and
> > > /opt/miriad/miriad_cvs/MIRRC.linux (exactly the same) but after source,
> > > apparently, the system generates different env. which caused the problem.
> > >
> > >     I think this is our local problem. I will not bother Peter Teuben
> > > to change his code.
> > >
> > >     Please let us know if any further problems.
> > >
> > >     Jun-Hui
> > >
> > >
> > >
> > > On Wed, 4 Jun 2008, Glen Petitpas wrote:
> > >
> > > > Hi
> > > >
> > > > I mentioned this in my original email.  I was using the installation
> > > > setup
> > > > in /home/miriad/miriad_cvs/MIRRC.linux
> > > >
> > > > Specifically, I logged in, typed
> > > >  > source /home/miriad/miriad_cvs/MIRRC.linux
> > > > followed by
> > > >  > smalod in=/data/sma/science/mir_data/080323_04:49:48 rxif=-1
> > > > sideband=0 out=widetest
> > > >
> > > > and I got the errors I included in the original email about not being
> > > > able to remove a file.
> > > >
> > > > Cheers
> > > > Glen
> > > >
> > > >
> > > > Jun-Hui Zhao wrote:
> > > > > Hi Glen:
> > > > >
> > > > > We asked Alice to create a raw account with the exact
> > > > > env setting you had in order to repeat the problem.
> > > > > With the command line you sent us,
> > > > >
> > > > > mailhot@rtdc2 mytest]$ smalod
> > > > > in=/data/sma/science/mir_data/080323_04:49:48
> > > > > rxif=-1 sideband=0 out=widetest
> > > > >
> > > > > I got a response from the system: 'smalod: Command not found.'
> > > > >
> > > > > Apparently, one must have set up MIRIAD environment before running
> > > > > a Miriad task. Would you please let us know how did you set up
> > > > > the MIRIAD environment before executing smalod? We need to make
> > > > > sure that the bug is not due to our local before we can ask Peter
> > > > > to change his code.
> > > > >
> > > > >         Jun-Hui
> > > > >
> > > > >
> > > > >
> > > > > On Wed, 4 Jun 2008, Glen Petitpas wrote:
> > > > >
> > > > > > Hi
> > > > > >
> > > > > > I used my gpetitpa account which was just set up on
> > > > > > the RG machines last week and contains absolutely
> > > > > > no config files except for the default ones for a new
> > > > > > linux account. I have not added any custom alias' and
> > > > > > I do not even have a .cshrc file in that account.
> > > > > >
> > > > > > I hope you will receive this email. I am afraid that there
> > > > > > is a lot of email going missing these days. I do not
> > > > > > trust the new spam filters.
> > > > > >
> > > > > > Cheers
> > > > > > Glen
> > > > > >
> > > > > > Jun-Hui Zhao wrote:
> > > > > > > Thanks Bob,
> > > > > > > I just did a test on rtdc2. The test ran smoothly.
> > > > > > > /pool1/miriad/widebandM/recomH30demo.csh on rtdc2
> > > > > > >
> > > > > > >
> > > > > > > The system setup here does not generate the problem.
> > > > > > > There might be some confusion in one's personal alias setup.
> > > > > > >
> > > > > > > Glen: Which account you used for this test? I can help
> > > > > > > look into the enevirnment setup to find out what cause this
> > > > > > > problem.
> > > > > > > BTW, somehow, I didn't receive your yesterday's email that is
> > > > > > > attached to Bob's email.
> > > > > > >
> > > > > > > I did receive several emails from Vivien Chen
> > > > > > > <hchen@phys.nthu.edu.tw>
> > > > > > > in last a few days regarding the wideband testing.
> > > > > > >
> > > > > > >       Jun-Hui
> > > > > > >
> > > > > > > On Wed, 4 Jun 2008, Robert Wilson wrote:
> > > > > > >
> > > > > > > > ounds to me as if changing the removal command from rmdir to
> > > > > > > > 'rm -r' would fix it.
> > > > > > > >
> > > > > > > > Bob
> > > > > > > >
> > > > > > > >
> > > > > > > > On Tue, 3 Jun 2008, Glen Petitpas wrote:
> > > > > > > >
> > > > > > > > > Hi Bob and Jun-Hui
> > > > > > > > >
> > > > > > > > > I ran the following command on rtdc2
> > > > > > > > > smalod in=/data/sma/science/mir_data/080323_04:49:48 rxif=-1
> > > > > > > > > sideband=0
> > > > > > > > > out=widetest
> > > > > > > > > and received the same errors "Directory not empty" errors
> > > > > > > > > causing the
> > > > > > > > > program to halt prematurely as I did on the Hilo machines.
> > > > > > > > >
> > > > > > > > > I was using the installation setup in
> > > > > > > > > /home/miriad/miriad_cvs/MIRRC.linux
> > > > > > > > >
> > > > > > > > > Complete output below.
> > > > > > > > >
> > > > > > > > > Cheers
> > > > > > > > > Glen
> > > > > > > > > -------------------------
> > > > > > > > > smalod in=/data/sma/science/mir_data/080323_04:49:48 rxif=-1
> > > > > > > > > sideband=0
> > > > > > > > > out=widetest
> > > > > > > > > SmaLod: version 3.0beta 11-feb-08
> > > > > > > > > ### Warning [smalod]:  Reading antenna positions from ASCII
> > > > > > > > > file antennas:
> > > > > > > > > ### Warning [smalod]:  Number of antennas exceeded the limit
 > > > > > > > > > 8.
> > > > > > > > >   1       -17.915279    -59.558134     30.069008
> > > > > > > > >   2         5.228588    -20.076522    -14.843520
> > > > > > > > >   3        -0.506908    -25.153460      1.280718
> > > > > > > > >   4        -6.400324    -68.001754      3.637705
> > > > > > > > >   5        -5.702448    -18.984177     15.611287
> > > > > > > > >   6         0.000000      0.000000      0.000000
> > > > > > > > >   7        11.739529    -53.664693    -40.723535
> > > > > > > > >   8         4.443050    -63.873647    -21.837546
> > > > > > > > >   9        56.922679     54.469104   -143.193612
> > > > > > > > > 10        58.852479    212.382187   -186.578424
> > > > > > > > >
> > > > > > > > > Loading standard SMA data ...
> > > > > > > > >
> > > > > > > > > User's input vSource = 0.000000 km/s
> > > > > > > > > Processing file /data/sma/science/mir_data/080323_04:49:48/
> > > > > > > > > Found file /data/sma/science/mir_data/080323_04:49:48/in_read
> > > > > > > > > Found file /data/sma/science/mir_data/080323_04:49:48/bl_read
> > > > > > > > > Found file /data/sma/science/mir_data/080323_04:49:48/sp_read
 > > > > > > > > > Found file
> > > > > > > > > /data/sma/science/mir_data/080323_04:49:48/codes_read
> > > > > > > > > Found file /data/sma/science/mir_data/080323_04:49:48/eng_read
> > > > > > > > > Found file /data/sma/science/mir_data/080323_04:49:48/sch_read
> > > > > > > > > Found file
> > > > > > > > > /data/sma/science/mir_data/080323_04:49:48/projectInfo
> > > > > > > > > Observer: Glen Petitpas
> > > > > > > > > *******************************
> > > > > > > > > * Observing Date: 2008 Mar 23 *
> > > > > > > > > *******************************
> > > > > > > > > FINISHED READING  IN HEADERS (endian-swapped)
> > > > > > > > > NUMBER OF SIDEBANDS =2
> > > > > > > > > NUMBER OF RECEIVERS =1
> > > > > > > > > rx1->340
> > > > > > > > > Processing LSB
> > > > > > > > > to load rx->340 visdata
> > > > > > > > > mirRead: number of antenna =7 are found.
> > > > > > > > > FINISHED READING  BL HEADERS (endian-swapped)
> > > > > > > > > NUMBER OF ANTENNAS =8
> > > > > > > > > Geocentrical coordinates of antennas (m), reference antenna=6
> > > > > > > > > ANT x y z AN1    -17.9153    -59.5581     30.0690
> > > > > > > > > ANT x y z AN2      5.2286    -20.0765    -14.8435
> > > > > > > > > ANT x y z AN3     -0.5069    -25.1535      1.2807
> > > > > > > > > ANT x y z AN4     -6.4003    -68.0018      3.6377
> > > > > > > > > ANT x y z AN5     -5.7024    -18.9842     15.6113
> > > > > > > > > ANT x y z AN6      0.0000      0.0000      0.0000
> > > > > > > > > ANT x y z AN7     11.7395    -53.6647    -40.7235
> > > > > > > > > ANT x y z AN8      4.4431    -63.8736    -21.8375
> > > > > > > > > Miriad coordinates of antennas (nanosecs), reference antenna=6
> > > > > > > > > ANT x y x AN1    -59.7589   -198.6646    100.2994
> > > > > > > > > ANT x y x AN2     17.4407    -66.9681    -49.5127
> > > > > > > > > ANT x y x AN3     -1.6909    -83.9029      4.2720
> > > > > > > > > ANT x y x AN4    -21.3492   -226.8294     12.1341
> > > > > > > > > ANT x y x AN5    -19.0213    -63.3244     52.0736
> > > > > > > > > ANT x y x AN6      0.0000      0.0000      0.0000
> > > > > > > > > ANT x y x AN7     39.1589   -179.0061   -135.8391
> > > > > > > > > ANT x y x AN8     14.8204   -213.0596    -72.8422
> > > > > > > > > FINISHED READING  CD HEADERS (endian-swapped)
> > > > > > > > > Actual numberSpectra=25 end_iband=24
> > > > > > > > >
> > > > > > > > > number of non-empty Spectra = 25
> > > > > > > > > FINISHED READING SP HEADERS (endian-swapped)
> > > > > > > > > Decoded baseline-based Tsys
> > > > > > > > > Decoded the Doppler velocity
> > > > > > > > > here we are!
> > > > > > > > > source: 3c84                  id= 1 RA=03:19:48.1602 DEC=
> > > > > > > > > 41:30:42.1051
> > > > > > > > > source: saturn                id= 2 RA=10:22:47.6914 DEC=
> > > > > > > > > 12:06:19.2892
> > > > > > > > > source: titan                 id= 3 RA=10:22:59.8691 DEC=
> > > > > > > > > 12:06:50.0304
> > > > > > > > > source: 1215-175              id= 4 RA=12:15:46.7537
> > > > > > > > > DEC=-17:31:45.4001
> > > > > > > > > source: antenna_1             id= 5 RA=12:01:53.4510
> > > > > > > > > DEC=-18:53:12.4004
> > > > > > > > > source: antenna_2             id= 6 RA=12:01:54.6114
> > > > > > > > > DEC=-18:53:07.9990
> > > > > > > > > source: antenna_3             id= 7 RA=12:01:55.0509
> > > > > > > > > DEC=-18:52:43.9595
> > > > > > > > > source: 3c279                 id= 8 RA=12:56:11.1651 DEC=
> > > > > > > > > -5:47:21.5245
> > > > > > > > > source: antenna_4             id= 9 RA=12:01:55.4594
> > > > > > > > > DEC=-18:52:55.9827
> > > > > > > > > source: antenna_5             id=10 RA=12:01:53.0116
> > > > > > > > > DEC=-18:52:01.6827
> > > > > > > > > source: callisto              id=11 RA=19:22:57.7473
> > > > > > > > > DEC=-22:01:16.6914
> > > > > > > > > source: target                id=12 RA=00:00:00.0000 DEC=
> > > > > > > > > 0:00:00.0000
> > > > > > > > > LSB only
> > > > > > > > > #Baselines=21 #Spectra=24  #Sidebands=2 #Receivers=1
> > > > > > > > > set=   1 ints=   1 inhid=   1 time(UTC)= 0d04:50:01.9 int=
> > > > > > > > > 29.6 percent=000
> > > > > > > > > set= 100 ints= 100 inhid= 100 time(UTC)= 0d05:39:00.4 int=
> > > > > > > > > 29.6 percent=008
> > > > > > > > > set= 200 ints= 200 inhid= 200 time(UTC)= 0d06:28:28.7 int=
> > > > > > > > > 29.6 percent=016
> > > > > > > > > set= 300 ints= 300 inhid= 300 time(UTC)= 0d07:17:57.0 int=
> > > > > > > > > 29.6 percent=024
> > > > > > > > > set= 400 ints= 400 inhid= 400 time(UTC)= 0d08:07:25.3 int=
> > > > > > > > > 29.6 percent=031
> > > > > > > > > set= 500 ints= 500 inhid= 500 time(UTC)= 0d08:56:53.5 int=
> > > > > > > > > 29.6 percent=039
> > > > > > > > > set= 600 ints= 600 inhid= 600 time(UTC)= 0d09:46:21.8 int=
> > > > > > > > > 29.6 percent=047
> > > > > > > > > set= 700 ints= 700 inhid= 700 time(UTC)= 0d10:35:50.1 int=
> > > > > > > > > 29.6 percent=055
> > > > > > > > > set= 800 ints= 800 inhid= 800 time(UTC)= 0d11:25:18.4 int=
> > > > > > > > > 29.6 percent=063
> > > > > > > > > 29.6 percent=071
> > > > > > > > > set=1000 ints=1000 inhid=1000 time(UTC)= 0d13:04:14.9 int=
> > > > > > > > > 29.6 percent=079
> > > > > > > > > set=1100 ints=1100 inhid=1100 time(UTC)= 0d13:53:43.2 int=
> > > > > > > > > 29.6 percent=087
> > > > > > > > > set=1200 ints=1200 inhid=1200 time(UTC)= 0d14:43:11.5 int=
> > > > > > > > > 29.6 percent=095
> > > > > > > > > set=1253 ints=1253 inhid=1253 time(UTC)= 0d15:09:24.7 int=
> > > > > > > > > 29.6
> > > > > > > > > percent=100
> > > > > > > > > skipped 0 integration scans on `target&unknown'
> > > > > > > > > vis spectra from the original correlator configuration:
> > > > > > > > > (starting at integrations=1)
> > > > > > > > >           input     output
> > > > > > > > >    s01      128  =>  s01  128
> > > > > > > > >    s02      128  =>  s02  128
> > > > > > > > >    s03      128  =>  s03  128
> > > > > > > > >    s04      128  =>  s04  128
> > > > > > > > >    s05      128  =>  s05  128
> > > > > > > > >    s06      128  =>  s06  128
> > > > > > > > >    s07      128  =>  s07  128
> > > > > > > > >    s08      128  =>  s08  128
> > > > > > > > >    s09      128  =>  s09  128
> > > > > > > > >    s10      128  =>  s10  128
> > > > > > > > >    s11      128  =>  s11  128
> > > > > > > > >    s12      128  =>  s12  128
> > > > > > > > >    s13      128  =>  s13  128
> > > > > > > > >    s14      128  =>  s14  128
> > > > > > > > >    s15      128  =>  s15  128
> > > > > > > > >    s16      128  =>  s16  128
> > > > > > > > >    s17      128  =>  s17  128
> > > > > > > > >    s18      128  =>  s18  128
> > > > > > > > >    s19      128  =>  s19  128
> > > > > > > > >    s20      128  =>  s20  128
> > > > > > > > >    s21      128  =>  s21  128
> > > > > > > > >    s22      128  =>  s22  128
> > > > > > > > >    s23      128  =>  s23  128
> > > > > > > > >    s24      128  =>  s24  128
> > > > > > > > > Done with data conversion from mir to miriad!
> > > > > > > > > Real time used =65.000000 sec.
> > > > > > > > > UVWIDE: Writing visibilities to: widetest_rxl.lsb.wide
> > > > > > > > > Creating 24 new wideband ...
> > > > > > > > > rm: cannot remove directory `widetest_rxl.lsb': Directory not
> > > > > > > > > empty
> > > > > > > > > output file = widetest_rxl.lsb
> > > > > > > > > [gpetitpa@rtdc2 ~/wide_test]$
> > > > > > > > >

