Coder Social home page Coder Social logo

M1 compatible? about amset HOT 5 CLOSED

hackingmaterials avatar hackingmaterials commented on June 16, 2024
M1 compatible?

from amset.

Comments (5)

utf avatar utf commented on June 16, 2024 1

I ran into this issue myself and got around it by installing numpy, h5py, numba, pyfftw, cmake through conda. To install boltztrap2 I had to run:

brew install gcc-11
CC=gcc-11 CXX=g++-11 pip install boltztrap2

And then finally amset was installed using pip install amset.

from amset.

janosh avatar janosh commented on June 16, 2024

Thanks, that worked!

I had to do brew install gcc@11.

from amset.

utf avatar utf commented on June 16, 2024

Cheers. I'll add it to the documentation page.

from amset.

zohansyahfatomi avatar zohansyahfatomi commented on June 16, 2024
Screenshot 2024-01-26 at 23 18 12

I plan to install bolztrap2 on m1 mac. but i got error. I have followed your tutorial. anyone know why?

from amset.

koushikpalnu avatar koushikpalnu commented on June 16, 2024

I have installed AMSET on Apple M2 successfully but when running the examples, I am getting the FileNotFound Error [Errno 2]. Keeping the POTCAR file is not solving the problem. Any suggestion on how to resolve this?

`/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-packages/numba/core/decorators.py:262: NumbaDeprecationWarning: numba.generated_jit is deprecated. Please see the documentation at: https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-generated-jit for more information and advice on a suitable replacement.
warnings.warn(msg, NumbaDeprecationWarning)

Loading settings from: settings.yaml

ERROR: amset exiting on 02 Feb 2024 at 17:03

Traceback (most recent call last):
File "/Users/koushik/anaconda3/envs/my_amset/bin/amset", line 8,
in
sys.exit(cli())
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/amset/tools/run.py", line 132, in run
runner = Runner.from_directory(
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/amset/core/run.py", line 388, in from_directory
return Runner.from_vasprun(input_file, settings)
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/amset/core/run.py", line 341, in from_vasprun
vasprun = Vasprun(vasprun, parse_projected_eigen=True)
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/pymatgen/io/vasp/outputs.py", line 296, in init
self.update_potcar_spec(parse_potcar_file)
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/pymatgen/io/vasp/outputs.py", line 1054, in
update_potcar_spec
if potcar := self.get_potcars(path):
File "/Users/koushik/anaconda3/envs/my_amset/lib/python3.10/site-
packages/pymatgen/io/vasp/outputs.py", line 1010, in get_potcars
f"{search_path}/{fn}" for fn in os.listdir(search_path) if
fn.startswith("POTCAR") and ".spec" not in fn
FileNotFoundError: [Errno 2] No such file or directory: ''`

from amset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.