<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">As previously discussed on the mailing
      list
      (<a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/pipermail/wien/2012-August/017529.html">http://zeus.theochem.tuwien.ac.at/pipermail/wien/2012-August/017529.html</a>),
      there is an array handling problem in the fftpack routine.&nbsp; You
      should be able to remove the error by using the fftw3 (or older
      fftw2) library instead.<br>
      <br>
      On 9/9/2012 2:04 PM, Xiahan Sang wrote:<br>
    </div>
    <blockquote cite="mid:003501cd8ec6$4d432fd0$e7c98f70$@com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:587663842;
        mso-list-template-ids:-343610714;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1653682201;
        mso-list-template-ids:-750490730;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">Hi, everyone,<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">I am running Wien
            version 12.1 with operating system Linux, fortran compiler
            ifort 11.1 and mkl11.1. I am trying to use different
            functionals (LDA, GGA, meta-GGA, hybrid functionals) to
            calculate electron density for pure Cu. The calculation is
            successful for any GGA functional. But there is an &#8220;LAPW0
            stop error&#8221; if I ran meta-GGA and mBJ, following the steps
            from the UG. For example, for mBJ calculation, the steps
            are:<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">1. Prepare the
            input files for an usual PBE (or LDA) calculation:<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">init -b -numk
            10000 -vxc 13 -rkmax 10<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">2. Replace &#8220;NR2V&#8221;
            by &#8220;R2V&#8221; in case.in0 and then Create case.inm_vresp (cp
            $WIENROOT/SRC templates/case.inm vresp case.inm_vresp).<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">3. Run the PBE
            (or LDA) calculation (does not need to be well converged):<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">run_lapw -cc
            0.0001<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">4. save lapw of
            the calculation<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">save_lapw case_Cu<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">5. Edit case.in0
            and choose indxc=28 (MBJ)<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">6. cp case.in0
            case.in0_grr and choose indxc=50 in case.in0_grr<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">7. Choose &#8220;PRATT&#8221;
            in case.inm and try a mixing factor of 0.2<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">8. Run the MBJ
            calculation with run_lapw:<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">run_lapw -cc
            0.0001<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:black">The first call
            &#8220;lapw0 &#8211;grr&#8221; was successful. Then the program stopped at the
            second lapw0:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">forrtl: severe (174):
            SIGSEGV, segmentation fault occurred<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">Image&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            PC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Routine&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Line&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            Source&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">lapw0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            000000000040D71A&nbsp; cffti1_&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 475&nbsp;
            fftpack_helpers.f<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">lapw0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            000000000040D6AA&nbsp; cffti_&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 457&nbsp;
            fftpack_helpers.f<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">lapw0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            00000000004040E2&nbsp; c3fft_1_&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 119&nbsp;
            fftpack_helpers.f<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">lapw0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            000000000040DD29&nbsp; fftpack_mp_c3fft_&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 397&nbsp;
            fft_modules.F<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">lapw0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            000000000047256E&nbsp; vresp_&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 106&nbsp; vresp.F<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">lapw0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            0000000000487920&nbsp; xcpot3_&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 147&nbsp; xcpot3.F<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">lapw0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;0000000000440CF5&nbsp; MAIN__&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1935&nbsp; lapw0.F<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">lapw0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            00000000004039AC&nbsp; Unknown&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unknown&nbsp; Unknown<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">libc.so.6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            00000034B641D994&nbsp; Unknown&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unknown&nbsp; Unknown<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;" lang="ZH-CN">lapw0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            00000000004038B9&nbsp; Unknown&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unknown&nbsp; Unknown<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;" lang="ZH-CN"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">I got exactly the same error
            message if I ran meta-GGA vxc=12 following the steps in the
            UG. I also tried different rkmax and numk numbers, or
            spin-polarized calculation and the problem still exists. I
            checked the subroutine CFFTI in line 457 in
            fftpack_helpers.f:<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">!&nbsp;&nbsp;&nbsp;&nbsp; SUBROUTINE
            CFFTI(N,WSAVE)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">!&nbsp;&nbsp;&nbsp;&nbsp; SUBROUTINE CFFTI
            INITIALIZES THE ARRAY WSAVE WHICH IS USED IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">!&nbsp;&nbsp;&nbsp;&nbsp; BOTH CFFTF AND CFFTB.
            THE PRIME FACTORIZATION OF N TOGETHER WITH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">!&nbsp;&nbsp;&nbsp;&nbsp; A TABULATION OF THE
            TRIGONOMETRIC FUNCTIONS ARE COMPUTED AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">!&nbsp;&nbsp;&nbsp;&nbsp; STORED IN WSAVE.&nbsp; <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">I suspect it is a memory
            allocation problem but I have no idea how to solve this. Any
            insight would be greatly appreciated.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;">Xiahan<o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Wien mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a>
<a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>