[ERROR]Attempt to allocate an allocated object

You can find here problems arising when using old releases of Yambo (< 5.0). Issues as parallelization strategy, performance issues and other technical aspects.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan

Locked
Bruno
Posts: 72
Joined: Tue Dec 08, 2020 11:16 am

[ERROR]Attempt to allocate an allocated object

Post by Bruno » Mon Nov 01, 2021 10:29 am

Hello,

I'm trying to run a calculation for GaAs and I'm getting the following error during the bse run:

<03s> P1: [ERROR] Allocation of GLOBAL_BS_MAT failed with code 5014
P1: [ERROR] STOP signal received while in[02.01] Transition Groups build-up @q1
P1: [ERROR]Attempt to allocate an allocated object


I have generated the screening/dipoles database with no problems, but I can't proceed with the BSE. I'm attaching the log output for one of the mpi during the calculation, and also the bse input and r- output. I'm not sure if it can be memory related, I've been trying to parallelize over k so far. Thank you in advance!
bse.tar.gz
Regards,
You do not have the required permissions to view the files attached to this post.
MSc. Bruno Cucco
PhD Candidate
CNRS Institut des Sciences Chimiques de Rennes, France
Université de Rennes 1
https://iscr.univ-rennes1.fr

User avatar
Daniele Varsano
Posts: 3816
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: [ERROR]Attempt to allocate an allocated object

Post by Daniele Varsano » Mon Nov 01, 2021 11:32 am

Dear Bruno,

this does not seem a memory problem. Not easy to spot the problem.
What I can see is that you provide 8 cpus in the input while running with 64 MPI process. In this case yambo switch to a default assignation, this should not be a problem but can you try to run your job using 8MPI, or more by assigning them consistently and see if the problem disappear.

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

Bruno
Posts: 72
Joined: Tue Dec 08, 2020 11:16 am

Re: [ERROR]Attempt to allocate an allocated object

Post by Bruno » Mon Nov 01, 2021 12:58 pm

Hello,

Thank you for the fast reply. Indeed the wrong number of cores on the input was my bad, I was doing some testing and forgot to change it back. Although, using consistent numbers still leads to the same error unfortunately. Not sure of what's happening. I will perform some more tests to investigate.

Regards,
MSc. Bruno Cucco
PhD Candidate
CNRS Institut des Sciences Chimiques de Rennes, France
Université de Rennes 1
https://iscr.univ-rennes1.fr

Bruno
Posts: 72
Joined: Tue Dec 08, 2020 11:16 am

Re: [ERROR]Attempt to allocate an allocated object

Post by Bruno » Mon Nov 01, 2021 3:11 pm

Just a small update. For some reason reducing the number of included bands appears to solve the problem, I ran a quick test with just 1 valence and 1 conduction band and the calculation went through fine. I guess the BSE matrix size was the problem? I will do some more tests.

Regards,
MSc. Bruno Cucco
PhD Candidate
CNRS Institut des Sciences Chimiques de Rennes, France
Université de Rennes 1
https://iscr.univ-rennes1.fr

Locked