Compiling Abinit with Wannier90 for Z2Pack

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
ysaito
Posts: 1
Joined: Sat Nov 11, 2017 8:01 pm

Compiling Abinit with Wannier90 for Z2Pack

Post by ysaito » Fri Nov 24, 2017 5:10 am

Hello all,

I am trying to use the Z2Pack code (the details can be found here - http://z2pack.ethz.ch/doc/2.1/index.html) and in order to do so, it requires Wannier90 installed with Abinit. Since Z2Pack requires a modified Wannier90 file, I copied this modified version in ~/.abinit/tarballs, and replaced all the instances of old checksum in ~/abinit-8.4.4/fallbacks/configure with new checksum of the modified version. However, after compiling with a configuration file and using "prtwant 2" in one of the input files, I get the following error:

--- !ERROR
src_file: chkinp.F90
src_line: 2515
mpi_rank: 0
message: |
prtwant==2 is only relevant if wannier90 library is linked
Action: check compilation options

Here is my .ac file and I have attached the config.log file as well.

prefix="/usr/local"
enable_mpi="yes"
enable_mpi_io="yes"
with_mpi_prefix="/usr"
#with_trio_flavor="netcdf+etsf_io"
with_netcdf_incs="-I/usr/include"
with_netcdf_libs="-L/usr/lib -lnetcdf -lnetcdff"
with_fft_flavor="fftw3"
with_fft_incs="-I/usr/include/"
with_fft_libs="-L/usr/lib/x86-64-linux-gnu/ -lfftw3 -lfftw3f"
with_linalg_flavor="atlas"
with_linalg_libs="-L/usr/lib -llapack -lf77blas -lcblas -latlas"
with_dft_flavor="atompaw+bigdft+libxc"
enable_wannier90="yes"
enable_gw_dpc="yes"

I am not sure what went exactly wrong with the compilation process, and I was hoping that someone could provide assistance on the matter.

Thank you
Attachments
config.log
(154.3 KiB) Downloaded 297 times

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Compiling Abinit with Wannier90 for Z2Pack

Post by pouillon » Mon Feb 19, 2018 2:15 pm

You should use the option:

Code: Select all

with_dft_flavor=libxc+wannier90
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Alexander89
Posts: 2
Joined: Tue Mar 06, 2018 4:58 pm

Re: Compiling Abinit with Wannier90 for Z2Pack

Post by Alexander89 » Tue Mar 06, 2018 5:22 pm

Hello all,

I am using Abinit 8.6.3 and I am also having the same problem with wannier90 when I set prtwant==2. As mentioned here, I tried the option: "with_dft_flavor=libxc+wannier90" but this does not solve the problem. Could anyone describe step by step what has to be done?

Alexander

Locked