I want to test random generator with one program.
But I don't undertsand what my input file should look like.

You must first create the ascii file. To do that,
generate your 32-bit integers and write them to a file,
in hex format, 80 characters (ten 32-bit integers) per
line. For example in Fortran if your file is, say,
mran(5000), then the statements

  write(1,21) m
     21     format(10z8)

will cause your 5000 integers to be written to the
file designated unit 1. Of course you must have first
opened that unit with a statement such as


Pause - Please enter a blank line (to continue) or a DOS command.

I tried to write numbers 1 2 3 4 5 6 7 8 9 10 and use hex editor to show them in hex. BUt there is no 80 characters from those numbers.

here is the screenshot.


SO the input is wrong probably. Can you explain this?

I am using testing progra from here : http://www.stat.fsu.edu/pub/diehard/