Go to the U of M home page
School of Physics & Astronomy
School of Physics and Astronomy Wiki
classes:2008:fall:astro4001.001:installation

This is an old revision of the document!


Downloading and Installing

Downloading

On you linux prompt type

    wget http://www.kitp.ucsb.edu/~paxton/EZ_3_6_3.tar.gz

to download the file.

Unpacking

To unpack type

    tar xvzf EZ_3_6_3.tar.gz

This will unpack all the files in a directory EZ_3_6_3.

Switch to this directory:

    cd  EZ_3_6_3

There are a lot of ._* and .DS_Store files in the different directories. You can get rid of them with the commands

    find . -name "._*" -exec rm -f {} \;
    find . -name ".DS_Store" -exec rm -f {} \;

Setting up compiler

Physics Computers

To set up gcc/gfortran compiler in desired version 4.3.x type

Advanced

To see what other compiler versions are available, type

    ups list -aK+ gcc

Compiling

Change to directory make

    cd make

execute the makefile skript (default) using the make command

     make

the original version of makefile uses gfortran. If that does not work on your computer of platform, you probably have to modify the makefile (or install gfortran).

There should now be a version of the EZ executable in the run subdirectory off the main EZ_3_6_3 directory. To change to this diectory, do

    cd ../run

Type

    ls -latr

to see the files, sorted in reverse order of creation. Here is list of files you should have.

Some Documentation

UNIX
FORTRAN
classes/2008/fall/astro4001.001/installation.1224079960.txt.gz · Last modified: 2008/10/15 09:12 by heger