Testing EPW-4.1 installation
Posted: Sat Aug 12, 2017 9:22 pm
Dear EPW developers and users,
Since a few months we have a simple graphical interface for QE6.0 for mac, windows & linux and provide (openMP-parallelized) binaries with the ADF Modeling Suite.
Because there was interest in EPW, I've asked our developers if they could try to compile with ph and epw include on those platforms.
That all seemed to work OK, when making the following changes
---For Windows---
(for main PW.x - see changes here: https://www.scm.com/support/downloads/g ... -espresso/)
additionally:
cd wannier90-2.0.1
cp config/make.sys.gfort make.sys
vim make.sys # change the LIBDIR at the bottom to point to /c/64/software/qe-6.0/LAPACK
make all
cd ..
make epw
---MacOS---
vi install/make_wannier90.inc # , replace LIBS with LIBS = /opt/intel/compilers_and_libraries_2017.1.126/mac/mkl/lib/libmkl_blas95_ilp64.a /opt/intel/compilers_and_libraries_2017.1.126/mac/mkl/lib/libmkl_lapack95_ilp64.a -L/opt/intel/compilers_and_libraries_2017.1.126/mac/mkl/lib -Wl,-rpath,/opt/intel/compilers_and_libraries_2017.1.126/mac/mkl/lib -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -ldl
make epw
--Linux--
vi install/make_wannier90.inc # change blas to blas95, and lapack to lapack95
make epw
I tested a little bit on Windows a few weeks back with the epw_base in the test-suite (http://qe-forge.org/gf/download/frsrele ... ite.tar.gz) but couldn't work my way to why the pp.py script would not work (I understand it corresponds to the B-doped diamond tutorial).
I'm now trying on a macbook by just running from the cmd line
pw.x <scf.in > scf.out
ph.x <ph.in > ph.out
that all works fine
then I copy the diam.dyn? and _ph0/diam.dvscf and _ph0/diam.phsave and diam.q_? to /save/
and run scf_epw.in and nscf_epw.in.
Those also run fine.
Contents of save and diam.save:
Fedors-MacBook-Pro:epw_base fedor$ ls -l save
total 18448
-rw-r--r-- 1 fedor staff 5308416 Aug 12 22:25 diam.dvscf
-rw-r--r-- 1 fedor staff 310 Aug 12 22:23 diam.dyn0
-rw-r--r-- 1 fedor staff 2855 Aug 12 22:23 diam.dyn1
-rw-r--r-- 1 fedor staff 10338 Aug 12 22:23 diam.dyn2
-rw-r--r-- 1 fedor staff 8200 Aug 12 22:23 diam.dyn3
-rw-r--r-- 1 fedor staff 14614 Aug 12 22:23 diam.dyn4
-rw-r--r-- 1 fedor staff 8207 Aug 12 22:25 diam.nnkp
drwxr-xr-x 28 fedor staff 952 Aug 12 22:25 diam.phsave
drwxr-xr-x 5 fedor staff 170 Aug 12 22:25 diam.q_2
drwxr-xr-x 5 fedor staff 170 Aug 12 22:25 diam.q_3
drwxr-xr-x 5 fedor staff 170 Aug 12 22:25 diam.q_4
-rw-r--r-- 1 fedor staff 4071168 Aug 12 22:25 diam.wfc
-rw-r--r-- 1 fedor staff 179 Aug 12 22:25 diam.win
Fedors-MacBook-Pro:epw_base fedor$ ls -l diam.save/
total 624
-rw-r--r-- 1 fedor staff 78562 Aug 12 22:17 C_3.98148.UPF
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00001
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00002
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00003
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00004
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00005
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00006
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00007
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00008
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00009
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00010
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00011
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00012
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00013
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00014
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00015
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00016
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00017
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00018
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00019
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00020
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00021
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00022
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00023
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00024
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00025
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00026
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00027
-rw-r--r-- 1 fedor staff 113796 Aug 12 22:17 charge-density.dat
-rw-r--r-- 1 fedor staff 65389 Aug 12 22:17 data-file.xml
-rw-r--r-- 1 fedor staff 56251 Aug 12 22:17 gvectors.dat
now I run
epw.x < epw.in > epw.out
However, this ends with an error:
Running Wannier90
Error allocating fermi_energy_read in param_read
Error: examine the output/error file for details
Could that have to do with replacing the BLAS/LAPACK Libs in Wannier90? Or did I just not put the right files in the right place for the EPW calculations?
Thanks in advance for your insight and help!
-Fedor
Since a few months we have a simple graphical interface for QE6.0 for mac, windows & linux and provide (openMP-parallelized) binaries with the ADF Modeling Suite.
Because there was interest in EPW, I've asked our developers if they could try to compile with ph and epw include on those platforms.
That all seemed to work OK, when making the following changes
---For Windows---
(for main PW.x - see changes here: https://www.scm.com/support/downloads/g ... -espresso/)
additionally:
cd wannier90-2.0.1
cp config/make.sys.gfort make.sys
vim make.sys # change the LIBDIR at the bottom to point to /c/64/software/qe-6.0/LAPACK
make all
cd ..
make epw
---MacOS---
vi install/make_wannier90.inc # , replace LIBS with LIBS = /opt/intel/compilers_and_libraries_2017.1.126/mac/mkl/lib/libmkl_blas95_ilp64.a /opt/intel/compilers_and_libraries_2017.1.126/mac/mkl/lib/libmkl_lapack95_ilp64.a -L/opt/intel/compilers_and_libraries_2017.1.126/mac/mkl/lib -Wl,-rpath,/opt/intel/compilers_and_libraries_2017.1.126/mac/mkl/lib -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -ldl
make epw
--Linux--
vi install/make_wannier90.inc # change blas to blas95, and lapack to lapack95
make epw
I tested a little bit on Windows a few weeks back with the epw_base in the test-suite (http://qe-forge.org/gf/download/frsrele ... ite.tar.gz) but couldn't work my way to why the pp.py script would not work (I understand it corresponds to the B-doped diamond tutorial).
I'm now trying on a macbook by just running from the cmd line
pw.x <scf.in > scf.out
ph.x <ph.in > ph.out
that all works fine
then I copy the diam.dyn? and _ph0/diam.dvscf and _ph0/diam.phsave and diam.q_? to /save/
and run scf_epw.in and nscf_epw.in.
Those also run fine.
Contents of save and diam.save:
Fedors-MacBook-Pro:epw_base fedor$ ls -l save
total 18448
-rw-r--r-- 1 fedor staff 5308416 Aug 12 22:25 diam.dvscf
-rw-r--r-- 1 fedor staff 310 Aug 12 22:23 diam.dyn0
-rw-r--r-- 1 fedor staff 2855 Aug 12 22:23 diam.dyn1
-rw-r--r-- 1 fedor staff 10338 Aug 12 22:23 diam.dyn2
-rw-r--r-- 1 fedor staff 8200 Aug 12 22:23 diam.dyn3
-rw-r--r-- 1 fedor staff 14614 Aug 12 22:23 diam.dyn4
-rw-r--r-- 1 fedor staff 8207 Aug 12 22:25 diam.nnkp
drwxr-xr-x 28 fedor staff 952 Aug 12 22:25 diam.phsave
drwxr-xr-x 5 fedor staff 170 Aug 12 22:25 diam.q_2
drwxr-xr-x 5 fedor staff 170 Aug 12 22:25 diam.q_3
drwxr-xr-x 5 fedor staff 170 Aug 12 22:25 diam.q_4
-rw-r--r-- 1 fedor staff 4071168 Aug 12 22:25 diam.wfc
-rw-r--r-- 1 fedor staff 179 Aug 12 22:25 diam.win
Fedors-MacBook-Pro:epw_base fedor$ ls -l diam.save/
total 624
-rw-r--r-- 1 fedor staff 78562 Aug 12 22:17 C_3.98148.UPF
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00001
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00002
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00003
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00004
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00005
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00006
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00007
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00008
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00009
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00010
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00011
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00012
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00013
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00014
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00015
drwxr-xr-x 5 fedor staff 170 Aug 12 22:05 K00016
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00017
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00018
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00019
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00020
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00021
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00022
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00023
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00024
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00025
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00026
drwxr-xr-x 5 fedor staff 170 Aug 12 22:17 K00027
-rw-r--r-- 1 fedor staff 113796 Aug 12 22:17 charge-density.dat
-rw-r--r-- 1 fedor staff 65389 Aug 12 22:17 data-file.xml
-rw-r--r-- 1 fedor staff 56251 Aug 12 22:17 gvectors.dat
now I run
epw.x < epw.in > epw.out
However, this ends with an error:
Running Wannier90
Error allocating fermi_energy_read in param_read
Error: examine the output/error file for details
Could that have to do with replacing the BLAS/LAPACK Libs in Wannier90? Or did I just not put the right files in the right place for the EPW calculations?
Thanks in advance for your insight and help!
-Fedor