[CPMD-list] MEMORY ALLOCATION FAILED

Rad Balu radbalu at comcast.net
Tue Mar 23 04:24:24 CET 2004


Dear All,

I am having some issues in running the test programs that is provided at the 
cpmd.org site. When I ran the code using the test inputs I get, "MEMORY| 
ALLOCATION FAILED" error message.

My machine is an AMD64 based running suse linux 9.0 professional and I 
compiled the code using portland group compiler. Here is my make file:

#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS  = -L. -lmm
FFLAGS = -Mr8 -pc64 -Msignextend -Msecond_underscore  -byteswapio
LFLAGS = -L. -latlas_athlon64 -L/usr/pgi/linux86-64/5.1/lib -byteswapio  
$(QMMM_LIBS)
CFLAGS =
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT
NOOPT_FLAG =
CC = gcc -O2 -Wall
FC = pgf90 -c -fast
LD = pgf90 -fast
AR =

Here is the error message:
 ****************************************************************
 PROCESSOR     0 ALLOCATION OF       20080 WORDS OF MEMORY FAILED
 ****************************************************************

 ***    MEMORY| THE NEW SIZE OF THE PROGRAM IS    1348 kBYTES ***

 ================================================================
                      BIG MEMORY ALLOCATIONS
 TAU0                 189                VELP                 189
 NGHCOM               100                WSG                  100
 NGHTOL               100                RGH                  100
 WGH                  100                LVELINI               64
 BL                    12                RCL                   12
 ----------------------------------------------------------------
 [PEAK NUMBER   11]      PEAK MEMORY          978 =    0.0 MBytes
 ================================================================


 PROGRAM STOPS IN SUBROUTINE MEMORY| ALLOCATION FAILED (GNL)
  999

Here is my shell parameters:
core file size        (blocks, -c) unlimited
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) unlimited
cpu time             (seconds, -t) unlimited
max user processes            (-u) 8191
virtual memory        (kbytes, -v) unlimite

Any suggestions to help me resolve this issue will be appreciated.

Thanks
Rad

Graduate Student




More information about the CPMD-list mailing list