logoalt Hacker News

Show HN: Virtual SLURM HPC cluster in a Docker Compose

46 pointsby ciclotronelast Wednesday at 5:33 PM10 commentsview on HN

I'm the main developer behind vHPC, a SLURM HPC cluster in a docker compose.

As part of my job, I'm working on a software solution that needs to interact with one of the largest Italian HPC clusters (Cineca Leonardo, 270 PFLOPS). Of course developing on the production system was out of question, as it would have led to unbearably long feedback loops. I thus started looking around for existing containerised solutions, which were always lacking some key ingredient in order to suitably mock our target system (accounting, MPI, out of date software, ...).

I thus decided that it was worth it to make my own virtual cluster from scratch, learning a thing or two about SLURM in the process. Even though it satisfies the particular needs of the project I'm working on, I tried to keep vHPC as simple and versatile as possible.

I proposed the company to open source it, and as of this morning (CET) vHPC is FLOSS for others to use and tweak. I am around to answer any question.


Comments

throw0101ctoday at 7:03 PM

The Digital Research Alliance of Canada (formerly Compute Canada) has Terrafrom recipes that can talk to various cloud APIs that do something similar:

* https://github.com/ComputeCanada/magic_castle

They link to various other projects that do cloud-y-HPC:

* AWS ParallelCluster [AWS]

* Cluster in the cloud [AWS, GCP, Oracle]

* Elasticluster [AWS, GCP, OpenStack]

* Google Cluster Toolkit [GCP]

* illume-v2 [OpenStack]

* NVIDIA DeepOps [Ansible playbooks only]

* StackHPC Ansible Role OpenHPC [Ansible Role for OpenStack]

Nvidia also offers free licenses for their Base Command Manager (BCM, formerly Bright Cluster Manager); pay for enterprise support, or hit up the forums:

* https://www.nvidia.com/en-us/data-center/base-command-manage...

* http://support.brightcomputing.com/manuals/10/

* http://support.brightcomputing.com/manuals/11/

robot-wranglertoday at 3:15 PM

Thanks for this! I went looking for something similar a while back and found nothing much. I'm guessing that the alternative to this tidy modern repository is a gigantic broken pile of ansible/chef/puppet that hasn't been touched in 10 years.

Even surprisingly popular distributed-systems stuff is always really bad about "follow this 10 step copy/paste to deploy to EKS" but that's also obnoxious. In the first place, people want to see something basically working on small scale first to check if it's abandonware. But even after that.. local prototyping without first setting up multiple repositories, then shipping multiple modified container images, and already having CI/CD for all of the above is really nice to have.

show 1 reply
janewaytoday at 7:30 PM

Cool!

I have worked 100% in 3 comparable systems over the past 10 years. Can you access with ssh?

I find it super fluid to work on the HPC directly to develop methods for huge datasets by using vim to code and tmux for sessions. I focus on printing detailed log files constantly with lots of debugs and an automated monitoring script to print those logs in realtime; a mixture of .out .err and log.txt.

ZeroCool2utoday at 3:07 PM

Interesting, I've been dealing with replacing a few on-prem HPC clusters lately. One of the things we've been looking at is OpenOnDemand. How does this compare to that? Is this primarily targeted at cluster development or can I really just make an arbitrarily large production HPC cluster with it?

show 2 replies
igleriatoday at 5:17 PM

I wish I had this for my master's thesis! it was a puny 64 core node, but nevertheless...

Scott-Davidtoday at 3:44 PM

[dead]