Dirk Schubert
2014-10-09 10:13:29 UTC
Hello!
I am Dirk Schubert from Allinea Software Ltd. and I am currently in the
process of implementing scalable debugging (Allinea DDT) and profiling
(Allinea MAP) support for SLURM (srun).
To make it convenient for our users we preload certain libraries (our
memory debugging or profiling sampler for example) with the executable
via LD_PRELOAD/LD_LIBRARY_PATH.
We usually achieve this by exporting certain environment variables to
the compute nodes via a special option of "mpirun", e.g. mpirun -x
LD_PRELOAD=libmap-profiler.so ... for OpenMPI.
However, with srun I could not find such an option. Maybe I overlooked
an obvious option or another possibility?
The closest option I found is using --task-prolog. But the user is able
to override this and only one prolog can be registered per application,
so we can't use --task-prolog.
Thanks &
Kind regards,
Dirk Schubert
I am Dirk Schubert from Allinea Software Ltd. and I am currently in the
process of implementing scalable debugging (Allinea DDT) and profiling
(Allinea MAP) support for SLURM (srun).
To make it convenient for our users we preload certain libraries (our
memory debugging or profiling sampler for example) with the executable
via LD_PRELOAD/LD_LIBRARY_PATH.
We usually achieve this by exporting certain environment variables to
the compute nodes via a special option of "mpirun", e.g. mpirun -x
LD_PRELOAD=libmap-profiler.so ... for OpenMPI.
However, with srun I could not find such an option. Maybe I overlooked
an obvious option or another possibility?
The closest option I found is using --task-prolog. But the user is able
to override this and only one prolog can be registered per application,
so we can't use --task-prolog.
Thanks &
Kind regards,
Dirk Schubert
--
Dirk Schubert - Lead Software Developer || Allinea Software
Dirk Schubert - Lead Software Developer || Allinea Software