[CPMD-list] Memory Allocation Problem
Alex
alex at ccmsi.us
Tue Feb 10 15:23:26 CET 2004
Dear Peng,
P4_GLOBMEMSIZE specifies amount of shared memory. Its default
value too small for CPMD calculation.
This variable most prpbably depend on amount of memory in
your cluster. Just put:
export P4_GLOBMEMSIZE=size_of_shared_memory_in_bytes
in your .bashrc file.
However, I succeed to run calculations only with value around
90mb on our P-III Liinux cluster.
Sincerely,
Olexandr Isayev
You Wrote Tuesday, February 10, 2004, 1:25:24:
p> Alex,ÄúºÃ£¡
p> I use the serial binary program.
p> How can I set P4_GLOBMEMSIZE variable?
p> Thank you for your help.
p> PengGang Yin
p> ======= 2004-02-10 14:43:41 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=======
>>Dear Peng,
>>
>>You should specify P4_GLOBMEMSIZE variable for MPI.
>>
>>All the best,
>>Olexandr Isayev
>>
>>
>>
>>You Wrote Tuesday, February 10, 2004, 0:40:12:
>>
>>p> Dear All£¬
>>p> I compiled the serial binary on Rocks cluster. The program did not work.
>>p> The output file show memory erro message.
>>p> My cluster main information is as follows,
>>p> Rocks 3.1.1
>>p> mpich 1.2.5.2
>>p> PGI Fortran 5.01
>>p> CPMD 3.72
>>
>>
>>p> ****************************************************************
>>p> PROCESSOR 0 ALLOCATION OF 80320 WORDS OF MEMORY FAILED
>>p> ****************************************************************
>>
>>p> *** MEMORY| THE NEW SIZE OF THE PROGRAM IS 1144 kBYTES ***
>>
>>p> ================================================================
>>p> BIG MEMORY ALLOCATIONS
>>p> NGHTOL 400 WGH 400
>>p> RGH 400 WSG 400
>>p> NGHCOM 400 VELP 120
>>p> TAU0 120 RCL 48
>>p> BL 48 AL 48
>>p> ----------------------------------------------------------------
>>p> [PEAK NUMBER 11] PEAK MEMORY 2428 = 0.0 MBytes
>>p> ================================================================
>>
>>
>>p> PROGRAM STOPS IN SUBROUTINE MEMORY| ALLOCATION FAILED (GNL)
>>p> FORTRAN STOP 999
>>
>>p> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡What's wrong?
>>
>>p> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Peng Gang Yin
>>p> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡pgyin at red.semi.ac.cn
>>p> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-02-10
>>p> _______________________________________________
>>p> CPMD-list mailing list
>>p> CPMD-list at cpmd.org
>>p> http://www.cpmd.org/mailman/listinfo/cpmd-list
More information about the CPMD-list
mailing list