Skip to content

Commit

Permalink
BUG: with mpi, numba builtin min() was not being used -- instead atte…
Browse files Browse the repository at this point in the history
…mpts to use ramba.min; hack--remove fromg gdict before executing functions; TODO: need a proper fix
  • Loading branch information
pspillai committed Feb 5, 2024
1 parent 940c468 commit d349efc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ramba/ramba.py
Original file line number Diff line number Diff line change
Expand Up @@ -3520,6 +3520,7 @@ def run_deferred_ops(
# check if function exists, else exec to create it
ldict = {}
gdict = globals()
if "min" in gdict: del(gdict["min"])
for imp in imports:
the_module = __import__(imp)
gdict[imp.split(".")[0]] = the_module
Expand Down

0 comments on commit d349efc

Please sign in to comment.