[Wien] Problem with make files in SRC_trig and SRC_w2w

Gavin Abo gabo13279 at gmail.com
Sat Apr 25 13:55:29 CEST 2026


You may try my Makefile.orig.patch and make.sys.patch that have 
available and used by some users since about August 2025 at [1].

[1] 
https://github.com/gsabo/WIEN2k-Patches/blob/master/24.1/Makefile.orig.patch

Kind Regards,
Gavin
WIEN2k user

On 4/25/2026 1:15 AM, Fecher, Gerhard wrote:
> To whom it concerns,
> I did not find out fast whether someone else recognized that already and fixed it.
> I also did not check if other makefiles are also effected.
> It concerns the latest Wien2k version, but maybe also older ones.
>
> When ifx is used, the makefile in SRC_trig (and similar SRC_w2w/makefile.sys) results during compilation in the error message.
>          Makefile:33: *** unknown compiler ‘ifx’, please specify variables manually.  Stop.
> Reason is, that the makefiles do not know about ifx but only what ifort or gfortran are
> (lines 28 to 34 of the SRC_trig/makefile):
>
> ifneq "$(findstring gfortran,$(FC))" ""
> MODOPT ?= -J
> else ifneq "$(findstring ifort,$(FC))" ""
> MODOPT ?= -module
> else ifndef MODOPT
> $(error unknown compiler ‘$(FC)’, please specify variables manually)
> endif
>
> There are indeed various options to heal that.
> If ifort will not longer be used because it is not longer available for free and replaced by ifx,
> then one can simply replace ifort by ifx in line 30,
> otherwise one can add two lines for ifx.
> (or fix MODOPT to the intel case before the queries)
> However to fix these queries to particular compilers will prevent that other
> compilers are used, e.g. the amd compiler set, or any other.
> Finally, if one doesn't need anything from these directories, one can leave it like it is.
>
> Ciao
> Gerhard
>
> DEEP THOUGHT in D. Adams; Hitchhikers Guide to the Galaxy:
> "I think the problem, to be quite honest with you,
> is that you have never actually known what the question is."
>
> ====================================
> Dr. Gerhard H. Fecher
> Institut of Physics
> Johannes Gutenberg - University
> 55099 Mainz
> ________________________________________
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


More information about the Wien mailing list