Esempio n. 1
0
def get_platform_resources():
    """
    Return information about hardware
    """

    h = JobPlatformResources()

    h.num_cores_per_node = 4
    # Number of nodes per job are limited
    h.num_nodes = 40
    h.num_cores_per_socket = 4
    h.max_wallclock_seconds = 8 * 60 * 60
    return h
Esempio n. 2
0
def get_platform_resources():
    """
    Return information about hardware
    """

    r = JobPlatformResources()

    r.num_cores_per_node = 36

    # Physical number of nodes, maybe the limit is different
    r.num_nodes = 4032

    r.num_cores_per_socket = 18

    # 12h limit
    r.max_wallclock_seconds = 60*60*12
    return r