Mars Lenjoy wrote:
> Thank all of you!
>
> is that
> export LD_LIBRARY_PATH=/path/to/lam/lib:$LD_LIBRARY_PATH ??
>
> the MPICH has been installed in our cluster before, so I modified the
> $PATH, just removed the MPICH bin and added the LAM bin, then when type
> "mpicc" in command line, it will be in the Lam/bin, not mpich/bin
>
> however, if anyone else want to use MPICH, he/she has to modified the
> $PATH, too.
>
You could make a convenient wrapper script for people to use, which sets
the correct PATH environment, before executing the lamboot, or
appropriate command for the other MPI.
|