[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20010118: McIDAS-X and the EU command (cont.)



>From: David Ovens <address@hidden>
>Organization: University of Washington
>Keywords: 200101161857.f0GIvXe05081 McIDAS-X EU

Dave,

re: phase out use of DF
>No problem.  I only use DF when I want to save time -- our scripts all
>use IMGDISP.

OK, I'm glad to hear it.

>JUNK.ET was actually created in ~ovens/mcidas/data/ every time, it was
>just wrong.

OK.

>After I found two other users who did not have this
>problem, I was able to get EU to work as expected by renaming my
>mcidas/data directory and copying another user's ~/mcidas/data/
>directory into my own, and by removing my ~/.mctmp directory.  I had
>no idea what was causing the errant behavior, but I got it to work.  

I think that the problem is a direct cause of the existence of files
in your mcidas/data directory that should only exist in your ~/.mctmp/xxx
directory(ies).

re: check for files that should not be there

>I think you've hit upon the bug with the DMAP stuff.  Here's what I
>get when I run those commands you suggested:
>
>103 ovens,ovens@blizzard% dmap.k Frame
>PERM      SIZE LAST CHANGED FILENAME DIRECTORY
>---- --------- ------------ -------- ---------
>-r--      3072 Aug 30 12:42 Frame1.0 /home/disk/ldm/mcidas/help
>-r--      3072 Aug 30 12:18 Frame2.0 /home/disk/ldm/mcidas/help
>6144 bytes in 2 files

Ouch!  These must be removed

>104 ovens,ovens@blizzard% dmap.k FRAMENH
>PERM      SIZE LAST CHANGED FILENAME       DIRECTORY
>---- --------- ------------ -------------- ---------
>-rw-     16320 Jan 16 16:45 FRAMENH        /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     32640 Jan 16 16:45 FRAMENH.000    /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     55488 Jan 18 22:50 FRAMENH.001    /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     55488 Jan 16 16:28 FRAMENH.001.c1 /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     55488 Jan 16 16:45 FRAMENH.003    /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     55488 Jan 16 16:45 FRAMENH.004    /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     22848 Jan 16 16:45 FRAMENH.005    /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     22848 Jan 16 16:45 FRAMENH.006    /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     55488 Jan 16 16:45 FRAMENH.008    /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     22848 Jan 16 16:45 FRAMENH.010    /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     22848 Jan 16 16:45 FRAMENH.011    /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     22848 Jan 16 16:45 FRAMENH.012    /home/disk/blizzard2/ovens/mcidas/d
> ata
>-rw-     55488 Jan 16 16:45 FRAMENH.014    /home/disk/blizzard2/ovens/mcidas/d
> ata
>496128 bytes in 13 files

Ditto, these must be removed.

>105 ovens,ovens@blizzard% dmap.k TERMCHAR
>PERM      SIZE LAST CHANGED FILENAME     DIRECTORY
>---- --------- ------------ ------------ ---------
>-rw-     36864 Jan 16 16:30 TERMCHAR     /home/disk/blizzard2/ovens/mcidas/dat
> a
>-rw-     45056 Jan 18 22:51 TERMCHAR.001 /home/disk/blizzard2/ovens/mcidas/dat
> a
>-rw-     36864 Jan 16 16:45 TERMCHAR.002 /home/disk/blizzard2/ovens/mcidas/dat
> a
>-rw-     36864 Jan 16 16:45 TERMCHAR.003 /home/disk/blizzard2/ovens/mcidas/dat
> a
>-rw-     36864 Jan 16 16:45 TERMCHAR.004 /home/disk/blizzard2/ovens/mcidas/dat
> a
>-rw-     36864 Jan 16 16:45 TERMCHAR.005 /home/disk/blizzard2/ovens/mcidas/dat
> a
>-rw-     36864 Jan 16 16:45 TERMCHAR.006 /home/disk/blizzard2/ovens/mcidas/dat
> a
>-rw-     36864 Jan 16 16:45 TERMCHAR.008 /home/disk/blizzard2/ovens/mcidas/dat
> a
>-rw-     36864 Jan 16 16:45 TERMCHAR.012 /home/disk/blizzard2/ovens/mcidas/dat
> a
>-rw-     45056 Jan 16 16:45 TERMCHAR.014 /home/disk/blizzard2/ovens/mcidas/dat
> a
>385024 bytes in 10 files

Ditto, ditto.  Gain, axe these.

>I was going to include a complete listing of the ~ovens/mcidas/data/
>directory and ask you what files I could delete, but I'll just show
>you the ones that I would like to delete.  Can I safely delete these
>files?

Yes.

>There are a lot of files that got added when I copied the
>other user's directory into mine, and I have no idea what they are
>for. 

A lot of these files are archaic.  The are remnants of pre 7.x McIDAS
invocations that were terminated ungracefully.  You should have the
other user do the same kind of tests that I outlined for you and delete
the same kinds of files that you list below.

>  -rw-r--r--   1 ovens        2560 Jan 16 16:45 FRAMED.000
>  -rw-r--r--   1 ovens        4100 Jan 16 16:45 FRAMED.001
>  -rw-rw-r--   1 ovens        4100 Jan 16 16:28 FRAMED.001.c1
>  -rw-r--r--   1 ovens        4100 Jan 16 16:45 FRAMED.003
>  -rw-r--r--   1 ovens        4100 Jan 16 16:45 FRAMED.004
>  -rw-r--r--   1 ovens        1792 Jan 16 16:45 FRAMED.005
>  -rw-r--r--   1 ovens        1540 Jan 16 16:45 FRAMED.006
>  -rw-r--r--   1 ovens        4100 Jan 16 16:45 FRAMED.008
>  -rw-r--r--   1 ovens        1792 Jan 16 16:45 FRAMED.010
>  -rw-r--r--   1 ovens        1792 Jan 16 16:45 FRAMED.011
>  -rw-r--r--   1 ovens        1792 Jan 16 16:45 FRAMED.012
>  -rw-r--r--   1 ovens        4100 Jan 16 16:45 FRAMED.014
>  -rw-r--r--   1 ovens       16320 Jan 16 16:45 FRAMENH
>  -rw-r--r--   1 ovens       32640 Jan 16 16:45 FRAMENH.000
>  -rw-r--r--   1 ovens       55488 Jan 18 22:51 FRAMENH.001
>  -rw-rw-r--   1 ovens       55488 Jan 16 16:28 FRAMENH.001.c1
>  -rw-r--r--   1 ovens       55488 Jan 16 16:45 FRAMENH.003
>  -rw-r--r--   1 ovens       55488 Jan 16 16:45 FRAMENH.004
>  -rw-r--r--   1 ovens       22848 Jan 16 16:45 FRAMENH.005
>  -rw-r--r--   1 ovens       22848 Jan 16 16:45 FRAMENH.006
>  -rw-r--r--   1 ovens       55488 Jan 16 16:45 FRAMENH.008
>  -rw-r--r--   1 ovens       22848 Jan 16 16:45 FRAMENH.010
>  -rw-r--r--   1 ovens       22848 Jan 16 16:45 FRAMENH.011
>  -rw-r--r--   1 ovens       22848 Jan 16 16:45 FRAMENH.012
>  -rw-r--r--   1 ovens       55488 Jan 16 16:45 FRAMENH.014
>  -rw-r--r--   1 ovens        4608 Jan 16 16:45 FRNV.000
>  -rw-r--r--   1 ovens        8192 Jan 16 16:45 FRNV.001
>  -rw-rw-r--   1 ovens        8192 Jan 16 16:28 FRNV.001.c1
>  -rw-r--r--   1 ovens        7684 Jan 16 16:45 FRNV.003
>  -rw-r--r--   1 ovens        7684 Jan 16 16:45 FRNV.004
>  -rw-r--r--   1 ovens        3072 Jan 16 16:45 FRNV.005
>  -rw-r--r--   1 ovens        2564 Jan 16 16:45 FRNV.006
>  -rw-r--r--   1 ovens        8192 Jan 16 16:45 FRNV.008
>  -rw-r--r--   1 ovens        3072 Jan 16 16:45 FRNV.010
>  -rw-r--r--   1 ovens        3072 Jan 16 16:45 FRNV.011
>  -rw-r--r--   1 ovens        3072 Jan 16 16:45 FRNV.012
>  -rw-r--r--   1 ovens        8192 Jan 16 16:45 FRNV.014
>  -rw-rw-r--   1 ovens        8004 Jan 16 16:28 FRNVDIR.001.c1
>  -rw-r--r--   1 ovens        8004 Jan 16 16:45 FRNVDIR.013
>  -rw-r--r--   1 ovens        8004 Jan 16 16:45 FRNVDIR.014
>  -rw-rw-r--   1 ovens       10240 Jan 16 16:28 FRNVEXP.001.c1
>  -rw-r--r--   1 ovens       23040 Jan 16 16:45 FRNVEXP.013
>  -rw-r--r--   1 ovens       15360 Jan 16 16:45 FRNVEXP.014
>  -rw-r--r--   1 ovens           0 Jan 16 16:45 MDXX0004
>  -rw-rw-r--   1 ovens           0 Jan 16 16:45 MDXX0007
>  -rw-r--r--   1 ovens           0 Jan 16 16:45 MDXX0008
>  -rw-------   1 ovens           0 Jan 16 17:00 McText0W0
>  -rw-------   1 ovens           0 Jan 16 17:00 McText12W0
>  -rw-------   1 ovens           0 Jan 16 17:00 McText14W0
>  -rw-------   1 ovens           0 Jan 16 17:00 McText1W0
>  -rw-------   1 ovens           0 Jan 16 17:00 McText2W0
>  -rw-------   1 ovens           0 Jan 16 17:00 McText3W0
>  -rw-------   1 ovens           0 Jan 16 17:00 McText4W0
>  -rw-------   1 ovens           0 Jan 16 17:00 McText5W0
>  -rw-------   1 ovens           0 Jan 16 17:00 McText6W0
>  -rw-------   1 ovens           0 Jan 16 17:00 McText8W0
>  -rw-r--r--   1 ovens       36864 Jan 16 16:30 TERMCHAR
>  -rw-r--r--   1 ovens       45056 Jan 18 22:51 TERMCHAR.001
>  -rw-r--r--   1 ovens       36864 Jan 16 16:45 TERMCHAR.002
>  -rw-r--r--   1 ovens       36864 Jan 16 16:45 TERMCHAR.003
>  -rw-r--r--   1 ovens       36864 Jan 16 16:45 TERMCHAR.004
>  -rw-r--r--   1 ovens       36864 Jan 16 16:45 TERMCHAR.005
>  -rw-r--r--   1 ovens       36864 Jan 16 16:45 TERMCHAR.006
>  -rw-r--r--   1 ovens       36864 Jan 16 16:45 TERMCHAR.008
>  -rw-r--r--   1 ovens       36864 Jan 16 16:45 TERMCHAR.012
>  -rw-r--r--   1 ovens       45056 Jan 16 16:45 TERMCHAR.014
>  -rw-r--r--   1 ovens           0 Jan 16 16:30 UC
>  -rw-r--r--   1 ovens           0 Jan 16 16:45 UC179
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.001
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.002
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.003
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.004
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.005
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.006
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.007
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.008
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.009
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.010
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.011
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.012
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.013
>  -rw-r--r--   1 ovens           8 Jan 16 16:45 UCTERM.014

Get rid of ALL of these files!  After deleting them with a Unix 'rm'
invocation, rerun the DMAP incocations for the various patterns (e.g.,
TERMCHAR, UCTERM, FRNV, FRNEXP, etc.) to find out if there are any
other instances of them in your MCPATH set of directories.  If you find
more, delete those (except, of course, for the MDXX files which are
data files).

>Again, thanks for any help with this wonderfully arcane software. 

Yes, McIDAS is arcane, but it is getting better.  I think that a number
of the problems that you encountered were being caused by  files that
have been caused by ungraceful exits of McIDAS over the years.

Tom