next up previous contents index
Next: Retrieving tar files Up: Installing ready-built libraries Previous: Retrieving tar files

Retrieving backup savesets for VMS systems

The backup savesets for VMS systems are currently compressed using the gzip program. If you have access to this program, it is more efficient in terms of network load and CPU load on the asisftp.cern.ch server to transfer the compressed file and uncompress it on your machine.

If you do not have access to this program, simply leave of the .gz suffix when performed the transfer and the files will be uncompressed on the fly.

GZIP/GUNZIP

   

The executables for GZIP and GUNZIP may be found in VXCERN::USR:[LOCAL.EXE] (VAX/VMS) and VXCERN::USR:[LOCALAXP.EXE] (OpenVMS).

Unlike Unix systems, which add an extension .gz when compressing a file, -GZ is appended to the file name.

Running GZIP or GUNZIP on VMS systems

AXCRNC? gzip -v login.com

DISK$CD:[JAMIE]LOGIN.COM;1:	61.8% -- replaced with DISK$CD:[JAMIE]LOGIN.COM-gz

AXCRNC? gunzip -v login.com

DISK$CD:[JAMIE]LOGIN.COM-gz:	61.8% -- replaced with DISK$CD:[JAMIE]LOGIN.COM

The following savesets were built for release 94A:

crncmz.bck.gz
CMZ
crnlib.bck.gz
The .OLBs (KERNLIB, MATHLIB, PACKLIB etc.) and .EXEs.
crnpat.bck.gz
The PATCHY executables.
crnsrc.bck.gz
The source files.

Post 94A releases will be made in the same way as for Unix systems, i.e.

cernbin.tar.gz
The modules (binaries)
cernglib.tar.gz
The graphics libraries
cernlib.tar.gz
The non-graphics libraries
cernmgr.tar.gz
The installation scripts
cernsrc.tar.gz
The source files (.CAR and .CRA)
cmz.tar.gz
CMZ
geant321-src.tar.gz
GEANT 3.21 source
geant321.tar.gz
GEANT libraries etc.
mclibs.tar.gz
The Monte Carlo libraries
patchy.tar.gz
The PATCHY modules

N.B. Having retrieved (and uncompressed) the savesets, the correct block size must be set using the RESIZE command, available from VXCERN::CERN:[PRO.EXE]RESIZE.COM.  

Setting the correct blocksize

AXCRNC? resize -s 32256 crnlib.bck
resize: setting record size of CRNLIB.BCK to 32256 bytes...
AXCRNC?

  On systems running VMS 6.1 or higher, the resize command should be replaced by the SET FILE/ATTRIBUTES command, e.g.

SET FILE/ATTRIBUTES=LRL=32256 CRNLIB.BCK

 

With version 3.3 (February, 1994) of TGV Multinet TCP/IP software for OpenVMS, it is possible to set the record size for binary transfers in FTP (previously the only allowed sizes were 512 and 2048 bytes). The commands are RECORD-SIZE nnnnn when the ftp session originates on the openVMS computer, and QUOTE SITE RMS RECSIZE nnnnn when ftp is started from the non-VMS end. Here are examples of the two cases.

For a transfer starting on an OpenVMS computer

$ FTP SHIFT.CERN.CH
SHIFT.CERN.CH> USER yourname
<Password required for yourname.
Password:
<User leeiv logged in.
SHIFT.CERN.CH> VERSION
DUKPHY.PHY.DUKE.EDU MultiNet FTP user process 3.3(109)
SHIFT.CERN.CH> BINARY
Type: Image, Structure: File, Mode: Stream
SHIFT.CERN.CH> RECORD-SIZE 32400
SHIFT.CERN.CH> RECORD-SIZE
Record size for IMAGE files: 32400
SHIFT.CERN.CH> GET myfile.rzhist myfile.rzhist
SHIFT.CERN.CH> QUIT
$

For a transfer starting from a non-Multinet computer

> ftp dukphy.phy.duke.edu
Connected to dukphy.phy.duke.edu.
220 DUKPHY.PHY.DUKE.EDU MultiNet FTP Server Process 3.3(14) at Mon 13-Jun-94
Name: yourname
331 User name (yourname) ok. Password, please.
Password:
ftp> binary
200 Type I ok.
ftp> quote site rms recsize 32400
200 IMAGE file record size now 32400 bytes
ftp> put myfile.rzhist myfile.rzhist
ftp> quit

Unpacking the BACKUP savesets

Having uncompressed and "resized" the BACKUP savesets, use the BACKUP command to unpack the files into the appropriate directories on your system.

Unpacking the BACKUP savesets

back/log disk$scratch:[pubmf.work.jamie]crnexe.bck/save disk$cernlib:[*...]
%BACKUP-S-CREDIR, created directory DISK$CD:[PRO.EXE]
%BACKUP-S-CREATED, created DISK$CD:[PRO.EXE]ARIADNE.EXE;12
%BACKUP-S-CREATED, created DISK$CD:[PRO.EXE]ASTUCE.EXE;53

...



next up previous contents index
Next: Retrieving tar files Up: Installing ready-built libraries Previous: Retrieving tar files


Janne Saarela
Wed Mar 29 15:50:22 METDST 1995