[CPMD-list] "MEMORY| ALLOCATION FAILED" error message

Robert Williams bob at bob.usuhs.mil
Wed Feb 16 18:37:23 CET 2005


Dear Bayu,

There is a "bug" in at least some kernel versions greater than
2.6.5 that appear to be related to this problem.
I ran quite a few tests and found that a pristine
(non-fedora) 2.6.5 kernel will solve this memory allocation error.
I'm not sure about the latest kernels.  I haven't tested 2.6.10 yet.
I've attached my .config file.

Bob Williams

s101bayu at mail.chem.itb.ac.id wrote:
> 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 Intel Pentium 4 based running Fedora Core 3, Clustering
> with OSCAR and I
> compiled the code using intel fortran compiler. Here is my make file:
> 
> #QMMM_FLAGS = -D__QMECHCOUPL
> #QMMM_LIBS  = -L. -lmm
> FFLAGS = -c -r8 -w95 -O3 -pc64 -axiKMWN -tpp7 -unroll -cm -tune pn4 -arch pn4
> LFLAGS = -L. -latlas -lsvml -Vaxlib -static $(QMMM_LIBS)
> CFLAGS = -c -O2 -Wall
> CPP = /lib/cpp -P -C -traditional
> CPPFLAGS = -DADD_ONE_UNDERSCORE -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT
> -DPARALLEL -DMP_LIBRARY=__MPI -DMYRINET -DLINUX_IFC
> NOOPT_FLAG =
> CC = cc
> FC = env LAMHF77=ifort mpif77
> LD = env LAMHF77=ifort mpif77
> 
> 
> Here is the error message:
>  ****************************************************************
>  PROCESSOR     0 ALLOCATION OF       64672 WORDS OF MEMORY FAILED
>  ****************************************************************
> 
>  ***    MEMORY| THE NEW SIZE OF THE PROGRAM IS   2212/  21808 kBYTES ***
> 
>  ================================================================
>                       BIG MEMORY ALLOCATIONS
>  TAU0                 402                VELP                 402
>  NGHCOM               200                WSG                  200
>  NGHTOL               200                RGH                  200
>  WGH                  200                LVELINI              136
>  BL                    24                RCL                   24
>  ----------------------------------------------------------------
>  [PEAK NUMBER   11]      PEAK MEMORY         2012 =    0.0 MBytes
>  ================================================================
> 
> 
>  PROGRAM STOPS IN SUBROUTINE MEMORY| ALLOCATION FAILED (GNL) [PROC= 0]
> 
> 
> Any suggestions to help me resolve this issue will be appreciated.
> 
> Thanks
> Bayu
> _______________________________________________
> CPMD-list mailing list
> CPMD-list at cpmd.org
> http://cpmd.org/mailman/listinfo/cpmd-list
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 2.6.5.config
Url: http://cpmd.org/pipermail/cpmd-list/attachments/20050216/01204b54/attachment.cc 


More information about the CPMD-list mailing list