I&#39;ve tried to recompile gromacs, this time i tried to enable mpi so tha t i can run in parallel. I did what you advised in my last post. I&#39;ve checked on the gromacs homepage, and tried to find instructions for that. Eventually what i did was.<br>
In the gromacs directory i typed:<br>make distclean<br><br>and then i wrote the command line described below.<br>i says it can&#39;t compile and link mpi code with cc.<br>lam-mpi is already installed, i would really appreciate some help with this problem.<br>
Thank you<br><br>root@ubuntu-desktop:~/Desktop/gromacs-3.3.3#./configure --enable-mpi<br><br>checking build system type... i686-pc-linux-gnu<br>checking host system type... i686-pc-linux-gnu<br>checking for a BSD-compatible install... /usr/bin/install -c<br>
checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /bin/mkdir -p<br>checking for gawk... no<br>checking for mawk... mawk<br>checking whether make sets $(MAKE)... yes<br>checking how to create a ustar tar archive... gnutar<br>
checking for cc... cc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>
checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether cc accepts -g... yes<br>checking for cc option to accept ISO C89... none needed<br>checking for style of include used by make... GNU<br>
checking dependency style of cc... gcc3<br>checking dependency style of cc... gcc3<br>checking for mpxlc... no<br>checking for mpicc... no<br>checking for mpcc... no<br>checking for hcc... no<br>checking whether the MPI cc command works... configure: error: Cannot compile and link MPI code with cc<br>
<br>