<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>First of all, Gromacs is full of memory leaks, which by itself it not so nice,<br>but this is not a problem (unless we are eating up all the memory).<br><br>I guess you meant to say illegal memory access iso memory leaks.<br><br>The current valgrind warnings in the graph code are due to a bug in valgrind.<br>I have thoroughly checked this code, especially because of the valgrind warnings.<br><br>The sse2 warnings should be checked.<br><br>Berk<br><br><br>&gt; Date: Thu, 28 Jan 2010 10:28:59 +0100<br>&gt; From: jochen@xray.bmc.uu.se<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: [gmx-users] valgrind warnigs with git mdrun<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; I am implementing some addition stuff to mdrun, but my mdrun (in <br>&gt; particle decomposition) stops with lincs warings after running fine for <br>&gt; 10 to 50 ps or so. The same system with the git master does not crash <br>&gt; (with -pd), which, of course, does not mean there is no memory leak as <br>&gt; well. So I was running my system with the git master mdrun within <br>&gt; valgrind --leak-check=yes, and got the following warnings (see below), <br>&gt; which eventually stop in a fatal error:<br>&gt; <br>&gt; Program mdrun_debug, VERSION 4.0.99_development_20090927<br>&gt; Source code file: mshift.c, line: 647<br>&gt; <br>&gt; Fatal error:<br>&gt; No GREY nodes found while nG=4<br>&gt; <br>&gt; I am now wondering if that is a valgrind problem or if mdrun has a <br>&gt; problem that shows up as crashes in my altered version of mdrun.<br>&gt; <br>&gt; Thanks for any hints,<br>&gt; <br>&gt; Jochen<br>&gt; <br>&gt; ps: I have compiled mdrun on a linux with an intel compiler via:<br>&gt; export LDFLAGS="-L/opt/fftw/3.2/icc11/lib"<br>&gt; export CPPFLAGS=-I/opt/fftw/3.2/icc11/include<br>&gt; source /opt/intel/ictce/3.2.1.015/ictvars.sh<br>&gt; export CC=icc<br>&gt; export I_MPI_CC=icc<br>&gt; export LD=icc<br>&gt; export CFLAGS="-g -O0"<br>&gt; make distclean<br>&gt; ./configure --prefix=/home/jhub/src/git/gmx-master/build.debug <br>&gt; --without-x --enable-mpi --program-suffix=_debug --disable-shared <br>&gt; --without-xml<br>&gt; <br>&gt; During compilation, I get the following warnings. Don't know if they are <br>&gt; a problem though:<br>&gt; <br>&gt; ../../../../include/gmx_sse2_single.h(251): warning #167: argument of <br>&gt; type "__m128i" is incompatible with parameter of type<br>&gt;  "__m128"<br>&gt;         xmm2 = _mm_add_epi32(xmm2,gmx_mm_castps_si128(base));<br>&gt;                                   ^<br>&gt; ../../../../include/gmx_sse2_single.h(251): warning #167: argument of <br>&gt; type "__m128i" is incompatible with parameter of type<br>&gt;  "__m128"<br>&gt;         xmm2 = _mm_add_epi32(xmm2,gmx_mm_castps_si128(base));<br>&gt; <br>&gt; ../../include/gmx_sse2_single.h(251): warning #167: argument of type <br>&gt; "__m128i" is incompatible with parameter of type "__m1<br>&gt; 28"<br>&gt;         xmm2 = _mm_add_epi32(xmm2,gmx_mm_castps_si128(base));<br>&gt;                                   ^<br>&gt; resall.c(488): warning #167: argument of type "const char *" is <br>&gt; incompatible with parameter of type "char *"<br>&gt;       n=neq_str(key,rtp[i].resname);<br>&gt;                 ^<br>&gt; grompp.c(306): warning #592: variable "mbs" is used before its value is set<br>&gt;     mbs;<br>&gt;     ^<br>&gt; <br><br>                                               <br /><hr />New Windows 7: Simplify what you do everyday. <a href='http://windows.microsoft.com/shop' target='_new'>Find the right PC for you.</a></body>
</html>