This code is from MP030macC9, BA94C9 and MA94DC9 from Paleo and in more general
terms an 8X10 version of Model II. Please read the file namelist documentation to
understand the namelist parameters.

Changes from standard Model II:

Merged copy of the code that does not use update decks.

New kOcean=2 mode for deep ocean. The supported kOcean modes in this
model are:

kOcean=0, fixed sst (climatological only)

kOcean=1, qflux

kOcean=2, qflux with deep ocean (diffuse)

Prt, rsf, acc, and oda files are written to sub folders. The
Unix scripts have to be modified to handle create these sub folders.

Prt files are split by month. However the first month's prt file
contains the first hour information as well.

Rsf files are always written out at maximum size.

The namelist is written out as a file (unit 110) instead of feed
directly to standard in. The Unix scripts have to be modified to write out this
file.

ISTARTs read different arrays based on kOcean mode instead of always
reading the same arrays.

The run number can now be 20 characters long instead of 8.

All output files are named differently. The new names include
<month><year>.<file type><run number>, for example
APR1901.prtP0044cC9_mac.

Current.Date file contains the tau from the run converted into a
mm/dd/yyyy.

TAUP has been removed, but you have a namelist parameter to do the
check. With the check enabled the model makes sure that the restart file with
within a month and 3 days of the start date for the run.

FORCINGS namelist has been added to the model to support changes to all
the the greenhouse gasses and new style trends.

FORCINGSmac.COM supports the new style trends in memory.

FORCINGSmacC9.f has new trend code for the greenhouse gasses and solar.
The new trends can be changed via data files specified by unit number in the
FORCINGS namelist. This code replaces Jim's A TREND in RFRCmacDBL.

RANDU is now external to MP030bmacC9 to make it portable. RANVAX
contains RANDU for MacOS 9/X and Linux. IRIX and AIX will need different random
number generator code.

Uses SSW.STOPGCM and unit 3 for stops.

clock replaces MCLOCKS for timing information. Under MacOS X clock
returns time in hundreths of a second as MCLOCKS does under AIX.

Platform issues:

Some unit numbers were changed because the model used reserved Fortran
unit numbers to handle certain files. In particular the namelist is now read in
from unit 110 instead of unit 5, and the restart file is read in from unit 109
instead of unit 9.

9/X flag in code changes how paths are handled. Paths for acc, rsf, prt,
and oda files have hard coded : as folder separators. MacOS 9 uses : instead of
/ in paths. These paths will have to be fixed in the source code for all other
platforms.

Unfinished business:

volcanic aerosols

Hints:

read namelist documentation for the full story on the namelist. Reto
contributed a lot to this document and it lets you control the model much better.

Comments at the top of the source files list most of the changes.

All major changes and additions have been placed between special comment
blocks. See the comment template file for the style for comments around changes
in the code. The general format is:

c ** XXX (YYYY)
<code goes here>
c ** END (YYYY)

Where XXX are your initials and YYYY is a word like CHANGED or ADDED.

You can search the code by initials to find changes. For example search
for MFS to see my changes.

Use at command line:

This version of the model does not work with setup, run, or runn. To start a run
you must link or copy the files to their correct unit numbers and copy the
namelist into a fort.110 file. The initial fort.110 file should look exactly like
this (between --- lines):

You can then start the model directly or using nohup. The model will output some
text to the screen as it runs that says the model version and the current date.
You need to modify the fort.110 file to run the rest of the run.