<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Times New Roman">For "make" (serial wannier90.x and
parallel postw90.x versions), it looks like you need mpi installed.
So try "make wannier" instead to build only the serial
wannier90.x.</font></p>
<p><font face="Times New Roman">Where did you run the "cp
./config/make.inc.ifort ./make.inc"? Maybe it got executed in a
different directory or something else happened, because the
error says it cannot find the make.inc file:</font></p>
<p><font face="Times New Roman">../Makefile.2:5: ../../make.inc: No
such file or directory</font></p>
<p><font face="Times New Roman">I tried it, and it seems to work fine
for me:<br>
</font></p>
<font face="Times New Roman">username@computername:~/Desktop$ cd ~<br>
username@computername:~$ wget
<a class="moz-txt-link-freetext" href="http://www.wannier.org/code/wannier90-2.1.0.tar.gz">http://www.wannier.org/code/wannier90-2.1.0.tar.gz</a><br>
...<br>
username@computername:~$ tar xvf wannier90-2.1.0.tar.gz <br>
...<br>
username@computername:~$ cd wannier90-2.1.0/<br>
<a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/wannier90-2.1.0$">username@computername:~/wannier90-2.1.0$</a> cp
./config/make.inc.ifort ./make.inc</font><br>
<font face="Times New Roman"><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/wannier90-2.1.0$">username@computername:~/wannier90-2.1.0$</a>
make wannier<br>
(cd ./src/obj && make -f ../Makefile.2 serialobjs)<br>
make[1]: Entering directory
`/home/username/wannier90-2.1.0/src/obj'<br>
ifort -O2 -c ../constants.F90<br>
ifort -O2 -c ../io.F90<br>
ifort -O2 -c ../utility.F90<br>
ifort -O2 -c ../parameters.F90<br>
ifort -O2 -c ../ws_distance.F90<br>
ifort -O2 -c ../hamiltonian.F90<br>
ifort -O2 -c ../sitesym.F90<br>
ifort -O2 -c ../overlap.F90<br>
ifort -O2 -c ../kmesh.F90<br>
ifort -O2 -c ../disentangle.F90<br>
ifort -O2 -c ../wannierise.F90<br>
ifort -O2 -c ../plot.F90<br>
ifort -O2 -c ../transport.F90<br>
make[1]: Leaving directory
`/home/username/wannier90-2.1.0/src/obj'<br>
(cd ./src/obj && make -f ../Makefile.2 wannier)<br>
make[1]: Entering directory
`/home/username/wannier90-2.1.0/src/obj'<br>
ifort ../wannier_prog.F90 -O2 constants.o io.o utility.o
parameters.o hamiltonian.o overlap.o kmesh.o disentangle.o
ws_distance.o wannierise.o plot.o transport.o sitesym.o
-L/opt/intel/mkl/lib/intel64 -lmkl_core -lmkl_intel_lp64
-lmkl_sequential -lpthread -o ../../wannier90.x<br>
make[1]: Leaving directory
`/home/username/wannier90-2.1.0/src/obj'<br>
<br>
I do have the "</font><font face="Times New Roman">../Makefile.2:5:
../../make.inc: No such file or directory" error if I
intentionally remove the make.inc file created previously by the
"cp ./config/make.inc.ifort ./make.inc" command:<br>
<br>
</font><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/wannier90-2.1.0$">username@computername:~/wannier90-2.1.0$</a> rm make.inc<br>
<a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/wannier90-2.1.0$">username@computername:~/wannier90-2.1.0$</a> make wannier<br>
(cd ./src/obj && make -f ../Makefile.2 serialobjs)<br>
make[1]: Entering directory `/home/username/wannier90-2.1.0/src/obj'<br>
../Makefile.2:5: ../../make.inc: No such file or directory<br>
make[1]: *** No rule to make target `../../make.inc'. Stop.<br>
make[1]: Leaving directory `/home/username/wannier90-2.1.0/src/obj'<br>
make: *** [serialobjs] Error 2<br>
<br>
<div class="moz-cite-prefix">On 3/5/2018 3:34 AM, Jyoti Thakur
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOQ62=bAka6yuBBdj4uS0PUBaCngA5Zkku=u9QV9P2otTx6Wrg@mail.gmail.com">
<div dir="ltr">
<div>
<div>
<div>Dear all WIEN2k users,<br>
<br>
</div>
We are trying to install Wannier90 in Wien17 version of
Wien2k. We have followed the steps of README.<br>
</div>
In Our setup, We have ifort compiler & used serial
version of Wien2k.<br>
</div>
<div>and we have also not installed MPI.<br>
</div>
<div>
<div>
<div>
<div><br>
<br>
</div>
<div>We followed the steps as:<br>
<br>
cp ./config/make.inc.ifort ./make.inc<br>
make<br>
<br>
<b>But I got error as:</b><br>
<br>
(cd ./src/obj && make -f ../Makefile.2
serialobjs)<br>
make[1]: Entering directory
'/home/manish/program/wannier90-2.1.0/src/obj'<br>
../Makefile.2:5: ../../make.inc: No such file or
directory<br>
make[1]: *** No rule to make target '../../make.inc'.
Stop.<br>
make[1]: Leaving directory
'/home/manish/program/wannier90-2.1.0/src/obj'<br>
Makefile:16: recipe for target 'serialobjs' failed<br>
<b>make: *** [serialobjs] Error 2</b><br>
<br>
</div>
<div>Please help us to resolve this problem.<br>
</div>
<div>Thanks in advance!!!!<br>
</div>
<div><br>
<br>
<br>
<br>
<br>
<br>
<br clear="all">
<div>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>Warm Regards</div>
<div>---------------<br>
Jyoti Thakur<br>
</div>
<div>National Post-Doctoral
Fellow,<br>
</div>
<div>Department of Physics
& Astrophysics,<br>
</div>
University of Delhi<br>
New Delhi-110007, (New
Delhi) INDIA<br>
<br>
</div>
<div><i><b>always think +ve.</b></i><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>