MCPcopy Index your code
hub / github.com/cea-hpc/pcocc

github.com/cea-hpc/pcocc @v0.7.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.7.5 ↗ · + Follow
2,435 symbols 5,913 edges 49 files 338 documented · 14%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

pcocc

pcocc (pronounced like "peacock") stands for Private Cloud On a Compute Cluster. It allows users of an HPC cluster to host their own clusters of VMs on compute nodes, alongside regular jobs. Users are thus able to fully customize their software environments for development, testing, or facilitating application deployment. Compute nodes remain managed by the batch scheduler as usual since the clusters of VMs are seen as regular jobs. For each virtual cluster, pcocc allocates the necessary resources to host the VMs, including private Ethernet and/or Infiniband networks, creates temporary disk images from the selected templates and instantiates the requested VMs.

Requirements and dependencies

pcocc makes use of several external components or services among which:

  • A Slurm cluster with the Lua SPANK plugin
  • Open vSwitch
  • An etcd database and the etcd python bindings
  • Qemu and KVM

Documentation

https://pcocc.readthedocs.io/en/latest/

Website

Find the latest source at:

https://github.com/cea-hpc/pcocc

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

append
called by 113
lib/pcocc/Run.py
write
called by 87
agent/serial.go
get
called by 77
lib/pcocc/Image.py
path_join
called by 49
lib/pcocc/Misc.py
items
called by 47
lib/pcocc/Backports.py
handle_error
called by 46
lib/pcocc/scripts/cmd.py
setdefault
called by 44
lib/pcocc/Backports.py
add_flow
called by 37
lib/pcocc/NetUtils.py

Shape

Method 1,887
Function 302
Class 157
Struct 77
Route 6
TypeAlias 5
Interface 1

Languages

Python63%
Go37%

Modules by API surface

agent/agent_protocol/agent.pb.go824 symbols
lib/pcocc/NetUtils.py157 symbols
lib/pcocc/Hypervisor.py139 symbols
lib/pcocc/Batch.py133 symbols
lib/pcocc/Run.py104 symbols
lib/pcocc/scripts/cmd.py102 symbols
lib/pcocc/Oci.py95 symbols
lib/pcocc/Agent.py81 symbols
lib/pcocc/Image.py80 symbols
lib/pcocc/DeprecatedNetworks.py79 symbols
lib/pcocc/Container.py71 symbols
lib/pcocc/Cluster.py69 symbols

For agents

$ claude mcp add pcocc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact