[Developers] memory error in src/main/Parameter.c'sGetBaseName()

Rideout, David P d.rideout at imperial.ac.uk
Thu Feb 28 15:20:11 CST 2008


No, hp-mpi:

drideout at bl125 ~/Cactus$ make causetsd_amd-configinfo
________________________________________________________________________
Displaying configuration information
# CONFIGURATION  : causetsd_amd
# CONFIG-DATE    : Thu Feb 28 15:22:55 2008 (GMT)
# CONFIG-HOST    : bl125
# CONFIG-STATUS  : 0
# CONFIG-OPTIONS :
CC=pathcc
CXX=pathCC
CXX_OPTIMISE_FLAGS=-O3 -OPT:Ofast -fno-math-errno -TENV:simd_zmask=OFF -TENV:simd_imask=OFF -TENV:simd_omask=OFF
C_OPTIMISE_FLAGS=-O3 -OPT:Ofast -fno-math-errno -TENV:simd_zmask=OFF -TENV:simd_imask=OFF -TENV:simd_omask=OFF
C_WARN_FLAGS=-Wall
DEBUG=yes
MPI=CUSTOM
MPI_INC_DIRS=/opt/hpmpi/include
MPI_LIBS=mpi
MPI_LIB_DIRS=/opt/hpmpi/lib/linux_amd64
OPTIMISE=no



-----Original Message-----
From: developers-bounces at cactuscode.org on behalf of Erik Schnetter
Sent: Thu 28/02/2008 9:38 PM
To: developers at cactuscode.org
Subject: Re: [Developers] memory error in src/main/Parameter.c'sGetBaseName()
 
On Feb 28, 2008, at 14:35:17, David Rideout wrote:

> Hi,
>
> I have a code which runs fine in serial, but seg faults while freeing
> grid arrays when run in parallel.  When I run it with memory checking
> in ddt, it shows an error at the malloc() call in GetBaseName()
> (src/main/Parameters.c line 2374):
>
> Processes 0-1:
> Memory error detected: "a previous write overwrote the reserved memory
> after the end of a memory allocation"
>
> This call to GetBaseName() arises from a call to CCTK_ParameterData()
> during BASEGRID, to get the size of an array parameter.
>
> Any ideas??


Are you using mvapich?

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.





-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3773 bytes
Desc: not available
Url : http://www.cactuscode.org/pipermail/developers/attachments/20080228/de13a6c8/attachment-0001.bin 


More information about the Developers mailing list