Skip to content

Commit

Permalink
Update receiver_mpi.py
Browse files Browse the repository at this point in the history
Removed time.sleep
  • Loading branch information
jychoi-hpc authored Jan 15, 2020
1 parent cf97b9c commit c1d44dc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions receiver_mpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def perform_analysis(channel_data, step):

# Store result in database
# backend.store(my_analysis, analysis_result)
time.sleep(10)
print(">>> ({0:d}) Worker: done with analysis step={1:d} ({2:f} secs)".format(rank, step, t1-t0))

# Function for a helper thead (dispatcher).
Expand Down Expand Up @@ -121,7 +120,6 @@ def dispatch():
# Save data in a queue then go back to work
# Dispatcher (a helper thread) will fetch asynchronously.
dq.put((channel_data, currentStep))
time.sleep(1)

## Clean up
dq.join()
Expand Down

0 comments on commit c1d44dc

Please sign in to comment.