
Compilation Options (IMPORTANT)

When compiling ORTEP-III, make sure that subprogram variables retain
their values between calls.  This is the default mode of many Fortran
77 compilers, but some require a particular compilation setting.  Check
your user's manual.

PGPLOT

The screen drawing capabilities available in ORTEP-III are provided by
PGPLOT.  PGPLOT is a free graphics library developed by T. J. Pearson
at the California Institute of Technology.  Information about PGPLOT
can be found on the World Wide Web at
http://astro.caltech.edu/~tjp/pgplot or via e-mail to
tjp@astro.caltech.edu.

PGPLOT is NOT required to compile ORTEP-III. Without PGPLOT, screen
drawing is not possible, but Postscript and HPGL file ouptut of the
ORTEP illustration still function.

As downloaded, the screen drawing portion of the program is commented
out.  Dummy subroutines that do nothing replace the screen drawing
versions.  If you have PGPLOT, locate the words "DUMMY SCREEN OUTPUT"
in the source file and remove or comment out the dummy subroutines
found in that section.  Uncomment the subroutines in the section
labeled "PGPLOT SCREEN OUTPUT".

No Fortran Compiler

The Fortran code of ORTEP-III has been successfully converted to C code
with the utility F2C and compiled with various C compilers.  F2C is
available via anonymous ftp at netlib.att.com in the directory
/netlib/f2c.  A Macintosh version is available at alumni.caltech.edu in
/pub/Mac_F2C.

Since PGPLOT compilation requires a Fortran compiler, the screen
drawing capability of ORTEP-III is not available when going the C
route.

Compiling for UNIX:

	f77 -o ortep3 ortep.f -lpgplot -lX11

Compiling for VMS:

	for ortep.f<br>
	link /executable=ortep3 ortep,pgplot_dir:grpshr/lib

Compiling for Macintosh with Fortner Research LS Fortran:

	First compile the PGPLOT library for the specific Macintosh
	platform.

	Power Macintosh

		fortran.ppc ortep.f -u -saveall -b -opt=0 -bkg=0
		linkfortranppc ortep3 ortep.f.o pgplot.lib

	68K Macintosh

		fortran ortep.f -u -saveall -b -opt=0 -bkg=0 -mc68020
		linkfortran ortep3 ortep.f.o pgplot.lib


