<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>You don't need MPI within one machine.<br>Gromacs 4.5 has a built in thread-mpi library that gets built automatically.<br><br>Berk<br><br>&gt; Date: Tue, 28 Sep 2010 10:22:30 +0200<br>&gt; From: dommert@icp.uni-stuttgart.de<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] MPI and dual-core laptop<br>&gt; <br>&gt; -----BEGIN PGP SIGNED MESSAGE-----<br>&gt; Hash: SHA1<br>&gt; <br>&gt; On 09/27/2010 08:42 PM, simon sham wrote:<br>&gt; &gt; Hi,<br>&gt; &gt; I wanted to test the GROMACS MPI version in my dual-processors laptop. I<br>&gt; &gt; have installed openmpi 1.4.2 version. However, when I tried to configure<br>&gt; &gt; GROMACS 4.5.1 with --enable-mpi option, I got the following<br>&gt; &gt; configuration problem:<br>&gt; &gt; <br>&gt; &gt; "checking whether the MPI cc command works... configure: error: Cannot<br>&gt; &gt; compile and link MPI code with mpicc"<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; mpicc is in my /usr/local/bin directory.<br>&gt; &gt; <br>&gt; &gt; Questions:<br>&gt; &gt; 1. Can I run GROMACS 4.5.1 in a dual-processor laptop?<br>&gt; &gt; 2. If yes, how should I configure the software?<br>&gt; &gt; <br>&gt; &gt; Thanks in advance for your insight.<br>&gt; &gt; <br>&gt; &gt; Best,<br>&gt; &gt; <br>&gt; &gt; Simon Sham<br>&gt; &gt; <br>&gt; &gt; <br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt;  it seems the mpicc compiler does not find the necessary libraries to<br>&gt; link or doesn't even find the compiler. Check if mpicc is in your path.<br>&gt; <br>&gt; To include the missing libraries in the GROMACS configuration use the<br>&gt; LDFLAGS and CPPFLAGS variables to set the corresponding pathes.<br>&gt; <br>&gt; CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure ...<br>&gt; <br>&gt; If you have to add further include and library directories you have to<br>&gt; add a further -I/... and/or -L/... and put the whole expression after<br>&gt; the = into quotes, e.g CPPFLAGS="-I/usr/local/lib<br>&gt; - -I/home/user/local/fftw3/include" and so on.<br>&gt; <br>&gt; However if you use Gromacs 4.5 I would use and get common with the CMake<br>&gt; system, which really works fine and also a GUI is available that allows<br>&gt; you to easy set your variables options.<br>&gt; <br>&gt; /Flo<br>&gt; <br>&gt; <br>&gt; - -- <br>&gt; Florian Dommert<br>&gt; Dipl.-Phys.<br>&gt; <br>&gt; Institute for Computational Physics<br>&gt; <br>&gt; University Stuttgart<br>&gt; <br>&gt; Pfaffenwaldring 27<br>&gt; 70569 Stuttgart<br>&gt; <br>&gt; Phone: +49(0)711/685-6-3613<br>&gt; Fax:   +49-(0)711/685-6-3658<br>&gt; <br>&gt; EMail: dommert@icp.uni-stuttgart.de<br>&gt; Home: http://www.icp.uni-stuttgart.de/~icp/Florian_Dommert<br>&gt; -----BEGIN PGP SIGNATURE-----<br>&gt; Version: GnuPG v1.4.10 (GNU/Linux)<br>&gt; Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/<br>&gt; <br>&gt; iEYEARECAAYFAkyhpcYACgkQLpNNBb9GiPm1AgCfWcXsF7zs+fGV2gGFiGgG1H4o<br>&gt; tC0AoJRxehKCtgYNSq8qa5fqbEagde8a<br>&gt; =YCG5<br>&gt; -----END PGP SIGNATURE-----<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/Support/Mailing_Lists/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/Support/Mailing_Lists<br>                                               </body>
</html>