• Marc Vef's avatar
    Preload lib: RPC/IPC Mercury/Margo environments are only initialized if the... · f54c7cd9
    Marc Vef authored
    Preload lib: RPC/IPC Mercury/Margo environments are only initialized if the mountdir path is used by the application
    For that, the daemon writes the mountdir (it was started with) to a configurable path to disk.
    The libraries read this value and only the process that uses part of this path will actually trigger the environment initialization.
    This forbids prior behavior where applications initialize the whole environment numerous times, although unused.
    For example, any MPI program will spawn multiple processes, all with the LD_PRELOAD environment variable set.
    f54c7cd9