Tim Prince ha scritto:
> 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.
You could have a look at the modules package
http://modules.sourceforge.net/
which should simplify, at least from the user's point of view, the setup and
choice of such conflicting environments as those required for different MPI
implementations/devices or Fortran compilers; I have not installed it on my
cluster but I have used it on HPC machines with plenty of users.
bye, Davide
|