CISER header image
Cornell University Cornell University CISER

CISER Computing

Instructions to Invoke ASReml on Athena64 or Athena65

August 9, 2006

ASReml on Athena64 and Athena65 is a batch driven program. To invoke ASReml you need to run the ASReml executable from the command prompt as described below.

  1. First you may wish to create a folder call "ASReml" in your home directory on the U:\ drive

    For example U:\user6\cam6\ASReml, but substitute your own user folder and netid. The illustrations below show such a folder.

  2. Open the Command Prompt by clicking on:
    Start -> All Programs -> Accessories -> Command Prompt


  3. At the Command Prompt:
    Type the drive name (U:) followed by a colon to switch to the "U:" drive:
    example: > U: <enter>
    then use the "cd" command to navigate to the ASReml folder in your home directory.
    example: > cd user6\cam6\ASReml <enter>

    Here is a screen shot showing these commands in sequence:
  4. cmd prmpt

  5. Run the ASReml Job at the Command Prompt as follows:

    > ASReml110 [options] myfile <enter>

    Where ASReml110 is the ASReml 1.1 executable file and my_file is a file with type " .as" that contains the ASReml commands.. There is a sample ASReml command file called "ari.as" located in "T:\ASReml" on both Athena64 and Athena65. You may copy that file and the associated ascii data file (ari.dat) from the T:\ drive to your home directory to try out ASReml. The "ari.as" program reads input data from the "ari.dat" file. Here are examples.

    img3

    img5

    In the second example above (which includes the results of the command) the -sj has been added to the ASReml command line option to increase memory allocation to the program.

    Notes:
    a. A successful run of your program produces several output files with different file extensions in the current folder. All output files inherit the first part of their name as the program name. For example, our test program "ari.as" produces output files like "ari.asr", "ari.res", "ari.rsv", "ari.sln". These are text files that can be viewed with editors such as Notepad, Textpad, or EditPlus.
    b. Note that you will need to use a text editor to create your own ".as" files, as indicated in the user guide at http://www.ciser.cornell.edu/FAQ/ASReml/ASReml_Documentation.shtml.
    c. To simply view text files from the command prompt you can use the "more" command.
    Example: > more ari.res <enter>
    d. To see a list of files in the current directory use the "dir" command
    Example: > dir <enter>