Is VASP ready to run on ARM processors?
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 6
- Joined: Wed Mar 25, 2009 5:07 pm
- License Nr.: 1009
Is VASP ready to run on ARM processors?
Dear Colleagues,
I have just bought a very powerful Apple Studio with an Apple M1 Ultra ARM architecture.
Before trying to install VASP on it, I was wondering whether VASP is compatible with this kind of chip architecture.
Any advice would highly be appreciated!
Please, forgive me if this topic has been discussed before but I did not find it in the forum.
Many thanks,
Leonardo
I have just bought a very powerful Apple Studio with an Apple M1 Ultra ARM architecture.
Before trying to install VASP on it, I was wondering whether VASP is compatible with this kind of chip architecture.
Any advice would highly be appreciated!
Please, forgive me if this topic has been discussed before but I did not find it in the forum.
Many thanks,
Leonardo
-
- Global Moderator
- Posts: 140
- Joined: Thu Nov 03, 2022 1:03 pm
Re: Is VASP ready to run on ARM processors?
Dear Leonardo,
I have installed VASP on my Macbook Pro 2021 (M1 Pro chip) and ran it without any issues. All external libraries were installed with macports, but I am sure that it will also work if these are compiled by hand.
The following libraries were linked during the installation:
1) HDF5
2) FFTW3
3) OPENBlas
4) SCALAPACK
5) Wannier90
For compilers I used gcc10 and mpich, and libraries had openmp support. I include the makefile.include that I used.
Cheers,
Pedro Melo
I have installed VASP on my Macbook Pro 2021 (M1 Pro chip) and ran it without any issues. All external libraries were installed with macports, but I am sure that it will also work if these are compiled by hand.
The following libraries were linked during the installation:
1) HDF5
2) FFTW3
3) OPENBlas
4) SCALAPACK
5) Wannier90
For compilers I used gcc10 and mpich, and libraries had openmp support. I include the makefile.include that I used.
Cheers,
Pedro Melo
You do not have the required permissions to view the files attached to this post.
-
- Newbie
- Posts: 6
- Joined: Wed Mar 25, 2009 5:07 pm
- License Nr.: 1009
Re: Is VASP ready to run on ARM processors?
Dear Pedro,
Many sincere thanks for this very positive and detailed reply to my question!
I really appreciate it because I've just bought the VASP 6 upgrade...
All my very best,
Leonardo
Many sincere thanks for this very positive and detailed reply to my question!
I really appreciate it because I've just bought the VASP 6 upgrade...
All my very best,
Leonardo
-
- Newbie
- Posts: 8
- Joined: Wed Nov 11, 2020 12:54 pm
Re: Is VASP ready to run on ARM processors?
I've installed VASP on M2 MacBook Pro. I've followed the guideline given on GitHub https://gist.github.com/janosh/a484f384 ... 40e99455c0 , compilation was done with gcc-13.
Everything was good till I started calculations. It's unbelievable slow, much slower than on my old MacBook with intel processor. Has anyone met this problem? If yes, maybe you have some suggestions what to do?
cheers
wojtek
Everything was good till I started calculations. It's unbelievable slow, much slower than on my old MacBook with intel processor. Has anyone met this problem? If yes, maybe you have some suggestions what to do?
cheers
wojtek
-
- Global Moderator
- Posts: 140
- Joined: Thu Nov 03, 2022 1:03 pm
Re: Is VASP ready to run on ARM processors?
Dear wojtek,
Did you set OMP_NUM_THREADS=1 before you started your calculation?
Kind regards,
Pedro Melo
Did you set OMP_NUM_THREADS=1 before you started your calculation?
Kind regards,
Pedro Melo
-
- Newbie
- Posts: 8
- Joined: Wed Nov 11, 2020 12:54 pm
Re: Is VASP ready to run on ARM processors?
Dear Pedro,
No, I haven't.
cheers
wojtek
No, I haven't.
cheers
wojtek
-
- Global Moderator
- Posts: 140
- Joined: Thu Nov 03, 2022 1:03 pm
Re: Is VASP ready to run on ARM processors?
Dear wojtek,
I would suggest that you try to run VASP after running
$ export OMP_NUM_THREADS=1
in the terminal. From my experience not doing so can slow down calculations.
Best,
Pedro Melo
I would suggest that you try to run VASP after running
$ export OMP_NUM_THREADS=1
in the terminal. From my experience not doing so can slow down calculations.
Best,
Pedro Melo
-
- Newbie
- Posts: 8
- Joined: Wed Nov 11, 2020 12:54 pm
Re: Is VASP ready to run on ARM processors?
Dear Pedro,
thank you so much, it significantly speeded up the calculations.
cheers
wojtek
thank you so much, it significantly speeded up the calculations.
cheers
wojtek