Closed nkeilbart closed 1 month ago
In aiida-vasp there is PotcarData
and PotcarFileData. The intention is to hide the actual POTCAR file (PotcarFileData
) in the provenance graph so when one exports the calculations, the actual POTCAR files are not shared (due to licensing issue).
From your stack trace, it seems the problem is in the storage of your AiiDA installation - the repository file of the PotcarFileData
is missing which make it not possible to construct the actual POTCAR files of the calculation.
When you delete a family, only the PotcarData
is deleted. When you re-upload, aiida-vasp finds the existing PotcarFileData
and link PotcarData
with it without making new PotcarFileData
. The problem is that there is no check of the PotcarFileData
's completeness.
To solve this, you need to manually delete all PotcarFileData
then re-upload your potcar family.
You can find all PotcarFileData
node using this in verdi shell
:
from aiida_vasp.data.potcar import PotcarFileData
q = QueryBuilder().append(PotcarFileData)
q.all()
However, I would suggest investigating why your storage is broken in the first place. Have you accidentally delete the loose folder of your storage?
Finally, the run_relax.py
is out-dated and may not be compatible with the latest code (aiida-vasp 4.0). It will be removed/updated in the future.
Thank you for clarifying this issue. By deleting those instances in the database I was able to reupload the files and get the simulations working again.
Yes I had naively delete some of the files at some point as I was having an issue with storage space when one of the other plugins I was developing started download cube files. Needless to say those take a lot of space and I was trying to clean that up but I do remember messing a lot of things up at that time. I'll make sure not to make the same mistake.
Hello everyone,
I am having an issue with submitting calculations with the aiida-vasp plugin. I don't remember what I originally did to make this happen but I believe it was something to do with the POTCARs. I also had issues with my local repository and that might be causing the issue. I might have been attempting to delete them to upload the newer potentials at some point and then I am unable to submit any jobs. I am currently on the most recent aiida-core and aiida-vasp versions.
I am simply attempting to run the run_relax.py example and have modified the script to load my codes that are saved in AiiDA. The report that gets generated from the VaspCalculation is:
{key}
does not exist.')a9b9d3678fc170d6b66fedf6a5d05471e44d5ff79d012aeb57ff577c320f3232
does not exist.Things I have attempted to remedy this is delete all previous instances of POTCARs in the group listing when typing
verdi group list --all
and deleting the appropriate PKs with the--delete-nodes
option. This was able to clear the POTCAR families from the group list as well as theverdi data vasp-potcar listfamilies
.I'm wondering if there is some kind of caching going on that is detecting the original files that were uploaded and causing issues? Any assistance with this would be appreciated. Thanks.
Nathan