<div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small;color:#000000">There is not going to be a simple fix for this in the Wien2k code as it is probably (>99%) an Intel error. The routine dgbal (find the source and look) is buried somewhere inside the mkl routines many levels down. and we do not have access to it. Some possibilities are:</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small;color:#000000">1. Use elpa</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small;color:#000000">2. Check that you are not binding to 64 bit integers by mistake, see <a href="https://github.com/facebookresearch/faiss/issues/2641">https://github.com/facebookresearch/faiss/issues/2641</a></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small;color:#000000">3. Use mpi with more or less nodes</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small;color:#000000">4. Use omp instead of mpi. or combine them</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small;color:#000000">5. Change rkmax and/or the number of k-points. You may find that some combinations work, others do not.</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small;color:#000000">6. Accept a loss of speed, and use gfortran for just this part and/or a lower compilation.</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small;color:#000000">These are all hacks to try and circumvent the problem, not cures.</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Oct 30, 2025 at 8:46 AM Michael Fechtelkord via Wien <<a href="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The origin of the problem is in integrate_current.f<br>
<br>
<br>
calling DGEEV .. and it happens currently only for the nmr calculation <br>
of analcime.. (currently using MKL 2025.3 and ifx, gcc 15.2.1)<br>
<br>
<br>
Regards,<br>
<br>
Michael<br>
<br>
<br>
  EXECUTING:     mpirun -np 4 -machinefile .machine_nmrinteg <br>
/usr/local/WIEN2k/nmr_mpi -case Analcime_NaAlSi2O6H2O -mode integ -green<br>
<br>
<br>
Intel oneMKL ERROR: Parameter 3 was incorrect on entry to DGEBAL.<br>
<br>
..<br>
<br>
Intel oneMKL ERROR: Parameter 3 was incorrect on entry to DGEBAL.<br>
  INFO of DGEEV in integrate_current.f          -1<br>
  DGEEV in integrate_current.f<br>
<br>
===================================================================================<br>
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br>
=   RANK 1 PID 3335 RUNNING AT localhost<br>
=   KILLED BY SIGNAL: 9 (Killed)<br>
===================================================================================<br>
<br>
<br>
Am 24.09.2025 um 11:59 schrieb Peter Blaha:<br>
> Hard to help.<br>
> The subroutine dgebal  is not called directly by the nmr program of <br>
> wien2k.<br>
><br>
><br>
><br>
> Am 23.09.2025 um 17:07 schrieb Michael Fechtelkord via Wien:<br>
>> Hello all,<br>
>><br>
>><br>
>> I experienced an error during executing integratin of the NMR Current <br>
>> due to the Intel MKL library. I use ifort 2024.2, MKL 2024.2, gcc 15 <br>
>> 15.2 and LINUX Kernel 6.16.7-1 for open Suse Tumbleweed. Integration <br>
>> was done in sequential mode. Parallel still does not work because of <br>
>> the glibc error.<br>
>><br>
>><br>
>> EXECUTING:     /usr/local/WIEN2k/nmr -case Analcime_NaAlSi2O6H2O <br>
>> -mode integ     -green<br>
>><br>
>><br>
>> Intel oneMKL ERROR: Parameter 3 was incorrect on entry to DGEBAL.<br>
>> forrtl: severe (174): SIGSEGV, segmentation fault occurred<br>
>> forrtl: severe (174): SIGSEGV, segmentation fault occurred<br>
>><br>
>> stop error<br>
>><br>
>><br>
>> Has someone an idea how to fix it?<br>
>><br>
>><br>
>> Best regards,<br>
>><br>
>> Michael<br>
>><br>
>><br>
>><br>
><br>
-- <br>
Dr. Michael Fechtelkord<br>
<br>
Institut für Geowissenschaften<br>
Ruhr-Universität Bochum<br>
Universitätsstr. 150<br>
D-44780 Bochum<br>
<br>
Phone: +49 (234) 32-24380<br>
Fax:  +49 (234) 32-04380<br>
Email: <a href="mailto:Michael.Fechtelkord@ruhr-uni-bochum.de" target="_blank">Michael.Fechtelkord@ruhr-uni-bochum.de</a><br>
Web Page: <a href="https://www.ruhr-uni-bochum.de/kristallographie/kc/mitarbeiter/fechtelkord/" rel="noreferrer" target="_blank">https://www.ruhr-uni-bochum.de/kristallographie/kc/mitarbeiter/fechtelkord/</a><br>
<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel="noreferrer" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at:  <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" rel="noreferrer" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Emeritus Professor Laurence Marks (Laurie)<div>Northwestern University<br><div><a href="http://www.numis.northwestern.edu" target="_blank">Webpage</a> and <a href="http://scholar.google.com/citations?user=zmHhI9gAAAAJ&hl=en" target="_blank">Google Scholar link</a></div><div>"Research is to see what everybody else has seen, and to think what nobody else has thought", Albert Szent-Györgyi</div></div></div></div>