[daip] aips disk access problem
Eric Greisen
egreisen at cv3.cv.nrao.edu
Tue Feb 25 15:36:01 EST 2003
Chip Kobulnicky writes:
> Hi,
>
> I'm experiencing a problem reading data from aips disks.
>
> I have two machines, an SGI and a linux redhat 7.3 machine which
> each have working aips installations and I'm having trouble sharing
> disks between them...I think. I've had the SGI for many years, and all
> my data was processed and is visible from the SGI when I run aips. The
> problem comes when I try to access the same aips disk areas from my
> linux machine. I have the disks commonly mounted and accessible to both
> machines (defined in DADEVS.LIST and NETSP and linked properly in
> DATA/), and when I start up aips on linux, things look normal and
> aips finds the disk areas ok. I enclose the startup messages below.
>
> But when I try to look for my data files which I see fine on the SGI I
> get
I suggest that you stop doing this immediately. You will be luck
not to have destroyed your data. The SGI is a big-endian machine and
Intel Linux boxes are little-endian machines. This means that they do
not have the same binary format for integers or floats and all aips
disk files are structures of all floats or a mix of integer, single
and double precision floats and characters. Using a catalog file for
an SGI from a Solaris box can effectively delete all the data.
At the AOC we call these two architectures different "SITE"s -
NRAOAOC for Solaris and SGI (which can share data) and COAOARN for
Intel Linux.
Eric Greisen
>
> > indi 2
> > mc
>
> AIPS 1: Catalog on disk 2
> AIPS 1: Cat Usid Mapname Class Seq Pt Last access Stat
> AIPS 1: ZFIO: OPER = READ LUN = 15 NREC = 6
> AIPS 1: ZFI2: REQUEST FOR BYTES 5121 THRU = 6144 BEYOND EOF = 5120
> AIPS 1: ZERROR: IN ZFI2 ERRNO = 22 (Invalid argument)
> >uc
> AIPS 1: Catalog on disk 2
> AIPS 1: Cat Usid Mapname Class Seq Pt Last access Stat
> AIPS 1: ZFIO: OPER = READ LUN = 15 NREC = 6
> AIPS 1: ZFI2: REQUEST FOR BYTES 5121 THRU = 6144 BEYOND EOF = 5120
> AIPS 1: ZERROR: IN ZFI2 ERRNO = 22 (Invalid argument)
>
> What is this a symptom of?
>
> If it helps, the linux aips is 31DEC02 and the SGI version is 15APR99.
>
> Thanks if you have some clues,
> Chip
>
>
>
>
>
> [chip at zima ~]$ aips
> START_AIPS: Your initial AIPS printer is the Postscript Printer in
> ps204c
> START_AIPS: - system name printpress, AIPS type PS
>
> START_AIPS: User data area assignments:
> DADEVS.PL: This program is untested under Perl version 5.006
> (Using private file /d/hak/hak/.dadevs for DADEVS.PL)
> Disk 1 (1) is /d/aipsroot/AIPS/DATA/ZIMA_1
> Disk 2 (2) is /d/aipsroot/AIPS/DATA/ZIMA_2
> /d/aipsroot/AIPS/DATA/ZIMA_3 is currently unavailable.
> Disk 3 (3) is /d/aipsroot/AIPS/DATA/ZIMA_4
> Disk 4 (4) is /d/aipsroot/AIPS/DATA/ZIMA_5
>
> Tape assignments:
> Tape 1 is (no description provided by installer yet) on ZIMA
> Tape 2 is (no description provided by installer yet) on ZIMA
> Tape 3 is REMOTE
> Tape 4 is REMOTE
>
> START_AIPS: I am GUESSING you are at a workstation called zima
> TVDEVS.SH: Starting TV servers on zima asynchronously
> TVDEVS.SH: - with Internet Sockets...
> TVDEVS.SH: Starting TPMON daemons on ZIMA asynchronously...
> Starting up 31DEC02 AIPS with normal priority
> Begin the one true AIPS number 1 (release of 31DEC02) at priority = 0
> AIPS 1: You are assigned TV device/server 1
> AIPS 1: You are assigned graphics device/server 1
> AIPS 1: Enter user ID number
> ?DADEVS.PL: This program is untested under Perl version 5.006
> XASERVERS: TVSERV is already running on host zima, user chip
> XASERVERS: XAS is already running on host zima, display :0.0, user chip
> XASERVERS: TEKSRV is already running on host zima, display :0.0, user
> chip
> XASERVERS: MSGSRV is already running on host zima, display :0.0, user
> chip
> 1708
> AIPS 1: 31DEC02 AIPS:
> AIPS 1: Copyright (C) 1995-2002 Associated Universities, Inc.
> AIPS 1: AIPS comes with ABSOLUTELY NO WARRANTY;
> AIPS 1: for details, type HELP GNUGPL
> AIPS 1: This is free software, and you are welcome to redistribute it
> AIPS 1: under certain conditions; type EXPLAIN GNUGPL for details.
> AIPS 1: Previous session command-line history recovered.
> AIPS 1: TAB-key completions enabled, type HELP READLINE for details.
> AIPS 1: Recovered POPS environment from last exit
>
>
>
> --
> Henry A. (Chip) Kobulnicky email: chipk at uwyo.edu
> Dept. of Physics & Astronomy phone: 307-766-2982
> University of Wyoming fax : 307-766-2652
> Laramie, WY 82071 http://physics.uwyo.edu/~chip
> _______________________________________________
> Daip mailing list
> Daip at listmgr.cv.nrao.edu
> http://listmgr.cv.nrao.edu/mailman/listinfo/daip
>
More information about the Daip
mailing list