[daip] retiring workstation
Eric Greisen
egreisen at nrao.edu
Thu Mar 13 15:13:19 EDT 2008
Neal Miller wrote:
> Hi. I'm hoping this is a question with a simple solution.
> I will be retiring a workstation that has a workstation
> installation of AIPS. I have AIPS installed on a new
> workstation, and each machine has separate AIPS installations
> and files. I'd like to move my AIPS data from the old machine
> to the new with minimal effort, and wanted to know the best
> procedure. My guess is that I should be able to simply FTP
> data from the old machine to the new, for example (calling
> the older computer OLDMACHINE and the new NEWMACHINE):
>
> create directory on new computer:
> $AIPSROOT/DATA/OLDMACHINE_1
>
> move all files from old computer in its
> $AIPSROOT/DATA/OLDMACHINE_1 directory over to the same
> name directory on the new computer
>
> define OLDMACHINE_1 data area as a separate disk on the
> AIPS installation of the new computer
>
The first critical question - do these 2 machines have the same binary
architecture. SUNs and Mac PPCs have one byte order while Intel
machines (Linux or Mac) have the opposite. If they have the same byte
order, simply copy oldmachine_1 to newmachine_1 etc. Note that disk 1
has special files on it, whilst disks 2 to n are indistinguishable. But
note that you cannot copy 2 data areas from old to one data are on new -
the file names will conflict.
If the 2 machines are of opposite byte order, then things are trickier.
I wrote a stand-alone program call REBYTE which will read one file
area in one byte order and write another file area with the correctly
swapped files of the same name. Run this on newmachine cross-mounting
if possible oldmachine's disks. If that does not fly, then binary copy
oldmachine_n to a scratch area on new machine and then translate that to
newmachine_n.
Eric Greisen
More information about the Daip
mailing list