CFCRAY is a common file utility that converts a common file in CONVEX, VAX ALPHA, VAX, IRIS, HP, PARAGON or IBM RS/6000 format into Cray format and vice-versa. This utility runs only on the Cray. This program is not used for version 3 files.
To convert a file to Cray format, it must first be transferred to the Cray machine using ftp (binary mode), rcp or some other binary transfer mechanism. Then invoke CFCRAY by entering cfcray and fill in the prompts as follows:
% cfcray Enter input file name (<CR> to quit): vax_grid.cgd Enter output file name : cray_grid.cgd 1=Cray 2=VAX 4=Convex 5=IEEE (IRIS, IBM RS/6000) Select output file format : 1The file will then be converted and may be used by the application programs.
To convert a common file in Cray format to some other format, follow the following example:
% cfcray Enter input file name (<CR> to quit): cray_grid.cgd Enter output file name : vax_grid.cgd 1=Cray 2=VAX 4=Convex 5=IEEE (IRIS, IBM RS/6000) Select output file format : 2 (or 4 or 5)The converted file may then be transferred to the target machine using ftp (binary mode), rcp or some other binary transfer mechanism.
It may be necessary to invoke CFCRAY in a batch mode (for example, on the MDC Cray). This is done by creating a data file for the CFCRAY program and then invoking it directly. This is what the interactive cfcray script under UNICOS performs.
The file format is as follows:
Line #: | Content | ||
---|---|---|---|
Line 1: | inunit | ||
Line 2: | infile | ||
Line 3: | outunit | ||
Line 4: | outfile | ||
Line 5: | output file format |
Lines 6 through the end are optional
Line #: | Content | ||
---|---|---|---|
Line 6: | cmdunit | ||
Line 7: | command script ... | ||
Line n: | command script ... |
Last updated 1 Feb 2000