<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>I am using openmpi 1.2.8 and it works fine.<br>You get 15% performance increase when going from 4 to 8 processes.<br>Note that with 4 processes you have to use:<br>mpirun -np 4 taskset 0xf mdrun ...<br>to avoid two processes running on the same physical core.<br><br>The only problem I can think of is that your system is so small<br>that it will anyhow not scale to more than 4 processes.<br><br>Berk<br><br>&gt; From: x.periole@rug.nl<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] link gromacs i7<br>&gt; Date: Wed, 7 Apr 2010 10:10:26 +0200<br>&gt; <br>&gt; <br>&gt; We have been using gromacs-4.0.7 on I7 with up to 8 CPUs. The<br>&gt; scaling is pretty good.<br>&gt; Note that upgrading to openmpi-1.4.1 was necessary to be able<br>&gt; to scale to up to 8 CPUs, if not the jobs where hanging ...<br>&gt; Since you have it already, I do not see where the problem can<br>&gt; come from. Are you sure you are using openmpi-1.4.1?<br>&gt; <br>&gt; On Apr 7, 2010, at 12:50 AM, Mark Abraham wrote:<br>&gt; <br>&gt; &gt; On 7/04/2010 5:32 AM, Maurício Menegatti Rigo wrote:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; We are using an i7 920 processor to run Gromacs-4.0.7 with<br>&gt; &gt;&gt; openmpi-1.4.1. The simulations run well using 4 threads (using  <br>&gt; &gt;&gt; "mpirun<br>&gt; &gt;&gt; -np 4 mdrun...") but the performance is worse when we use 6 or 8<br>&gt; &gt;&gt; threads.<br>&gt; &gt;<br>&gt; &gt; Sure. You have four physical cores. If you're trying to get more  <br>&gt; &gt; across a network, unless it is Infiniband you will take a big  <br>&gt; &gt; performance hit. Intel's hyperthreading may work (it did 5 years ago  <br>&gt; &gt; on different technology), but only if it is turned on, the MPI  <br>&gt; &gt; processes are all on the same piece of processor, and you compile  <br>&gt; &gt; with MPI and use mpirun -np x for x=1-8.<br>&gt; &gt;<br>&gt; &gt; Even then, 8 virtual cores might over-saturate cache bandwidth, or  <br>&gt; &gt; something. You'll need to provide a lot more information for more  <br>&gt; &gt; help there.<br>&gt; &gt;<br>&gt; &gt;&gt; Looking for some way to improve our performance we found out<br>&gt; &gt;&gt; this forum and then started to try use threads without openmpi. We<br>&gt; &gt;&gt; compiled gromacs again and used the command line as described here<br>&gt; &gt;&gt; ("mdrun -nt 8..."), but the following error appears:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; ------<br>&gt; &gt;&gt; Program mdrun, VERSION 4.0.7<br>&gt; &gt;&gt; Source code file: mdrun.c, line: 410<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Fatal error:<br>&gt; &gt;&gt; GROMACS compiled without threads support - can only use one thread<br>&gt; &gt;&gt; ------<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; But in gromacs-4.0.7 threads are not supposed to be ON by default?<br>&gt; &gt;<br>&gt; &gt; No post to this list has implied that threads work, because they  <br>&gt; &gt; will not before GROMACS 4.1. The fact that the installation guides  <br>&gt; &gt; on the website don't suggest using threads would also have guided  <br>&gt; &gt; you here.<br>&gt; &gt;<br>&gt; &gt; Mark<br>&gt; &gt; -- <br>&gt; &gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; &gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; Please search the archive at http://www.gromacs.org/search before  <br>&gt; &gt; posting!<br>&gt; &gt; Please don't post (un)subscribe requests to the list. Use the www  <br>&gt; &gt; interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&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>