On 01/08/2018 01:58 PM, Caspar van Leeuwen wrote: > I disagree, because the requirement that the variable 'BAR_BIN' that is set > is a requirement from Foo, not a 'feature' from Bar. Bar knows absolutely > nothing about this variable, and is very happy to run without it - thus it > has no place in a Bar module. To illustrate that more: what if someone > tomorrow develops a Foo2, which requires another environment variable > 'WHERE_CAN_FOO2_FIND_BAR' to point to the Bar executable, would you reinstall > Bar and put this additional variable also in the module file of Bar, just > because Foo2 needs it?
Yes, I would re-make the module file for Bar with that env added. -- Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden Internet: a...@hpc2n.umu.se Phone: +46 90 7866134 Fax: +46 90-580 14 Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se