Skip to content

Commit

Permalink
Working add_script, add_function, add_model
Browse files Browse the repository at this point in the history
  • Loading branch information
al-rigazzi committed Apr 18, 2022
1 parent 8f6ba4b commit 004b85e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions smartsim/_core/control/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def start(self, manifest, block=True, kill_on_interrupt=True):
if not self._jobs.actively_monitoring:
self._jobs.start()

if self.orchestrator_active():
self.set_dbobjects(manifest)
if self.orchestrator_active:
self._set_dbobjects(manifest)

# start the job manager thread if not already started
if not self._jobs.actively_monitoring:
Expand Down
3 changes: 0 additions & 3 deletions smartsim/_core/launcher/colocated.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ def write_colocated_launch_script(file_name, db_log, colocated_settings):
f.write(f"{colocated_cmd}\n")
f.write(f"DBPID=$!\n\n")

if colocated_settings["db_models"]:
pass

if colocated_settings["limit_app_cpus"]:
cpus = colocated_settings["cpus"]
f.write(
Expand Down

0 comments on commit 004b85e

Please sign in to comment.