#!/usr/bin/env python
import sys
import numpy as np
from mpi4py import MPI


def multi_compatibility_checks():
    pass

def multi_initialization_default_parallelization_setup(config):
    DEFAULT_MULTI [X] [L] = config.MULTIX
    DEFAULT_MULTI [Y] [L] = config.MULTIY
    DEFAULT_MULTI [Z] [L] = config.MULTIZ
    DEFAULT_MULTI [M] [L] = config.MULTIM
    DEFAULT_MULTIN    [L] = config.MULTIX * config.MULTIY * config.MULTIZ

def multi_check_core_consistency():
    pass

def multi_report_parallelization_setup():
    print "INFO: Parallelization setup:\n"
    for multi_level in range(L, LOWEST_MULTI_LEVEL,-1):
        print 
        
    print "\n"

def multi_compute_parallelization_setup():
    pass

def compute_comm_level_root_ranks():
    pass

def compute_comm_level_last_ranks():
    pass

def set_multi_level():
    pass

def compute_ddm_rank_send():
    pass

def compute_ddm_rank_recv():
    pass