<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
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;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1473595295;
mso-list-type:hybrid;
mso-list-template-ids:-1186048988 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I recently tried to install QE 6.6 with libxc versions older than 5.0.0 by doing the following to the make.inc file:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Add -D__LIBXC to DFLAGS</li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Add -I/$(LBXC_DIR)/include/ to IFLAGS</li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Set LD_LIBS=-L/$(LIBXC_DIR)/libxc/lib/ -lxf03 -lxc</li></ul>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For both versions of the libxc (4.2.3 and 3.0.1) I got the errors below. Any input is greatly appreciated.
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">funct.f90(40): error #7013: This module file was not generated by any release of this compiler. [XC_F03_LIB_M]</p>
<p class="MsoNormal"> USE xc_f03_lib_m</p>
<p class="MsoNormal">------^</p>
<p class="MsoNormal">funct.f90(359): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: exx_fraction = 0.0_DP</p>
<p class="MsoNormal">-------^</p>
<p class="MsoNormal">funct.f90(360): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: screening_parameter = 0.0_DP</p>
<p class="MsoNormal">-------^</p>
<p class="MsoNormal">funct.f90(361): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: gau_parameter = 0.0_DP</p>
<p class="MsoNormal">-------^</p>
<p class="MsoNormal">funct.f90(371): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: finite_size_cell_volume = notset</p>
<p class="MsoNormal">-------^</p>
<p class="MsoNormal">funct.f90(359): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: exx_fraction = 0.0_DP</p>
<p class="MsoNormal">-------------------------------^</p>
<p class="MsoNormal">funct.f90(359): error #6975: A kind-param must be a digit-string or a scalar-int-constant-name. [DP]</p>
<p class="MsoNormal"> REAL(DP):: exx_fraction = 0.0_DP</p>
<p class="MsoNormal">-------------------------------^</p>
<p class="MsoNormal">funct.f90(360): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: screening_parameter = 0.0_DP</p>
<p class="MsoNormal">--------------------------------------^</p>
<p class="MsoNormal">funct.f90(360): error #6975: A kind-param must be a digit-string or a scalar-int-constant-name. [DP]</p>
<p class="MsoNormal"> REAL(DP):: screening_parameter = 0.0_DP</p>
<p class="MsoNormal">--------------------------------------^</p>
<p class="MsoNormal">funct.f90(361): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: gau_parameter = 0.0_DP</p>
<p class="MsoNormal">--------------------------------^</p>
<p class="MsoNormal">funct.f90(361): error #6975: A kind-param must be a digit-string or a scalar-int-constant-name. [DP]</p>
<p class="MsoNormal"> REAL(DP):: gau_parameter = 0.0_DP</p>
<p class="MsoNormal">--------------------------------^</p>
<p class="MsoNormal">funct.f90(428): error #6457: This derived type name has not been declared. [XC_F03_FUNC_T]</p>
<p class="MsoNormal"> TYPE(xc_f03_func_t) :: xc_func03</p>
<p class="MsoNormal">---------^</p>
<p class="MsoNormal">funct.f90(429): error #6457: This derived type name has not been declared. [XC_F03_FUNC_INFO_T]</p>
<p class="MsoNormal"> TYPE(xc_f03_func_info_t) :: xc_info03</p>
<p class="MsoNormal">---------^</p>
<p class="MsoNormal">funct.f90(921): error #6457: This derived type name has not been declared. [XC_F03_FUNC_T]</p>
<p class="MsoNormal"> TYPE(xc_f03_func_t) :: xc_func</p>
<p class="MsoNormal">---------^</p>
<p class="MsoNormal">funct.f90(922): error #6457: This derived type name has not been declared. [XC_F03_FUNC_INFO_T]</p>
<p class="MsoNormal"> TYPE(xc_f03_func_info_t) :: xc_info</p>
<p class="MsoNormal">---------^</p>
<p class="MsoNormal">funct.f90(1277): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP) :: exxf_</p>
<p class="MsoNormal">----------^</p>
<p class="MsoNormal">funct.f90(1284): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: scrparm_</p>
<p class="MsoNormal">----------^</p>
<p class="MsoNormal">funct.f90(1291): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: get_screening_parameter</p>
<p class="MsoNormal">----------^</p>
<p class="MsoNormal">funct.f90(1298): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: gauparm_</p>
<p class="MsoNormal">----------^</p>
<p class="MsoNormal">funct.f90(1305): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP):: get_gau_parameter</p>
<p class="MsoNormal">----------^</p>
<p class="MsoNormal">funct.f90(1371): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP) :: get_exx_fraction</p>
<p class="MsoNormal">----------^</p>
<p class="MsoNormal">funct.f90(1427): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP), INTENT(OUT) :: volume</p>
<p class="MsoNormal">----------^</p>
<p class="MsoNormal">funct.f90(1438): error #6457: This derived type name has not been declared. [XC_F03_FUNC_INFO_T]</p>
<p class="MsoNormal"> TYPE(xc_f03_func_info_t) :: xc_info</p>
<p class="MsoNormal">----------^</p>
<p class="MsoNormal">funct.f90(1693): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP), INTENT(IN) :: rho_valence(:,:), rho_core(:)</p>
<p class="MsoNormal">-------^</p>
<p class="MsoNormal">funct.f90(1695): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP), INTENT(INOUT) :: v(:,:)</p>
<p class="MsoNormal">-------^</p>
<p class="MsoNormal">funct.f90(1696): error #6683: A kind type parameter must be a compile-time constant. [DP]</p>
<p class="MsoNormal"> REAL(DP), INTENT(INOUT) :: enl, vnl</p>
<p class="MsoNormal">-------^</p>
<p class="MsoNormal">funct.f90(36): error #6580: Name in only-list does not exist or is not accessible. [STDOUT]</p>
<p class="MsoNormal"> USE io_global, ONLY: stdout, ionode</p>
<p class="MsoNormal">-------------------------^</p>
<p class="MsoNormal">funct.f90(36): error #6580: Name in only-list does not exist or is not accessible. [IONODE]</p>
<p class="MsoNormal"> USE io_global, ONLY: stdout, ionode</p>
<p class="MsoNormal">---------------------------------^</p>
<p class="MsoNormal">funct.f90(359): error #6404: This name does not have a type, and must have an explicit type. [DP]</p>
<p class="MsoNormal"> REAL(DP):: exx_fraction = 0.0_DP</p>
<p class="MsoNormal">-------------------------------^</p>
<p class="MsoNormal">/tmp/ifortSKHzIM.i90(1750): catastrophic error: Too many errors, exiting</p>
<p class="MsoNormal">compilation aborted for funct.f90 (code 1)</p>
<p class="MsoNormal">make[1]: *** [funct.o] Error 1</p>
<p class="MsoNormal">make[1]: Leaving directory `/home/hvo/software/qe-6.6-libxc/Modules'</p>
<p class="MsoNormal">make: *** [mods] Error 1</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://galligroup.uchicago.edu/People/hvo.php">Hien Vo</a><o:p></o:p></p>
<p class="MsoNormal">PhD Candidate<o:p></o:p></p>
<p class="MsoNormal">Chemistry Department | The University of Chicago<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>