Physics 381C: Introduction, Unix and Fortran 77 Programming
Please report all errors/typos. etc to
matt@infeld.ph.utexas.edu
Lectures 1 and 2 (Jan 16, 21)
Note:
If you missed the first class, please see the instructor as soon as possible to arrange for computer accounts, and to pick up hand-outs.
Center for Relativity Machines
(HTML)
Unix notes
(HTML)
Using Fortran and C in the Unix Environment
(HTML)
Lectures 3 and 4 (Jan 23, 28)
fdemo1.f
: Program demonstrating some essential Fortran 77 language elements.
Output
from
fdemo1
p329f.f
: Utility routines available in
libp329f.a
p329fsa.f
: Test driver illustrating use of utility routines.
Output
from test driver.
mysum.f
: Reads real*8 values from stdin and writes sum on stdout. Less-commented
mysum_s.f
and
sample output
dvfrom.f
: Subroutine which reads real*8 vector from file (or stdin). Testing routine
tdvfrom.f
and
sample output
dvto.f
: Subroutine which writes real*8 vector to file (or stdout). Testing routine
tdvto.f
and
sample output
Makefile
and
output
from
make
Additional Material
Fortran Programming notes
(Phy 329).
Fortran 77 Course Resources