<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Elias, I have tried out the current development version and it reports no error, except it asked for case.inwfup and dn, which I assume can be copied from case.inwf. So do you think the current wien2k package should be updated with this wien2wannier version?</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Wien <wien-bounces@zeus.theochem.tuwien.ac.at> on behalf of Elias Assmann <elias.assmann@gmail.com><br>
<b>Sent:</b> Friday, July 1, 2016 12:29 AM<br>
<b>To:</b> A Mailing list for WIEN2k users<br>
<b>Subject:</b> Re: [Wien] Problem with x w2w -so -up (wien2wannier)</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Dear Wen Fong Goh,<br>
<br>
Sorry for the delayed reply, and thank you for the report both here<br>
and on GitHub. Since this problem has become a recurring issue, I will<br>
continue the discussion here, where more users are likely to see it.<br>
<br>
On 06/01/2016 01:43 AM, Wen Fong Goh wrote:<br>
> Hi, I know this issue has been floating around in the mailing list, but<br>
> I still couldn't find the solution. When I execute x w2w -up so, I got<br>
> the following error:<br>
> <br>
> forrtl: severe (174): SIGSEGV, segmentation fault occurred<br>
> Image PC Routine Line <br>
> Source <br>
> w2wc 00000000004EED15 Unknown Unknown Unknown<br>
> w2wc 00000000004ECAD7 Unknown Unknown Unknown<br>
> w2wc 00000000004946C4 Unknown Unknown Unknown<br>
> w2wc 00000000004944D6 Unknown Unknown Unknown<br>
> w2wc 000000000043FED6 Unknown Unknown Unknown<br>
> w2wc 0000000000443AF0 Unknown Unknown Unknown<br>
> libpthread.so.0 00002AAAAEE31850 Unknown Unknown Unknown<br>
> w2wc 000000000046709D Unknown Unknown Unknown<br>
> w2wc 000000000042B8B3 read_vec_ 52 <br>
> read_vec.f<br>
<br>
On 06/01/2016 11:57 PM, Wen Fong Goh wrote:<br>
> I don't think that's the case, all of the other work fine with spin<br>
> orbit coupling. What bothers me is that, for the same material, it works<br>
> well with cubic structure, but when I change to tetragonal, it fails.<br>
<br>
I am not sure if I reproduced your error. I do get an error in the<br>
situation you describe, but also in the cubic case. The messages are<br>
different from what you see as well, but that might be compiler-related.<br>
<br>
In the tetragonal case, I see<br>
<br>
*** Error in `w2wc': free(): invalid next size (normal):<br>
0x000000000235ed90 ***<br>
forrtl: severe (67): input statement requires too much data, unit 9,<br>
file W-14.2.vectorsoup<br>
Image PC Routine Line<br>
Source<br>
<br>
Stack trace terminated abnormally.<br>
<br>
In the cubic case instead it is<br>
<br>
*** Error in `w2wc': free(): invalid next size (normal):<br>
0x000000000257c490 ***<br>
*** Error in `w2wc': free(): invalid next size (normal):<br>
0x00000000025805f0 ***<br>
Abort<br>
<br>
Anyway, those errors happen with the version of wien2wannier included<br>
in Wien2k 14.2, which I assume you are using. With the current<br>
development version, I get no error.<br>
<br>
Could you try the development version and report back if the error is<br>
fixed? If so, could you also check if the results make sense? I only<br>
tested if w2wc runs without error.<br>
<br>
To do this, go to <a href="https://github.com/wien2wannier/wien2wannier" id="LPlnk55287">
https://github.com/wien2wannier/wien2wannier</a> and
<div id="LPBorder_GT_14690869843800.6558559030522277" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14690869843700.34583480047825743" cellspacing="0" style="width: 90%; position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top-width: 1px; border-top-style: dotted; border-top-color: rgb(200, 200, 200); border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(200, 200, 200); background-color: rgb(255, 255, 255);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="ImageCell_14690869843730.3389633957236613" colspan="1" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;">
<div id="LPImageContainer_14690869843730.07803790745158601" style="height: 250px; position: relative; margin: auto; display: table; width: 250px; background-color: rgb(255, 255, 255);">
<a id="LPImageAnchor_14690869843740.4875781868536557" href="https://github.com/wien2wannier/wien2wannier" target="_blank" style="display: table-cell; text-align: center;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14690869843740.3026820569077855" width="250" height="250" style="display: inline-block; max-width: 250px; max-height: 250px; height: 250px; width: 250px; border-width: 0px; vertical-align: bottom;" src="https://avatars1.githubusercontent.com/u/15891682?v=3&s=400"></a></div>
</td>
<td id="TextCell_14690869843760.18766121326525131" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14690869843760.318991715556014"></div>
<div id="LPTitle_14690869843760.23637618556768758" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14690869843770.3276038946897468" href="https://github.com/wien2wannier/wien2wannier" target="_blank" style="text-decoration: none;">GitHub - wien2wannier/wien2wannier: from linearized ...</a></div>
<div id="LPMetadata_14690869843770.45755632692035064" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
github.com</div>
<div id="LPDescription_14690869843780.44154093483272283" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
wien2wannier - from linearized augmented plane waves to maximally localized Wannier functions</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
clone or download the repository (there is a green button for that).<br>
When you have that, go to the wien2wannier directory<br>
<br>
$ cd wien2wannier-master<br>
<br>
and make and unpack a “dist” tarball<br>
<br>
$ make wien-dist<br>
$ tar -xvf wien2wannier-*-wiendist.tar.gz<br>
<br>
Now I suggest you copy your original Wien2k directory (below, `wien2k')<br>
and replace it with a copy. This should ensure that the new<br>
executables will be in your path.<br>
<br>
$ cp -r wien2k wien2k-new-w2w<br>
$ mv wien2k wien2k-old<br>
$ ln -s wien2k-new-w2w wien2k<br>
$ cd wien2k-new-w2w<br>
<br>
There, overwrite the wien2wannier files and recompile<br>
<br>
$ tar -xvf<br>
../wien2wannier-master/wien2wannier-*-wiendist/wien2wannier-*-expand-in-wienroot.tar<br>
$ ../wien2wannier-master/compile_wien2wannier.sh<br>
<br>
To make sure that you are running the new versions, you can do<br>
<br>
$ ls -ld $(dirname $(which w2w))<br>
<br>
<br>
Elias<br>
<br>
<br>
PS: Strangely, I have been unable to find your original post in the<br>
archive <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/</a>,<br>
though the answers to it are there.<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>