Setting up CCM3.6 on a DEC Alpha


Subject: Setting up CCM3.6 on a DEC Alpha
From: Jeffrey Yin (jyin@atmos.washington.edu)
Date: Thu Sep 10 1998 - 18:03:30 MDT


Hello fellow CCM-users--

I realized that my earlier message to Emilio Jose Garcia left out at least
one step that was necessary to get CCM3.6 to run on the DEC Alphas that
I'm working on, so I thought I'd get myself organized and put together a
list of the few simple steps that I went through to get the model to run.
In case you're interested, I've gotten the model to run on one Alpha using
Digital Fortran v5.1 under Digital Unix V4.0D, and another Alpha using
Digital Fortran v5.0 under Digital Unix V4.0B. After downloading the
model code and datasets and putting the files in the standard directories,
I needed to do the following things to get the model to run:

1) Edit 'bld/build.noncray.csh':
Replace the line "setenv CPU SGI" with "setenv CPU SUN".

2) Edit 'bld/Makefile':
Copy the SUN-specific flags section to create one corresponding to the
DEC, replacing "ifeq ($(UNAMES),SunOS)" with "ifeq ($(UNAMES),OSF1)" and
removing the Fortran compiler option "-fast" from the FFLAGS list.

3) Edit 'src/control/ccm3.F':
Comment out the following 4 lines:
[line 96] #include <f77_floatingpoint.h>
[line 125] integer iexcept, ieee_handler
[line 150] iexcept = ieee_handler( 'set', 'common', SIGFPE_ABORT )
[line 151] if ( iexcept .ne. 0 ) write(6,*)'ieee trapping not supported
here'

4) For T42 resolution, type the command "limit datasize 200000" before
running 'build.noncray.csh' (I'm not sure exactly how big it needs to be,
but my default of 131072 kbytes wasn't big enough). The model seemed to
be using about 177 Mb of memory at T42 resolution, so make sure your
machine has enough memory!

I hope that this is helpful to some of you, and saves some headaches in
getting the model to run. Good luck!

                                --Jeff--

Jeffrey Yin INTERNET: jyin@atmos.washington.edu
685-8438 UUCP: uw-beaver!atmos.washington.edu!jyin
Dept of Atmospheric Sciences
University of Washington, Box 351640



This archive was generated by hypermail 2b27 : Thu Jun 01 2000 - 09:06:53 MDT