[comp.unix.cray] Unformatted data transfer from Cray to IBM..

suray@cs.tamu.edu (Subhankar Ray) (10/23/90)

Hello Everybody again !!

Thanks  to all of you who have  responded to my question about unformatted 
data transfer(cray to ibm)..
Those answers were very helpful but I need to do little
bit extra to get the whole thing working. Here is the complete 
story..

o  assign statement could be as follows  ..
   assign -a 'file.dat' -Nibm -Fibm.vbs fort.11

o  use cray2ibm utility also in the program; though '-Nibm' is supposed 
   to do the same job. But it did not work for me without Cray2ibm.

o  run the program that will create the unformatted file(at unit 11)

o  logon  into TSO and enter in ftp and set the locsite parameters as follows
    locsite blocksize=32760 lrecl=32756

o  And make it a binary transfer

o  Ignore first two words during the reading of the file on the IBM. First
   two words were garbages and the actual data started from the third
   word onwards. In my example, I had an array of dimension 200 on Cray
   and I used an array of dimension 202 on IBM. ( any comment ??)


There may be redundancy and/or lack of uniqueness 
 in the above process but it works. If anybody 
has better luck in simplifying it , please let me know..  
Thanks..

Subhankar  Ray
Dept of Electrical Engg; 
Texas A & M University.