<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 you, and sorry for my late 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);">
<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>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</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></b>Hi Pablo,<br>
<br>
Regarding NBvalMAX: The manual says, "optional input. Setting this to the number of occupied bands (see case.output2) will reduce cpu-time of optics (for large cases, MM only between occupied and empty bands)." For the purpose of m*, I would definitely not
 try to set it to the number of valence bands, as the name might suggest. Your setting 9999 is conservative. The reader of the WIEN2k mommat file assumes that the data are presented as a triangular matrix p(i,j), with i=1,...,n_max and j=i,...,n_max. It will
 very likely fail if either index does not extend all the way to nmax.<br>
<br>
This tutorial (<a href="https://github.com/rubel75/mstar/wiki/Tutorial-Si-with-SOC-(WIEN2k" id="OWA71b4643b-a11f-6c4d-afd7-16e73b5a7571" class="OWAAutoLink" data-auth="NotApplicable">https://github.com/rubel75/mstar/wiki/Tutorial-Si-with-SOC-(WIEN2k</a>)) should
 help with extraction of m* from output data.<br>
<br>
Best regards,<br>
Oleg<br>
<br>
</div>
</div>
</body>
</html>