<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">You may want to extract the original
WIEN2k 17.1 l2main.F file from SRC_lapw2 of WIEN2k_17.1.tar.
Apply l2main.patch to it. If you do that, the </font>addtinv.f
and timeinv1.f files have to be added to SRC_lapw2 and
lapw2Makefile.orig.patch must be applied as well.</p>
<p>If you go to:</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/gsabo/WIEN2k-Patches/tree/master/17.1">https://github.com/gsabo/WIEN2k-Patches/tree/master/17.1</a></p>
<p>Click on WIEN2k-Patches, click Clone and download button, click
Download ZIP, then WIEN2k-Patches-master.zip should contain a copy
of the patch files.</p>
<p>Usually, it is best to extract it on Linux with something like:</p>
<p>unzip WIEN2k-Patches-master.zip<br>
</p>
If you extract WIEN2k-Patches-master.zip on Windows and transfer the
files to the Linux system, it may be necessary to remove Windows
carriage returns that are added by running dos2unix on each file
first. For example,<br>
<br>
dos2unix addtinv.f<br>
<br>
Also, those error messages don't look that helpful. Look at the
compile.msg file in SRC_lapw2 in a text editor as it may contain
additional error messages telling why the lapw2.o file could not be
created.<br>
<br>
<div class="moz-cite-prefix">On 4/17/2018 5:14 AM, Dr. K. C. Bhamu
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJYci+QLJ1rppQT4fqu=f+fVWGTRj3tLJkqJSJXUGQ5PxxA1rg@mail.gmail.com">
<div dir="ltr">
<div>
<div>Dear Prof. Peter,<br>
<br>
</div>
I tried to compile the recent version of Wien2k with parallel
versions of ifort and icc of mkl version 2015, fftw-3.3.4. on
SGE server.<br>
<br>
<br>
</div>
I faced some different compilation error then I used the
subroutines and l2main.F module provided by you at here;<br>
<br>
<a
href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17049.html"
moz-do-not-send="true">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17049.html</a><br>
<br>
<div>
<div>
<div>
<div><br>
</div>
<div>Now, I am getting below error ( same error in
compile.msg):<br>
</div>
<div><br>
ifort: error #10236: File not found: 'lapw2.o'<br>
make[1]: *** [lapw2c_mpi] Error 1<br>
make[1]: Leaving directory
`/home/kcbhamu/WIEN2k_17.1/SRC_lapw2'<br>
make: *** [cp] Error 2<br>
Copying programs<br>
WARNING: no executable found in SRC_lapw2. Check
compile.msg in this directory<br>
<br>
<br>
<br>
done.<br>
<br>
Compile time errors (if any) were:<br>
SRC_lapw2/compile.msg:ifort: error #10236: File not
found: 'lapw2.o'<br>
SRC_lapw2/compile.msg:make[1]: *** [lapw2] Error 1<br>
SRC_lapw2/compile.msg:make: *** [real] Error 2<br>
SRC_lapw2/compile.msg:ifort: error #10236: File not
found: 'lapw2.o'<br>
SRC_lapw2/compile.msg:make[1]: *** [lapw2c] Error 1<br>
SRC_lapw2/compile.msg:make: *** [complex] Error 2<br>
SRC_lapw2/compile.msg:ifort: error #10236: File not
found: 'lapw2.o'<br>
SRC_lapw2/compile.msg:make[1]: *** [lapw2_mpi] Error 1<br>
SRC_lapw2/compile.msg:make: *** [rp] Error 2<br>
SRC_lapw2/compile.msg:ifort: error #10236: File not
found: 'lapw2.o'<br>
SRC_lapw2/compile.msg:make[1]: *** [lapw2c_mpi] Error 1<br>
SRC_lapw2/compile.msg:make: *** [cp] Error 2<br>
<br>
<br>
</div>
<div>I checked the forum but no solution is available.<br>
<br>
</div>
<div>Could you please have a look and suggest any
solution?<br>
<br>
<br>
</div>
<div>Kind regards<br>
<br>
</div>
<div>Bhamu<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>