pyUSID.processing.comp_utilsΒΆ

Utilities that assist in computation

Created on Tue Nov 3 21:14:25 2015

@author: Suhas Somnath, Chris Smith

Functions

get_MPI

Returns the mpi4py.MPI object if mpi4py is available and size > 1.

get_available_memory

Returns the available memory in bytes

group_ranks_by_socket

Groups MPI ranks in COMM_WORLD by socket.

parallel_compute

Computes the provided function using multiple cores using the joblib library

recommend_cpu_cores

Decides the number of cores to use for parallel computing