Commit 69f5b894 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

added dm.set_env() method

parent 5db0c5fe
......@@ -189,6 +189,13 @@ class CsstMsDataManager:
# aXe
self.dir_bin = "/nfsdata/users/csstpipeline/L1Pipeline/bin"
def set_env(self):
""" set environment variables """
if os.uname()[1] == "dandelion":
os.environ["LD_LIBRARY_PATH"] = "/nfsdata/users/csstpipeline/L1Pipeline/bin/axe"
else:
os.environ["LD_LIBRARY_PATH"] = ""
@property
def dfs_node(self):
return self._dfs_node
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment