summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2016-07-10 21:21:43 -0500
committerGlenn Johnson <glenn-johnson@uiowa.edu>2016-07-20 19:54:35 -0500
commit16f67b5bb1b6c8a37022f2a422ef5ae862ead956 (patch)
treeb7569e92add31585cb3abfbf113b7e4715a200c3 /lib
parente389afedaaa1e617aa3d1cb161535f6105e1b574 (diff)
downloadspack-16f67b5bb1b6c8a37022f2a422ef5ae862ead956.tar.gz
spack-16f67b5bb1b6c8a37022f2a422ef5ae862ead956.tar.bz2
spack-16f67b5bb1b6c8a37022f2a422ef5ae862ead956.tar.xz
spack-16f67b5bb1b6c8a37022f2a422ef5ae862ead956.zip
Setup environment for Intel Parallel Studio
Set up the environment for the Intel compilers and tools. This commit does the following: - Unset variables that were incorrect from the auto guess prefix inspections. - Add a RemovePath environment_modifications_formats for dotkit. - Set the module environment variables appropriate for the different variants. - Change the component logic so that the '+all' variant works. It was getting split by letter and leaving COMPONENTS empty. - Added a variant checking function. - Added NONRPM_DB_DIR to the silent.cfg so that the product database goes to the installation directory. - With the product database in prefix the code to remove the product database file from the home directory is no longer needed and was removed. - Reformat the 'tools' variant description. There are probably more variables needed for the '+tools' for the 'professional' product version but I do not have access to that.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/modules.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/modules.py b/lib/spack/spack/modules.py
index 72656b8ae0..db8b20ae42 100644
--- a/lib/spack/spack/modules.py
+++ b/lib/spack/spack/modules.py
@@ -471,6 +471,7 @@ class Dotkit(EnvModule):
path = join_path(spack.share_path, 'dotkit')
environment_modifications_formats = {
PrependPath: 'dk_alter {name} {value}\n',
+ RemovePath: 'dk_unalter {name} {value}\n',
SetEnv: 'dk_setenv {name} {value}\n'
}