Subject: Re: ccm3.6 newbie CORE-DUMP
From: Jim Rosinski (rosinski@bearmtn-e0.cgd.ucar.edu)
Date: Mon Nov 23 1998 - 15:26:26 MST
On Mon, 23 Nov 1998, Mark Gibbas wrote:
> I have been able to install and compile ccm3.6.6, but shortly after
> execution I'm getting core dumped.
>
> Key Info:
> Platform: Dual processed PII 450, 384MB ram, Linux 5.1
> Compiler: Portland Group pgf77
As a shot in the dark, I would suggest either changing FFLAGS in the Makefile
to get rid of -Mrecursive, or seeing if typing "limit stacksize unlimited" at
the command prompt (if running C-shell) fixes the problem.
The theory in each case is that the core dump is caused by your job
overflowing your stack memory limit. The -Mrecursive flag says to put all
non-saved local variables on the stack. If this flag is not present, local
variables will be statically allocated.
The C-shell "limit" command mentioned above is an attempt to get the system
to allow larger stack memory usage. I'd suggest always setting this. Its an
annoying characteristic of many virtual memory machines that the default
stack memory limit is tiny. Typing "limit" at the C-shell prompt lists the
current settings. Commands exist which do effectively the same thing for
other interactive shells, buy I don't know the syntax.
Hope this helps.
Regards,
Jim Rosinski
CCM Core Group
This archive was generated by hypermail 2b27 : Thu Jun 01 2000 - 09:07:39 MDT