<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
NO!<br>The problem does not vanish!<br>The temperature will seem ok, because NH will compensate all heat<br>introduced by integration errors. So you temperature looks ok,<br>but your sampling might be completely wrong.<br>In an NVT ensemble you can see this as an enormous drift<br>of the conserved energy quantity.<br><br>Berk<br><br>&gt; Date: Thu, 11 Mar 2010 16:42:45 +0100<br>&gt; From: schlesi@uni-mainz.de<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: [gmx-users] Re: problem with icc compiler<br>&gt; <br>&gt; @ Erik:<br>&gt; Have you also tried the nose-hoover thermostat? Because with it the <br>&gt; problem vanishes for me (even if i use pme).<br>&gt; <br>&gt; &gt; <br>&gt; &gt; Hi,<br>&gt; &gt; I have reported this problem to Bugzilla some months ago:<br>&gt; &gt; <br>&gt; &gt;   http://bugzilla.gromacs.org/show_bug.cgi?id=378<br>&gt; &gt; <br>&gt; &gt; I don't exactly know what the problem is, but it is definitely related<br>&gt; &gt; to the MKL FFTs, which can be seen by switching from PME to cutoff, and<br>&gt; &gt; the problem should go away.<br>&gt; &gt; <br>&gt; &gt; I have reproduced this behavior on several computers, as I have written<br>&gt; &gt; in the bugzilla report.<br>&gt; &gt; <br>&gt; &gt; / Erik Brandt<br>&gt; &gt; <br>&gt; &gt; tor 2010-03-11 klockan 01:34 +0100 skrev Mark Abraham:<br>&gt; &gt; <br>&gt; &gt;&gt; On 11/03/2010 3:04 AM, Thomas Schlesier wrote:<br>&gt; &gt;&gt;&gt; Gromacs was compiled on a xeon (woodcrest). for the simulations i used<br>&gt; &gt;&gt;&gt; an old xeon (don't know what chip, but also 64bit system) and a i7.<br>&gt; &gt;&gt; Well, don't do that. IMO, dynamic linking should work in that kind of<br>&gt; &gt;&gt; scenario, but something is clearly broken.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt; About static / dynamic libraries:<br>&gt; &gt;&gt;&gt; I used there default settings. At the end of the configure command it<br>&gt; &gt;&gt;&gt; tells me the following:<br>&gt; &gt;&gt;&gt; * On most platforms you can save 10X space with dynamic libraries,<br>&gt; &gt;&gt;&gt; although the binaries might be less portable. Why not try --enable-shared?<br>&gt; &gt;&gt;&gt; So i think the libraries are static.<br>&gt; &gt;&gt; Your internal GROMACS linking is static, which you could change with<br>&gt; &gt;&gt; --enable-shared. You will need to kick the linker harder than that to<br>&gt; &gt;&gt; force it to link statically to system libraries also.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt; I tried Mark's suggestion and compiled a new version, where i change<br>&gt; &gt;&gt;&gt; '--with-fft=mkl' with '--enable-fft=fftpack' (the restr of the configure<br>&gt; &gt;&gt;&gt; command was the same then before). With that, the error didn't appear.<br>&gt; &gt;&gt;&gt; Does that mean that the linking to mkl did not work for mdrun, but<br>&gt; &gt;&gt;&gt; worked for mdrun_mpi (because there the temperature was right)?<br>&gt; &gt;&gt; Yep, that is strong evidence for my hypothesis. Either compile GROMACS<br>&gt; &gt;&gt; on the target execution system (even submit a cluster job for the<br>&gt; &gt;&gt; compilation!), or (if the former doesn't work) get the MKL documentation<br>&gt; &gt;&gt; and read it about how to enforce static linking. There may be some<br>&gt; &gt;&gt; cunning linker option for that, or you may need to explicitly cite the<br>&gt; &gt;&gt; static versions of the libraries. Or, get FFTW installed and link to<br>&gt; &gt;&gt; that. I have found near-negligible performance differences between MKL<br>&gt; &gt;&gt; and FFTW on my machine.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt; One thing for the temperature jump:<br>&gt; &gt;&gt;&gt; Temperature starts at around 300 K (from 'gen_temp') then goes in 1-2ps<br>&gt; &gt;&gt;&gt; up to around 425 K and then stays there. the simulation was 100ps long,<br>&gt; &gt;&gt;&gt; in the end i had an average value of about 425 K (from log file).<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Here are the first 20ps from g_energy<br>&gt; &gt;&gt;&gt; 0.000000 305.240509<br>&gt; &gt;&gt;&gt; 1.000000 381.614166<br>&gt; &gt;&gt;&gt; 2.000000 410.572906<br>&gt; &gt;&gt;&gt; 3.000000 434.954956<br>&gt; &gt;&gt;&gt; 4.000000 414.660400<br>&gt; &gt;&gt;&gt; 5.000000 394.799591<br>&gt; &gt;&gt;&gt; 6.000000 389.087128<br>&gt; &gt;&gt;&gt; 7.000000 414.893982<br>&gt; &gt;&gt;&gt; 8.000000 449.444183<br>&gt; &gt;&gt;&gt; 9.000000 417.877472<br>&gt; &gt;&gt;&gt; 10.000000 442.470306<br>&gt; &gt;&gt;&gt; 11.000001 446.170258<br>&gt; &gt;&gt;&gt; 12.000001 448.844666<br>&gt; &gt;&gt;&gt; 13.000001 412.847473<br>&gt; &gt;&gt;&gt; 14.000001 454.549744<br>&gt; &gt;&gt;&gt; 15.000001 447.908478<br>&gt; &gt;&gt;&gt; 16.000000 404.607422<br>&gt; &gt;&gt;&gt; 17.000000 404.629944<br>&gt; &gt;&gt;&gt; 18.000000 441.559448<br>&gt; &gt;&gt;&gt; 19.000000 396.328400<br>&gt; &gt;&gt;&gt; 20.000000 421.386017<br>&gt; &gt;&gt; That's broken all right!<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Mark<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt; and:<br>&gt; &gt;&gt;&gt; Energy Average RMSD Fluct. Drift Tot-Drift<br>&gt; &gt;&gt;&gt; ----------------------------------------------------------------<br>&gt; &gt;&gt;&gt; Temperature 424.625 21.7645 21.6696 0.0703201 7.03215<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; On 10/03/2010 12:21 AM, Thomas Schlesier wrote:<br>&gt; &gt;&gt;&gt;&gt;&gt; Could anybody reproduce that error or has an idea what is happening?<br>&gt; &gt;&gt;&gt;&gt;&gt; Or i am alone with that problem?<br>&gt; &gt;&gt;&gt;&gt; Nothing looks obviously wrong, but it's hard to be sure in the absence<br>&gt; &gt;&gt;&gt;&gt; of information about your hardware. The most likely issue is some kind<br>&gt; &gt;&gt;&gt;&gt; of dynamically-linked library mismatch. This can happen if your<br>&gt; &gt;&gt;&gt;&gt; execution environment differs from your linking environment. Try forcing<br>&gt; &gt;&gt;&gt;&gt; linking to static versions of the libraries, which will prevent this.<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Also try disabling things until you get sensible behaviour in all cases,<br>&gt; &gt;&gt;&gt;&gt; like --enable-fft=fftpack. That would reveal that the problem was with<br>&gt; &gt;&gt;&gt;&gt; linking to mkl.<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Also 1-2ps is a bit too short to expect convergence of temperature -<br>&gt; &gt;&gt;&gt;&gt; check the plot of T against t with g_energy.<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Mark<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; Date: Fri, 5 Mar 2010 23:11:45 +0100<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; From: Thomas Schlesier &lt;schlesi@uni-mainz.de&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; Subject: [gmx-users] problem with icc compiler<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; To: "gmx-users@gromacs.org" &lt;gmx-users@gromacs.org&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; Message-ID: &lt;4B9181A1.7060106@uni-mainz.de&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; Content-Type: text/plain; charset="ISO-8859-1"; format=flowed<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; Hi,<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; i observed the following problem. if i simulate water (spc or tip4p)<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; with gromacs 4.0.5 i get with v-rescale or berendsen thermostat the<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; wrong temperature (ref_t = 300K -&gt; average around 425K, in about<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; 1-2ps),<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; but only in serial, not in parallel runs.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; non-water molecules or nose-hoover thermostat make no problems.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; see also<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; http://lists.gromacs.org/pipermail/gmx-users/2010-March/049248.html<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; for mdp and log file.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; gromacs was compiled with the following comands:<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; and in the file 'configure' all '-lmkl' were deleted (don't ask me why,<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; i don't really understand that stuff, the command were from our<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; previous<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; phd student).<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; ./configure CC="icc"<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; CPPFLAGS="-I/share/apps/intel/mkl/10.0.011/include"<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; LDFLAGS="-L/share/apps/intel/mkl/10.0.011/lib/em64t<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; -lmkl_solver_lp64_sequential -Wl,--start-group -lmkl_intel_lp64<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread" --with-fft=mkl<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; --prefix="/share/apps/gromacs/4.0.5"<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; make<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; make install<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; make clean<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; ./configure CC="icc"<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; CPPFLAGS="-I/share/apps/intel/mkl/10.0.011/include"<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; LDFLAGS="-L/share/apps/intel/mkl/10.0.011/lib/em64t<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; -lmkl_solver_lp64_sequential -Wl,--start-group -lmkl_intel_lp64<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread" --with-fft=mkl<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; --prefix="/share/apps/gromacs/4.0.5" --enable-mpi --disable-nice<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; --program-suffix=_mpi<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; make mdrun<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; make install-mdrun<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; for gromacs 4.0.5 i used the icc 9.1.046 compiler.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; i also tried gromacs 4.0.7 with icc 9.1.046 and icc 10.1.008 with spc<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; water, v-rescale thermostat.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; -&gt; serial: too high temperature 425K iso 300K<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; -&gt; parallel: no problems<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; with non-water (mesitylene) i have no problem in serial.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; the problem does not come from grompp because i can use same tpr-file<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; for serial and parallel runs with the above results.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; if someone needs more informations about this please tell me.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; greetings<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; thomas<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; -- <br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>                                               <br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>