You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I guess some may also need this to calibrate tons of files, I tested a script for mpi calibration.
import dtscalibration
from mpi4py import MPI
...
comm = MPI.COMM_WORLD
rank = MPI.COMM_WORLD.Get_rank()
size = MPI.COMM_WORLD.Get_size()
def cali_fun(file):
# calibration function
comm.Barrier()
for i, file in enumerate(grouped_files):
if i%size!=rank: continue
print("Task number %d being done by processor %d of %d" % (i, rank, size))
cali_fun(file)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I guess some may also need this to calibrate tons of files, I tested a script for mpi calibration.
The text was updated successfully, but these errors were encountered: