When running the simulations, it shows "invalid memory reference"

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
manoj_wijesingha
Newbie
Newbie
Posts: 35
Joined: Wed Sep 21, 2022 6:52 pm

When running the simulations, it shows "invalid memory reference"

#1 Post by manoj_wijesingha » Tue May 13, 2025 7:30 pm

Hi Colleagues,
When running the VASP simulations, this error happens "Program received signal SIGSEGV: Segmentation fault - invalid memory reference." I have attached the files you need, and could you please assist me.
Thank you,

Best Regards,
Manoj.

You do not have the required permissions to view the files attached to this post.

manoj_wijesingha
Newbie
Newbie
Posts: 35
Joined: Wed Sep 21, 2022 6:52 pm

Re: When running the simulations, it shows "invalid memory reference"

#2 Post by manoj_wijesingha » Thu May 15, 2025 2:46 am

Hi Colleagues,
Regarding the previous question, this simulation can be run successfully without "GGA+U" codes (same input files). I need to include "GGA+U" for my simulations. But running with "GGA+U", it generates the error, "invalid memory reference" which was mentioned in previous text. Could please assist to solve this error.
#GGA+U
LDAU = .TRUE.
LDAUTYPE = 2
LDAUL = 2 -1 -1
LDAUU = 6.00 0.00 0.00
LDAUJ = 1.00 0.00 0.00
LDAUPRINT = 1
LMAXMIX = 4

Thank you.

Best Regards,
Manoj.


jonathan_lahnsteiner2
Global Moderator
Global Moderator
Posts: 256
Joined: Fri Jul 01, 2022 2:17 pm

Re: When running the simulations, it shows "invalid memory reference"

#3 Post by jonathan_lahnsteiner2 » Thu May 15, 2025 4:43 pm

Dear Manoj Wijesingha,

I was able to reproduce the error which you are reporting. It looks like the selected electronic minimization algorithm you are using is not able to find a minimum which causes a seg fault as follow up. When switching from ALGO=Fast to ALGO=All I was able to do a couple of ionic steps without problems. So you can either try with the ALGO=ALL or maybe try some other algorithm available in VASP.

All the best Jonathan


manoj_wijesingha
Newbie
Newbie
Posts: 35
Joined: Wed Sep 21, 2022 6:52 pm

Re: When running the simulations, it shows "invalid memory reference"

#4 Post by manoj_wijesingha » Thu May 15, 2025 7:07 pm

Hi Jonathan,
Thank you for your supporting and the information. I'll try both ways.

Best Regards,
Manoj


Post Reply