On Macintosh, they've replaced LD_LIBRARY_PATH with DYLD_LIBRARY_PATH.
However... EasyBuild-created Lmod modules don't set that variable, and
things don't look at LD_LIBRARY_PATH. This makes things not work when you
import modules.
They can be made to work as follows:
module load my-module
export DYLD_LIBRARY_PATH=LD_LIBRARY_PATH
Any thoughts on how to make this work on a Mac? Ideas would be:
1. Create a wrapper script/command for the "module" command that sets
DYLD_LIBRARY_PATH to LD_LIBRARY_PATH upon "module load."
2. Modify Lmod to do as in (1)
3. Modify EasyBuild to generate modules with DYLD_LIBRARY_PATH on Mac.
What do you think would be best?
-- Elizabeth