[Wien] compiling error in lapw2

Gavin Abo gsabo at crimson.ua.edu
Tue Apr 17 13:48:22 CEST 2018


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 addtinv.f and timeinv1.f files have to be added to SRC_lapw2 and 
lapw2Makefile.orig.patch must be applied as well.

If you go to:

https://github.com/gsabo/WIEN2k-Patches/tree/master/17.1

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.

Usually, it is best to extract it on Linux with something like:

unzip WIEN2k-Patches-master.zip

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,

dos2unix addtinv.f

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.

On 4/17/2018 5:14 AM, Dr. K. C. Bhamu wrote:
> Dear Prof. Peter,
>
> 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.
>
>
> I faced some different compilation error then I used  the subroutines 
> and l2main.F module provided by you at here;
>
> https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17049.html
>
>
> Now, I am getting below error  ( same error in compile.msg):
>
> ifort: error #10236: File not found:  'lapw2.o'
> make[1]: *** [lapw2c_mpi] Error 1
> make[1]: Leaving directory `/home/kcbhamu/WIEN2k_17.1/SRC_lapw2'
> make: *** [cp] Error 2
> Copying programs
> WARNING: no executable found in SRC_lapw2. Check compile.msg in this 
> directory
>
>
>
> done.
>
> Compile time errors (if any) were:
> SRC_lapw2/compile.msg:ifort: error #10236: File not found:  'lapw2.o'
> SRC_lapw2/compile.msg:make[1]: *** [lapw2] Error 1
> SRC_lapw2/compile.msg:make: *** [real] Error 2
> SRC_lapw2/compile.msg:ifort: error #10236: File not found:  'lapw2.o'
> SRC_lapw2/compile.msg:make[1]: *** [lapw2c] Error 1
> SRC_lapw2/compile.msg:make: *** [complex] Error 2
> SRC_lapw2/compile.msg:ifort: error #10236: File not found:  'lapw2.o'
> SRC_lapw2/compile.msg:make[1]: *** [lapw2_mpi] Error 1
> SRC_lapw2/compile.msg:make: *** [rp] Error 2
> SRC_lapw2/compile.msg:ifort: error #10236: File not found:  'lapw2.o'
> SRC_lapw2/compile.msg:make[1]: *** [lapw2c_mpi] Error 1
> SRC_lapw2/compile.msg:make: *** [cp] Error 2
>
>
> I checked the forum but no solution is available.
>
> Could you please have a look and suggest any solution?
>
>
> Kind regards
>
> Bhamu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20180417/44874887/attachment-0001.html>


More information about the Wien mailing list