-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BigDFT: common relax workchain excepts because of missing pseudo potential file #158
Comments
I can confirm that the files are in the pip package, but I wonder if the path is not missing an aiida-bigdft before BigDFT .. is /.virtualenvs/aiida/lib/python3.7/site-packages/aiida_bigdft/BigDFT/scripts/psppar/psppar.Si a file ? |
Actually, |
Ah, I see now. The pseudos are in the BigDFT package itself, and not the Python one. This is probably where the problem lies somewhere. I was looking at the # setup pseudopotentials if needed
if self.inputs.pseudos is not None:
for filename in self.inputs.pseudos:
pseudo_filedata = SinglefileData(
file=os.path.abspath(filename)).store()
local_copy_list.append(
(pseudo_filedata.uuid, pseudo_filedata.filename, pseudo_filedata.filename)) and that the pseudos are past in the inputs as a The problem actually lies in the input generator implementation. It uses aiida-common-workflows/aiida_common_workflows/workflows/relax/bigdft/generator.py Line 288 in 75cc23e
but they can then be relative as shown by the attributes of the
I think we can fix the immediate problem by calling |
Can confirm that normalizing the path in the input generator fixes the immediate problem, although there is another exception now. This one that comes from the
|
Thanks a lot for the analysis, I will have a look this afternoon and push a fix asap. I won't be able to attend the meeting though. |
I was trying to reproduce on a quantum mobile docker with 0.2.5 yesterday, but failed to trigger it using cli, what script/command did you use (maybe it was on the vm but I can't have it built, hostname issues are blocking) ? |
I added a full script in this issue. It includes the |
Thanks, indeed I can now reproduce on my docker build, if the command line is run from / (as done in your script, the only change I made on my attempts yesterday was to move to /home/max first). I will now check how to avoid this. |
Excepts in presubmit:
This is on Quantum Mobile with
aiida-bigdft==0.2.5
.Are these files included in the
MANIFEST.in
@adegomme ? This is necessary for them to be included in the distribution that is released on PyPI.The text was updated successfully, but these errors were encountered: