Skip to content
Snippets Groups Projects
Commit 93d9139f authored by Jim Galarowicz's avatar Jim Galarowicz Committed by Adam J. Stewart
Browse files

Add missing module env variable setting causing OSS to fail. (#10182)

parent 90dce26d
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
from spack import *
import spack.store
import os
class Openspeedshop(CMakePackage):
......@@ -290,6 +291,16 @@ def setup_environment(self, spack_env, run_env):
run_env.set('DYNINSTAPI_RT_LIB', dyninst_libdir)
run_env.set('OPENSS_RAWDATA_DIR', '.')
# Set the openspeedshop plugin path
if os.path.isdir(self.prefix.lib64):
lib_dir = self.prefix.lib64
else:
lib_dir = self.prefix.lib
plugin_path = '/openspeedshop'
oss_plugin_path = lib_dir + plugin_path
run_env.set('OPENSS_PLUGIN_PATH', oss_plugin_path)
cbtf_mc = '/sbin/cbtf_mrnet_commnode'
cbtf_lmb = '/sbin/cbtf_libcbtf_mrnet_backend'
run_env.set('XPLAT_RSH', 'ssh')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment