Skip to content
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

Error while reading data from the location folder #67

Open
archie1511 opened this issue Jun 15, 2024 · 1 comment
Open

Error while reading data from the location folder #67

archie1511 opened this issue Jun 15, 2024 · 1 comment

Comments

@archie1511
Copy link

I am using VASP outputs for calculating effective mass using EFFMASS code. While running EFFMASS, I am getting the following errors. I have already specified the correct location of the VASP output files needed for effective mass calculation.

File "/Library/Frameworks/Python.framework/Versions/3.12/bin/effmass", line 8, in
sys.exit(cli())
^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/effmass/cli.py", line 88, in cli
data = inputs.DataVasp(pathname+"/OUTCAR",pathname+"/PROCAR", ignore=int(ignore))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/effmass/inputs.py", line 420, in init
reciprocal_lattice = outcar.reciprocal_lattice_from_outcar(outcar_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/vasppy/outcar.py", line 15, in reciprocal_lattice_from_outcar
outcar = open(filename, "r").read()
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: \location\OUTCAR

@lucydot
Copy link
Owner

lucydot commented Jan 20, 2025

Hi @archie1511 - the error suggests there is no OUTCAR file in \location\OUTCAR. Could you give more details about how you are using effmass, including the location you are passing to the command line interface?

Best,

Lucy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants