abinit / abinit

The official github mirror of the Abinit repository. We welcome bug fixes and improvements. Note that most of the active developments are hosted on our https://gitlab.abinit.org/ server. Before embarking on making significant changes, please contact the Abinit group.

Home Page:https://www.abinit.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Abinit installation problem

lolloso00 opened this issue · comments

Hi, I'm trying to install abinit on my MacBook air M2, I'm following the procedure indicated on https://docs.abinit.org/INSTALL_MacOS/ with home-brew. First of all when I run
brew install abinit
I obtain the following error:
Error: abinit: Failed to download resource "wannier90"
curl: (7) Failed to connect to forge.abinit.org port 80 after 53 ms: Connection refused
So I tried to install abinit without wannier90 by running
brew install abinit --without-wannier90
and I also get the following error
`m_gwls_GenerateEpsilon.F90:182:35:

182 | complex(dpc), intent(out) :: alpha(nseeds,nseeds,kmax)
| 1
Error: Variable 'nseeds' cannot appear in the expression at (1)
m_gwls_GenerateEpsilon.F90:183:35:

183 | complex(dpc), intent(out) :: beta (nseeds,nseeds,kmax)
| 1
Error: Variable 'nseeds' cannot appear in the expression at (1)
make[3]: *** [m_gwls_GenerateEpsilon.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
`
How can I solve the problem?

I am having this exact same issue with abinit 9.8.4 on Arch Linux x86-64, with OpenBLAS 0.3.23, FFTW 3.3.10, libxc 5.2.3, MPI enabled. My configuration also does not include wannier90.

There was a response here about how abinit 9.8.4 does not support gcc 13, but the latest version (9.10.1 as of writing) does compile correctly.

Hi,

Error: abinit: Failed to download resource "wannier90"
fixed