[Wien] compile error after applying patches_w2k_ver21.1

Gavin Abo gabo13279 at gmail.com
Mon Jan 17 14:17:15 CET 2022


If you go to [1], find for example "Documentation for the 5.1 release 
(PDF); optimization flags", click on optimization flags, then click on 
"3.10 Options That Control Optimization".  Then, it should take you to [2].

Under -O2, there is "Please note the warning under -fgcse about invoking 
-O2 on programs that use computed gotos."  However, I did not go check 
the -fgcse note that it refers to.

[1] https://gcc.gnu.org/wiki/GFortran
[2] 
https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/Optimize-Options.html#Optimize-Options
On 1/17/2022 6:02 AM, Laurence Marks wrote:
> I think you have -"Zero"2 whereas you should have -"Ow"2 (letter 
> before P).
>
> ---
> Professor Laurence Marks
> Department of Materials Science and Engineering
> Northwestern University
> www.numis.northwestern.edu <http://www.numis.northwestern.edu>
> "Research is to see what everybody else has seen, and to think what 
> nobody else has thought" Albert Szent-Györgyi
>
> On Mon, Jan 17, 2022, 4:03 AM Ashwani Kumar <ashwani.ism at gmail.com> wrote:
>
>     Hi,
>       Program "lapw2 -qtl" crashed during DOS calculation for 2x2x2
>     supercell of ABO3. Searched W2K mailing list for the solution.
>     Found patches for lapw2 program and others. Patch for aim, nn
>     applied and programe re-compiled without any error.  Patch for
>     lapw2 applied but program does not compile successfully.
>     ******error compile.msg lapw2*****
>     SRC_lapw2/compile.msg:gfortran: error: unrecognized command line
>     option ‘-02’
>     SRC_lapw2/compile.msg:make[1]: *** [Makefile:259: modules.o] Error 1
>     SRC_lapw2/compile.msg:make: *** [Makefile:166: rp] Error 2
>     SRC_lapw2/compile.msg:gfortran: error: unrecognized command line
>     option ‘-02’
>     SRC_lapw2/compile.msg:make[1]: *** [Makefile:259: modules.o] Error 1
>     SRC_lapw2/compile.msg:make: *** [Makefile:170: cp] Error 2
>     **********************
>     Wien2k version 21.1 was installed without any compilation error
>     during May-2021. Since then everything worked fine until this
>     recent error. And now several programs shows compile time errors
>     (file attached for refer.) after applying patches. What should i
>     need to do to get rid of the compile time error.
>
>     Thanks,
>     A. Kumar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20220117/76d0c16e/attachment.htm>


More information about the Wien mailing list