<div dir="ltr">Hi Michael,<div>it seems from this page:</div><div><br></div><div>https://buildd.debian.org/status/package.php?p=cp2k</div><div><br></div><div>that the compilation went over. However, I see tests failing with message:</div><div><br></div><div>CP2K and libint were compiled with different LIBINT_MAX_AM.<br></div><div><br></div><div>Indeed, I see that you are not setting any values for that. You should add the flags"</div><div><br></div><div><span style="font-family:monospace"><span style="color: rgb(0, 0, 0);">-D__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5</span><br></span></div><div><br></div><div>replacing the numbers with the values used in LIBINT compilation (see the CP2K INSTALL file for more info)</div><div><br></div><div>Alfio</div><div><br><br>Il giorno lunedì 8 gennaio 2018 14:53:40 UTC+1, Michael Banck ha scritto:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi,
<br>
<br>On Mon, Jan 08, 2018 at 05:42:10AM -0800, Alfio Lazzaro wrote:
<br>> mp_max_memory_size is the maximum size for a MPI message, which I set to 
<br>> 2GB (2*2^30), i.e.
<br>> 
<br>> mp_max_memory_size = 2*INT(2, KIND=MPI_ADDRESS_KIND)**30 
<br>> 
<br>> The error is that I have to subtract 1 on a 32bit system (Thanks Tiziano to 
<br>> point me that)... However, this is exact what the HUGE function does, 
<br>> therefore I changed the code in the trunk with:
<br>> 
<br>> -   INTEGER(KIND=MPI_ADDRESS_KIND)<wbr>, PARAMETER, PRIVATE :: 
<br>> mp_max_memory_size = 2*INT(2, KIND=MPI_ADDRESS_KIND)**30 
<br>> +   INTEGER(KIND=MPI_ADDRESS_KIND)<wbr>, PARAMETER, PRIVATE :: 
<br>> mp_max_memory_size = HUGE(INT(1,KIND=int_4))
<br>> 
<br>> Could you try it?
<br>
<br>Thanks for the quick fix, I've included the patch in the package and
<br>uploaded it now - let's see what the autobuilders say (might take a few
<br>hours for them to pick it up).
<br>
<br>
<br>Michael
<br></blockquote></div></div>