Memory error

38 views
Skip to first unread message

Shashank Chawan

unread,
May 24, 2021, 9:51:08 AM5/24/21
to LS-DYNA2
Hello Group,

I'm trying to solve an impact problem.
I have following error while I start simulation,

 *** Error 41274 (SOL+1274) (processor # 0)
     cannot allocate dynamic memory
     Ran out of memory allocating -336483456 words
     for sbc iheads array
 E r r o r   t e r m i n a t i o n

I tried all the options such as Keyword memory=auto, *keyword 999999999, memory 1 and memory 2 = 1999m, envi variable LSTC memory = auto.

Nothing seems to be working, I request your help me with your idea to proceed further.

Thanks in advance!!

Best regards,
Shashank

James M. Kennedy

unread,
May 24, 2021, 10:59:09 AM5/24/21
to Shashank Chawan, LS-DYNA2

Dear Shashank,

 

From the LS-DYNA User’s Manual

http://ftp.lstc.com/anonymous/outgoing/jday/manuals/DRAFT_Vol_I.pdf

When starting a simulation, the user typically specifies the static memory, for instance

in SMP

 

ls-dyna i = in.k memory = 200m

 

meaning that LS-DYNA tries to allocate 200 Mwords for storing statically allocated

data. In MPP, the physical memory is distributed among processes and this option

applies to each individual process. In MPP there is also an option to add a second

memory flag, for instance

 

mpp-dyna i = in.k memory = 1000m memory2 = 200m

 

and this means that 200 Mwords are allocated for each process while 1000 Mwords is

allocated on the first process to handle everything up to the point when the model data

has been distributed among all the involved processes. The memory size may also be

specified on *KEYWORD.

 

------------------

 

Added gas abbreviation for gigawords in specification of memory on execution

line, e.g, memory = 16g is 16 billion words.

 

------------------

 

From MPP presentations

 

https://ftp.lstc.com/anonymous/outgoing/support/PRESENTATIONS/mpp_201305.pdf

https://ftp.lstc.com/anonymous/outgoing/support/OTRS/MPP_class_handout.pdf

 

One processor is doing the decomposition, which can require a large amount of memory,

more than necessary in the simulation.

 

There are two memory options on the command line when executing LS-DYNA® MPP:

mpirun –np 64 mpp971 i=test.k memory=80m memory2=20m p=pfile

 

memory is for processor 0 for decomposition and simulation. memory2 is for the simulation

for the rest of processors.

 

------------------

 

Sincerely,

James M. Kennedy

KBS2 Inc.

May 24, 2021

--
You received this message because you are subscribed to the Google Groups "LS-DYNA2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ls-dyna2+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ls-dyna2/251c061a-81c9-4fc9-85fb-c7b08e704541n%40googlegroups.com.

Shashank Chawan

unread,
May 24, 2021, 12:06:58 PM5/24/21
to James M. Kennedy, LS-DYNA2
Thanks James,
This started with v12, this was my last option.

Anyways I will also check the pdf files for my learnings, this would definitely help me.

best regards,
Shashank 

James M. Kennedy

unread,
May 24, 2021, 12:52:34 PM5/24/21
to Shashank Chawan, LS-DYNA2

Dear Shashank,

 

If you can resolve this issue with a different revision/release of LS-DYNA, I would use it.

 

Sincerely,

James M. Kennedy

KBS2 Inc.

May 24, 2021

 

Reply all
Reply to author
Forward
0 new messages