diff options
author | Matt Belhorn <belhornmp@ornl.gov> | 2016-07-29 12:36:50 -0400 |
---|---|---|
committer | Matt Belhorn <belhornmp@ornl.gov> | 2016-07-29 15:02:25 -0400 |
commit | 5e97eb5ec4c49f5199b47d4b43fb1584046785e4 (patch) | |
tree | d605a6c1637378495b3f6402dff4d3c0af1db3d5 /bin | |
parent | eab56b71bee2cc4ef75fdd68a2398deb41203beb (diff) | |
download | spack-5e97eb5ec4c49f5199b47d4b43fb1584046785e4.tar.gz spack-5e97eb5ec4c49f5199b47d4b43fb1584046785e4.tar.bz2 spack-5e97eb5ec4c49f5199b47d4b43fb1584046785e4.tar.xz spack-5e97eb5ec4c49f5199b47d4b43fb1584046785e4.zip |
Obtains default modules from a clean subshell.
The list of default environment modules is obtained by calling
`module list -lt`
from a subshell with a wiped environment. This allows `/etc/profile` and other
init scripts to be fully sourced which should generally include loading the
default modules.
The list of default modules is then parsed for the first acceptable CPU target,
assumed to be the back_end target.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions