Sanku M wrote:
Hi,
I am using a cluster where user/local/bin has some old mpi executable.
But, I have installed openmpi-1.3 in my own home directory so that I can
use that for installing gromacs4.5.4 parallel version. I have also
updated the path with the openmpi bin directory and library directory in
the bash profile.
But, each time, I try to configure gromacs4.5.4 using enable-mpi mode,
it always looks into the mpi installed in /usr/local/bin directory anad
crashes saying that the mpicc is not compatible.
I wonder whether there is any particular flag I can use so that I can
force gromacs to look for openmpi bin and lib folder installed in my
home directory.
Are you using cmake or autoconf? Providing your actual commands here would be
useful. The approach is different based on your method of configuration, but
with cmake you can set -DMPI_COMPILER=/path/to/mpicc or with similarly with
autoconf, use the MPICC environment variable to point to the mpicc of choice.
-Justin
--
========================================
Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
MILES-IGERT Trainee
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin
========================================
--
gmx-users mailing list gmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-requ...@gromacs.org.
Can't post? Read http://www.gromacs.org/Support/Mailing_Lists