Commit 24633c0c authored by Mario Andres Serruya's avatar Mario Andres Serruya
Browse files

Merge branch 'python' of https://gitlab.arcos.inf.uc3m.es/mandres/imss into python

parents dac0b385 9bb2f7fb
......@@ -16,11 +16,11 @@ from skimage.util import img_as_ubyte, img_as_float
############## MPI ENVIRONMENT ###############
#REQUIRED MPI VERSION: mpi/mpich3/3.2.1
#EXECUTION COMMAND: > metadata && mpiexec -n NUM_PROCESSES --hostfile hosfile python3 -m mpi4py /tmp/imss_cli.py NUM_PROCESSES POLICY
#EXECUTION COMMAND: > metadata && mpiexec -n NUM_PROCESSES --hostfile hosfile python3 -m mpi4py imss_cli.py NUM_PROCESSES POLICY
comm = MPI.COMM_WORLD
rank = #FIXME
size = int(sys.argv[1])
rank = comm.Get_rank()
size = comm.Get_size()
##############################################
############## HERCULES ENVMNT ###############
......@@ -142,8 +142,6 @@ end = time.perf_counter() # TIME 3
print("XYI "+str(process_pics-store_pics)+","+str(phase_1-process_pics)+","+str(phase_2-phase_1)+","+str(end-phase_2)+","+str(end-process_pics)+","+str(end-store_pics))
exit()
#Release the used dataset.
pyimss.release_dataset(datasetd);
#Close the connection and release the resources required to handle the IMSS.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment