<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Oleg,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank for your quick reply</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I edited the </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 GaAs1.inop</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
500 1       number of k-points, first k-point </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-5.0 5.0 9999 Emin, Emax for matrix elements, NBvalMAX</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
2             number of choices (columns in *outmat): 2: hex or tetrag. case</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
1             Re xx</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
3             Re zz</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
ON            ON/OFF   writes MME to unit 4</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
and it worked, but what is "NBvalMAX"</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
And where I see the "Effective Mass"</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Saludos </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Pablo</div>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg">
<div style="direction: ltr; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<b>De:</b> Wien <wien-bounces@zeus.theochem.tuwien.ac.at> en nombre de Oleg Rubel <rubelo@mcmaster.ca><br>
<b>Enviado:</b> martes, 28 de julio de 2026 04:40 p. m.<br>
<b>Para:</b> A Mailng list for WIEN2k users <wien@zeus.theochem.tuwien.ac.at><br>
<b>Asunto:</b> Re: [Wien] Effective Mass</div>
<div style="direction: ltr;"> </div>
</div>
<div style="font-size: 11pt;">Dear Pablo,<br>
<br>
It seems that the error message points to the source of the problem ðŸ˜‰<br>
The file with momentum matrix elements ` GaAs1.mommat2up` is empty (0 lines). I would check which files are created/modified as the result of ` x optic -so -up`.<br>
<br>
Best regards,<br>
Oleg<br>
<br>
> -----Original Message-----<br>
> From: Wien <wien-bounces@zeus.theochem.tuwien.ac.at> On Behalf Of<br>
> delamora<br>
> Sent: Tuesday, July 28, 2026 6:30 PM<br>
> To: A Mailing list for WIEN2k users <wien@zeus.theochem.tuwien.ac.at><br>
> Subject: [Wien] Effective Mass<br>
><br>
>   Caution: External email.<br>
> Dear WIEN2k community,<br>
><br>
> I am trying to calculate the "Effective Mass"<br>
> I am doing the example "GaAs" that is in the article;<br>
><br>
> Perturbation approach to ab initio effective mass calculations Computer<br>
> Physics Communications 261 (2021) 107648<br>
><br>
> In section "2.3. Sample work flow"<br>
><br>
> After doing the GaAs.struct file I do the following instructions; init_lapw -b -vxc<br>
> 13 -rkmax 7 -numk 500 run_lapw -ec 0.00001 -cc 0.0001 save_lapw -d<br>
> noSOC init_so_lapw run_lapw -ec 0.00001 -cc 0.0001 -so x lapw1 x lapwso ln<br>
> -sf GaAs1.vsp GaAs1.vspup ln -sf GaAs1.vsp GaAs1.vspdn ln -s case.vectorso<br>
> case.vectorsoup cp /home/Programas/WIEN2k/SRC_templates/case.inop<br>
> GaAs1.inop x optic -so -up<br>
><br>
> x mstar -up -settol 0.00001<br>
><br>
><br>
> *** Here I get an error;<br>
>  Detected input arguments = 2<br>
>  Input mommat file = ./GaAs1.mommat2up<br>
>  Degeneracy tolerance dEtol = 0.00001 [Ha]  Confirming text-to-number<br>
> conversion dEtol =  1.00000E-05 [Ha]  The input file ./GaAs1.mommat2up<br>
> was found.<br>
>   number of lines in mommat file = 0<br>
>  The file ./GaAs1.mommat2up is too short and most likely useless. Stopping<br>
> 0.003u 0.008s 0:00.01 0.0%    0+0k 0+0io 0pf+0w<br>
><br>
> Saludos<br>
><br>
> Pablo<br>
_______________________________________________<br>
Wien mailing list<br>
Wien@zeus.theochem.tuwien.ac.at<br>
<a href="https://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" id="OWAde87f4bf-cc7c-12db-8279-fa0c86c6bfb8" class="OWAAutoLink" data-auth="NotApplicable">https://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" id="OWA75c911d6-38a7-192e-cda4-6595bd6a3c2c" class="OWAAutoLink" data-auth="NotApplicable">
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a></div>
</body>
</html>