[gmx-users] compiling both MPI and non MPI versions --enable-shared

Florian Haberl Florian.Haberl at chemie.uni-erlangen.de
Mon Jan 30 17:45:38 CET 2006


hi

On Monday 30 January 2006 16:59, David Mathog wrote:
> No answer yet to my previous query so I'm trying to compile things again.
>
> To build an MPI version these were run:
>
> #in top of gromacs distribution
> export PATH=/usr/common/lam_mpi/bin:$PATH
> export CFLAGS=" -I/usr/common/include"
> export LDFLAGS=" -L/usr/common/lib"
> export CPPFLAGS=" -I/usr/common/include"
> make distclean
> ./configure \
>   --enable-mpi \
>   --program-suffix="_mpi" \
>   --enable-shared \
>   --libdir=/usr/common/lib
> make
> make install
>
> and all went well. Now, to compile a normal version
> (no MPI) one would presumably do:
>
> make distclean
> ./configure \
>   --enable-shared \
>   --libdir=/usr/common/lib
> make
> make install
>
> and there's the rub, the nonMPI version shared libraries are going
> to overwrite the MPI shared libraries.  Is that ok?  That should be
> safe if none of the routines in those libraries actually call or use
> MPI in any way, but I have no idea if this is the case.

should be no problem cause there 2 different files like "normal" one and the 
one with _mpi 



>
> The installation instructions on the web site or mute on this point.
>
> And the answer is...?
>
> Thanks,
>
> David Mathog
> mathog at caltech.edu
> Manager, Sequence Analysis Facility, Biology Division, Caltech
>
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.


Greetings,

florian
-- 
-------------------------------------------------------------------------------
 Florian Haberl                        
 Computer-Chemie-Centrum   
 Universitaet Erlangen/ Nuernberg
 Naegelsbachstr 25
 D-91052 Erlangen
 Mailto: florian.haberl AT chemie.uni-erlangen.de
-------------------------------------------------------------------------------



More information about the gromacs.org_gmx-users mailing list