Hi,thank you for your great help. In my pdos file, the first frequence value is indeed negative. When deleting the first line, it can run very well.<br><br>Best regards,<br>Chaohao<br><br>> Hi,<br>> <br>> > the error information:<br>> > "run-time error M6202: MATH<br>> > - log: SING error"<br>> > <br>> > I also know the negative value appears in log<br>> > function described as the following line,<br>> > "    if (T.gt.0.d0)<br>> > Ftot=Ftot+dos(i)*a2*T*log(1.0d0-exp(-a3*nu(i)/T))<br>> > "<br>> > but I do not know how to resolve this problem.<br>>   <br>> If you have imaginary (negative in your files)<br>> frequences, your system is dynamically unstable, so, <br>> it is meaningless to calculate the free energy for<br>> such a kind unstable system. <br>> <br>> Bests,<br>> Eyvaz.<br>> <br>> <br>>           <br>> ____________________________________________________<br>> Start your day with Yahoo! - make it your home page <br>> http://www.yahoo.com/r/hs <br>>  <br>> _______________________________________________<br>> Pw_forum mailing list<br>> Pw_forum@pwscf.org<br>> http://www.democritos.it/mailman/listinfo/pw_forum<br>> <br><!-- footer --><br><br><br>
<font style="font-size:14.8px">
<!--广告footer 开始-->
<!--广告footer 结束-->

<!--内部footer开始-->
<br>
<br><p style="line-height:160%;">
<a href="http://mail.163.com" target="_blank">
<font color=blue>需要一个<span style="color:red">2000兆的免费</span>邮箱吗?<br>网易免费邮箱是<span style="color:red">中国最多人使用</span>的电子邮箱。</a>
</p>
<!--内部footer结束-->
</font>