Skip to content

Commit

Permalink
More changes to get DLG_ROOT set
Browse files Browse the repository at this point in the history
  • Loading branch information
awicenec committed Jun 28, 2024
1 parent c875eff commit e6122ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions daliuge-engine/dlg/deploy/slurm_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def __init__(
):
self._config = ConfigFactory.create_config(facility=facility)
self._acc = self._config.getpar("acc") if (acc is None) else acc
self.dlg_root = self._config.getpar("dlg_root")
self._log_root = (
self._config.getpar("log_root") if (log_root is None) else log_root
)
Expand Down Expand Up @@ -133,9 +134,7 @@ def create_job_desc(self, physical_graph_file):
pardict["GRAPH_PAR"] = (
'-L "{0}"'.format(self._logical_graph)
if self._logical_graph
else '-P "{0}"'.format(physical_graph_file)
if physical_graph_file
else ""
else '-P "{0}"'.format(physical_graph_file) if physical_graph_file else ""
)
pardict["PROXY_PAR"] = (
"-m %s -o %d" % (self._mon_host, self._mon_port) if self._run_proxy else ""
Expand Down

0 comments on commit e6122ee

Please sign in to comment.