[cam-users] CCM3 segmentation fault on Sun

Curtis Covey covey1 at llnl.gov
Fri Oct 1 12:45:19 MDT 2004


Dear CAM Users Group,

I am trying to run CCM3.6.6 on the Sun server tethys.llnl.gov,
under SunOS version 5.8.  The model compiles and links without
apparent problems after minimal changes to build.noncray.csh and
Makefile from the standard code distribution.  Upon execution,
however, the model quickly terminates with a segmentation fault
and core dump.  The tail end of the atm.log file is:

 ---------------------------------------
 ---------------------------------------
 creating lsm time-constant history file
 lsm time constant dataset fields:
 no name     units    description
  1 SUB_LAT  degrees_ subgrid vector latitude

In the archives of Users Group correspondence,  Jim Rosinski
suggests another user's seg fault is the result of exceeding
some system memory limit, which could possibly be fixed with
things like "limit stacksize unlimited", "limit memoryuse
unlimited", etc. (in csh).  Also, Kalyana Chadalavada finds that
setting large limits (~1 GB) for stack size, data seg size, max
mem and max locked mem solved his seg fault problem.

This all sounds reasonable, but I am sufficiently inexperienced
that I don't know how to implement these suggestions.  Any
advice as to the best way to proceed?

- Curt Covey



More information about the cam-users mailing list