
{
    "localhost": {
        "description"                 : "Your local machine.",
        "notes"                       : "To use the ssh schema, make sure that ssh access to localhost is enabled.",
        "schemas"                     : ["local", "ssh"],
        "ssh"                         :
        {
            "job_manager_endpoint"    : "ssh://localhost/",
            "filesystem_endpoint"     : "sftp://localhost/"
        },
        "local"                       :
        {
            "job_manager_endpoint"    : "fork://localhost/",
            "filesystem_endpoint"     : "file://localhost/"
        },
        "pre_bootstrap_1"             : [
            "export RP_APP_TUNNEL_ADDR=144.76.72.175:27017",
            "echo  $RP_APP_TUNNEL_ADDR"
        ],
        "default_remote_workdir"      : "$HOME",
        "resource_manager"            : "FORK",
        "agent_config"                : "default",
        "agent_scheduler"             : "CONTINUOUS",
      # "agent_scheduler"             : "CONTINUOUS_COLO",
        "agent_spawner"               : "POPEN",
        "launch_methods"              : {
                                         "order"  : ["FORK", "MPIEXEC", "MPIRUN"],
                                         "FORK"   : {},
                                         "MPIEXEC": {},
                                         "MPIRUN" : {}
                                        },
        "rp_version"                  : "local",
      # "virtenv_mode"                : "local",
        "virtenv_mode"                : "create",
        "python_dist"                 : "default",
        "cores_per_node"              : 8,
        "gpus_per_node"               : 1,
        "lfs_path_per_node"           : "/tmp",
        "lfs_size_per_node"           : 1024,
        "mem_per_node"                : 4096,
        "fake_resources"              : true
    },

    "localhost_test": {
        "description"                 : "Your local machine.",
        "notes"                       : "To use the ssh schema, make sure that ssh access to localhost is enabled.",
        "schemas"                     : ["local"],
        "local"                       :
        {
            "job_manager_endpoint"    : "fork://localhost/",
            "filesystem_endpoint"     : "file://localhost/"
        },
        "default_remote_workdir"      : "$HOME",
        "resource_manager"            : "FORK",
        "agent_config"                : "default",
        "agent_scheduler"             : "CONTINUOUS",
        "agent_spawner"               : "POPEN",
        "launch_methods"              : {
                                         "order"  : ["FORK", "MPIEXEC"],
                                         "FORK"   : {},
                                         "MPIEXEC": {}
        },
        "python_dist"                 : "default",
        "virtenv_mode"                : "local",
        "rp_version"                  : "installed",
        "cores_per_node"              : 2,
        "gpus_per_node"               : 1,
        "lfs_path_per_node"           : "/tmp",
        "lfs_size_per_node"           : 1024,
        "mem_per_node"                : 4096,
        "fake_resources"              : true
    },

    "localhost_anaconda": {
        "description"                 : "Your local machine.",
        "notes"                       : "To use the ssh schema, make sure that ssh access to localhost is enabled.",
        "schemas"                     : ["local", "ssh"],
        "ssh"                         :
        {
            "job_manager_endpoint"    : "ssh://localhost/",
            "filesystem_endpoint"     : "sftp://localhost/"
        },
        "local"                       :
        {
            "job_manager_endpoint"    : "fork://localhost/",
            "filesystem_endpoint"     : "file://localhost/"
        },
        "default_remote_workdir"      : "$HOME",
        "resource_manager"            : "FORK",
        "agent_scheduler"             : "CONTINUOUS",
        "agent_spawner"               : "POPEN",
        "launch_methods"              : {
                                         "order"  : ["FORK", "MPIEXEC"],
                                         "FORK"   : {},
                                         "MPIEXEC": {}
                                        },
        "rp_version"                  : "local",
        "virtenv_mode"                : "create",
        "python_dist"                 : "anaconda",
        "lfs_path_per_node"           : "/tmp",
        "lfs_size_per_node"           : 1024,
        "cores_per_node"              : 8,
        "gpus_per_node"               : 1
    }
}

