On Wed, 7 May 2003, Ricardo Fonseca wrote:
> Would it be possible to change the file share/mpi/f77/init_f.c line 41 to
> something like:
>
> argv[0] = getenv("MPI_TASK_NAME");
> if (!argv[0]) argv[0] = "LAM_MPI_Fortran_program";
>
> So that it is possible to set the task name that shows up in mpitask for
> fortran programs?
Sounds like a good idea. Setting the environment variable
LAM_MPI_PROCESS_NAME will cause LAM to override the internal name it uses
for mpitask and friends. Note that all environment variables starting
with LAM_MPI_ are automatically pushed out by mpirun to all started
processes, so you only need to set the environment variable right before
running mpirun.
The feature is in CVS and will be in the next beta of LAM/MPI 7.0 (and
therefore the stable 7.0 release).
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|