<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>A user recently brought to my attention that the executable files
(such as hex2rhomb) in SRC_trig of WIEN2k 24.1 were not compiling
when using ifx.</p>
<p>There is now a Makefile.orig.patch at [1] that should fix that.
It just needs applied using "patch -b Makefile.orig
Makefile.orig.patch" while in the SRC_trig directory with the
patch file present before running ./siteconfig for the first time
during installation.</p>
<p>If the patch wasn't applied before the first run of ./siteconfig,
an additional step 3 below is needed:</p>
<p><u>Step 1: Download the patch file</u></p>
<p>username@computername:~$ cd $WIENROOT/SRC_trig<br>
username@computername:~/WIEN2k/SRC_trig$ wget
<a class="moz-txt-link-freetext" href="https://github.com/gsabo/WIEN2k-Patches/raw/refs/heads/master/24.1/Makefile.orig.patch">https://github.com/gsabo/WIEN2k-Patches/raw/refs/heads/master/24.1/Makefile.orig.patch</a></p>
<p><u>Step 2: Apply the patch</u></p>
<p>username@computername:~/WIEN2k/SRC_trig$ patch -b Makefile.orig
Makefile.orig.patch</p>
<p><u>Step 3: Create new SRC_trig/Makefile (from
SRC_trig/Makefile.orig) using ./siteconfig</u></p>
<p>username@computername:~/WIEN2k/SRC_trig$ cd $WIENROOT<br>
username@computername:~/WIEN2k$ ./siteconfig</p>
<p>Select "C Specify Compiler" and use ifx again for the Fortran
compiler.</p>
<p>SRC_trig should be listed in the message on the screen which
indicates creation of the new SRC_trig/Makefile.</p>
<p><u>Step 4: Compile</u></p>
<p>If running ./siteconfig for the first time, select "A Compile all
programs" when coming across it during the installation. If after
the first time, while still in ./siteconfig (or run ./siteconfig
again), select "R Compile/Recompile". Then, select "A Compile all
programs".</p>
<p>[1] <a class="moz-txt-link-freetext" href="https://github.com/gsabo/WIEN2k-Patches/tree/master/24.1">https://github.com/gsabo/WIEN2k-Patches/tree/master/24.1</a></p>
<p>Best Regards,</p>
Gavin<br>
WIEN2k user
</body>
</html>