Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren Govoni committed Mar 17, 2022
1 parent 100b0e4 commit f4563df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ docs:
make -C docs html

.PHONY: release
release: update docs
release: update test docs
bash ./bin/tag.sh

.PHONY: clean
Expand Down
14 changes: 0 additions & 14 deletions blazer/hpc/mpi/primitives.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,6 @@
logging.debug(f"ME: {host} RANK {rank} and procs {size}")


def global_var(name, value):
logging.info("[%s][%s] global_var %s %s", host, rank, name, value)
globals()[name] = value


class mpidict:
def __getitem__(self, key):
return getattr(self, key)

def __setitem__(self, key, value):
setattr(self, key, value)
comm.bcast(vars, root=0)


class variable:
def __init__(self, **kwargs):
self.kwargs = kwargs
Expand Down

0 comments on commit f4563df

Please sign in to comment.