simfactory's @ENV(FOO)@ syntax in option list does not have accees to env from envsetup

Issue #2379 new
Roland Haas created an issue

Simfactory supports expanding env variables using a syntax @ENV(FOO)@ to access $FOO. This fails to work as expected in option lists in that it cannot access environment variables set by simfactory’s envsetup command, which is typically used to load modules on clusters.

This likely is due to simfactory not executing envsetup when it sets up the OptionList and instead only doing so when executing make sim-config options=OptionList.

A workaround is to use bare Cactus methods to use ${FOO} in the option list, which is handled by Cactus' setup phase at which point envsetup has executed.

This effect sciama.

Comments (0)

  1. Log in to comment