[Errno 12] cannot allocate memory

50 views
Skip to first unread message

Aulia Rahma

unread,
Aug 2, 2020, 11:00:15 PM8/2/20
to OpenMC Users Group
Dear all,

Does anyone know what happened with this and what should I do?

Thx,
Aul

IMG_20200803_095746.jpg

Andrew Johnson

unread,
Aug 3, 2020, 7:36:41 PM8/3/20
to OpenMC Users Group
Aul,

The simplest answer is that your working environment / machine did not have enough available memory to perform the depletion analysis. This process can get resource hungry as the number of burnable materials increases. Plus, running inside a jupyter notebook inside a browser takes away from the total free memory that can be used during the depletion stage.

For fixes, I would recommend running outside of a jupyter notebook, reducing the complexity of your model, take advantage of running in parallel with MPI, and / or trying to run on a different machine. You can use the command "jupyter nbconvert" to create a python script from the notebook, which can be run from the command line.

Regards,

Andrew
Reply all
Reply to author
Forward
0 new messages