<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>This seems to be because the names :FFTW_LIB and :FFTW_LIBNAME
are too similar on lines 157 and 158 in siteconfig_lapw.<br>
</p>
So when you "grep :FFTW_LIB WIEN2k_OPTIONS", it gives lib and fftw3
from both of them:<br>
<br>
username@computername:~/WIEN2k$ grep :FFTW_LIB WIEN2k_OPTIONS | cut
-d : -f 3-<br>
lib<br>
fftw3<br>
<br>
Adding a colon after the :FFTW_LIB looks like it might fix that:<br>
<br>
username@computername:~/WIEN2k$ grep :FFTW_LIB<font color="#ff0000">:</font>
WIEN2k_OPTIONS | cut -d : -f 3-<br>
lib<br>
<br>
So try changing line 157 in siteconfig_lapw from:<br>
<br>
<font face="Times New Roman">username@computername:~/WIEN2k$ sed -n
157p siteconfig_lapw<br>
set FFTW_LIB = `grep :FFTW_LIB $bin/WIEN2k_OPTIONS | cut -d :
-f 3-`<br>
<br>
to<br>
</font><br>
<font face="Times New Roman"> set FFTW_LIB = `grep :FFTW_LIB<font
color="#ff0000">:</font> $bin/WIEN2k_OPTIONS | cut -d : -f 3-`</font><br>
<br>
<div class="moz-cite-prefix">On 12/30/2017 1:39 AM, Arthur H.
Edwards wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1514623146.85899.1219444880.5CAC41C8@webmail.messagingengine.com">
<pre wrap="">I am attempting to compile Wien2k_17 on an amd linux machine with actual cores that include fpu's, and running ubuntu 16.04. I have compiled fftw3 and installed it in /usr/local/fftw_3.3.7/lib. I am setting the fftw parameters for compilation. I start with the following:
FFTWROOT: /usr/local/fftw_3.3.7/
FFTW_VERSION: FFTW3
FFTW_LIB: lib
FFTW_LIBNAME: fftw3
so that
FFTW_LIBS: -L/usr/local/fftw_3.3.7/lib -lfftw3
The problem arises when I save these settings, two menus above. When I then return to the parallel options, I find that FFTW_LIB: has changed to
FFTW-LIBS: -L/usr/local/fftw_3.3.7/lib fftw3 -lfftw3
Note that an additional fftw3 intervenes between the directory name and the -lfftw3. In fact, each time I save and return, another copy of fftw3 appears. This renders compilation of fftw3 impossible. I have had a slightly more than casual look at the siteconfig_lapw script, and I can't see where this is happening.
As I am completely stymied at this point, any help would be greatly appreciated.
Art Edwards
</pre>
</blockquote>
<br>
</body>
</html>