Skip to content

Commit

Permalink
changed DLG_ROOT directory
Browse files Browse the repository at this point in the history
  • Loading branch information
awicenec committed Jun 28, 2024
1 parent 7253671 commit 1aeab91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions daliuge-engine/dlg/deploy/configs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ICRARoodConfig(DefaultConfig):
# The following is more a workaround than a solution
# requires the user to have a venv exectly in that place
ACCOUNT = os.environ["USER"]
HOME_DIR = os.environ["HOME"] if "HOME" in os.environ else """HOME"""
HOME_DIR = os.environ["HOME"] if "HOME" in os.environ else ""
DLG_ROOT = f"{HOME_DIR}/dlg"
LOG_DIR = f"{DLG_ROOT}/log"
VENV = f"source {HOME_DIR}/dlg/venv/bin/activate"
Expand Down Expand Up @@ -141,8 +141,9 @@ class Setonix411Config(DefaultConfig):
"""

ACCOUNT = "pawsey0411"
USER = os.environ["USER"] if "USER" in os.environ else ""
HOME_DIR = f"/scratch/{ACCOUNT}"
DLG_ROOT = f"{HOME_DIR}/dlg"
DLG_ROOT = f"{HOME_DIR}/{USER}/dlg"
LOG_DIR = f"{DLG_ROOT}/log"
MODULES = ""
VENV = f"source /software/projects/{ACCOUNT}/venv/bin/activate"
Expand Down

0 comments on commit 1aeab91

Please sign in to comment.