I think you also need to export to PATH, e.g.:
export PATH=/home/albert/install/mpich2/bin:$PATH
-Dan
On Mon, Mar 18, 2013 at 2:30 PM, Albert <mailmd2011.gmail.com> wrote:
> Hello:
>
> I found that in Unbuntu OS, even I specify the following in my shell:
>
> export LD_LIBRARAY_PATH=/home/albert/install/mpich2/lib
> export MPI_HOME=/home/albert/install/mpich2
> alias mpirun=/home/albert/install/mpich2/bin/mpirun
>
> the stupid unbuntu still use system mpi:
>
> > which mpirun
> /usr/bin/mpirun
>
> I am just wondering, how can we prevent such issue? can we specify it in
> ./configure command line?
>
> thank you very much
> best
> Albert
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
--
-------------------------
Daniel R. Roe, PhD
Department of Medicinal Chemistry
University of Utah
30 South 2000 East, Room 201
Salt Lake City, UT 84112-5820
http://home.chpc.utah.edu/~cheatham/
(801) 587-9652
(801) 585-9119 (Fax)
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Mar 18 2013 - 15:00:03 PDT