<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>It may help to know:</p>
<p>What operating system and version are you using?</p>
<p>Assumption is that you are using the latest WIEN2k 24.1. If not,
what version are you using? For 24.1, have all patches [1] been
applied?</p>
<p>As given in you email below with:<br>
Check file compile.msg in the corresponding SRC_* directory
for the<br>
compilation log and more info on any compilation problem.</p>
<p>The compile.msg file is needed from one of those directories,
such as SRC_vecpratt, which may help with troubleshooting the
problem. The compile.msg file from the others might also be
needed if they have different error messages in them.</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>Kind Regards,</p>
Gavin<br>
WIEN2k user
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 3/27/2026 5:03 AM, Sambita Dutta
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGDb4gFpSW+hYWmdbVSmfW3Nskcu-Ji5cSvZj6GTeAQKcujp+w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<p><strong>Subject:</strong> Issues Encountered During WIEN2k
Installation and Compilation</p>
<p>Dear Sir,</p>
<p>I am writing to report issues encountered during the
installation and configuration of WIEN2k on my system. My name
is Sambita Dutta, and I am working under Prof. Abhijit Biswas
at the University of Calcutta.</p>
<p>During the installation process, I have encountered two major
issues:</p>
<ol>
<li>
<p><strong>Error After Nearly 90% Compilation Completion</strong><br>
During the compilation phase of WIEN2k, the process
progressed almost up to 90% completion in the site
configuration step. However, it terminated unexpectedly
with an error at that stage. This has halted the
installation process, and I am unable to complete the
compilation.<br>
<br>
I attempted to troubleshoot the issue by making a few
changes in the setup. Specifically, I verified and updated
the FFTW library paths by creating symbolic links to
ensure they were correctly recognized by the system. I
also checked the environment variables and compiler
settings during the site configuration step. However,
despite these modifications, the error still persisted and
the compilation could not be completed successfully. </p>
</li>
<li>
<p><strong>Repeated “foreach: No match” Error<br>
<span style="font-weight:normal">While proceeding with
the site configuration and compiler setup steps, the
installation repeatedly throws the error: </span></strong><em>“foreach:
No match”</em>. This error appears multiple times during
the configuration process and prevents further successful
progression of the setup</p>
</li>
</ol>
<p>I have been following the installation instructions and have
also sought assistance, but these issues persist despite
multiple attempts.</p>
<p>I will be attaching the last few lines of both error outputs
for your reference to help in diagnosing the problem more
accurately.</p>
<p>I would greatly appreciate your guidance on how to resolve
these issues.</p>
<p><br>
1. <strong>Error After Nearly 90% Compilation Completion
during site configuration step<br>
<br>
<br>
</strong>SRC_vecpratt/compile.msg:make[1]: *** [Makefile:97:
vecprattc] Error 1<br>
SRC_vecpratt/compile.msg:make: *** [Makefile:78: complex]
Error 2<br>
SRC_w2w/compile.msg:collect2: error: ld returned 1 exit status<br>
SRC_w2w/compile.msg:make: *** [Makefile:122: w2w] Error 1<br>
SRC_w2w/compile.msg:collect2: error: ld returned 1 exit status<br>
SRC_w2w/compile.msg:make: *** [Makefile:125: w2wc] Error 1<br>
SRC_wplot/compile.msg:collect2: error: ld returned 1 exit
status<br>
SRC_wplot/compile.msg:make: *** [Makefile:125: wplot] Error 1<br>
SRC_wplot/compile.msg:collect2: error: ld returned 1 exit
status<br>
SRC_wplot/compile.msg:make: *** [Makefile:129: wplotc] Error 1<br>
SRC_structeditor/SRC_ncmsymmetry/compile.msg:collect2: error:
ld returned 1 exit status<br>
SRC_structeditor/SRC_ncmsymmetry/compile.msg:make: ***
[Makefile:55: ncmsymmetry] Error 1<br>
<br>
<br>
Check file compile.msg in the corresponding SRC_*
directory for the<br>
compilation log and more info on any compilation problem.<br>
<br>
2.
<strong>Repeated “foreach: No match” Error <br>
</strong><br>
* Specify compilers
*<br>
***********************************************************************<br>
Recommended setting for f90 compiler: gfortran<br>
Current selection (for current default just press ENTER):
gcc<br>
<br>
Your compiler:<br>
<br>
Changing Compiler to gcc<br>
Recommended setting for C compiler: gcc<br>
Current selection (default): gcc<br>
<br>
Your compiler:<br>
<br>
Changing Compiler to gcc :<br>
Changing Compilers to gcc and gcc in:<br>
foreach: No match.<br>
student@DESKTOP-L0LJ7MS:~/WIEN2k$<br>
<br>
</p>
<p>Thank you for your time and support.</p>
<p>Best regards,<br>
Sambita Dutta<br>
University of Calcutta<span style="white-space: pre-wrap">
</span></p>
</div>
</blockquote>
</body>
</html>