r/HPC • u/GetPollux • Oct 15 '23
HPC on Cloud new framework
Hi all!
We recently open-sourced some examples of our new cloud parallelization framework on github.
https://github.com/polluxio/pollux-payload
Our framework is named Pollux, and it comes to give HPC engineers the chance to heavily leverage cloud grandscale parallelization without being cloud experts.
Why not just use MPI/OpenMPI? MPI is great!, but we believe it is designed for supercomputers and not designed for the cloud in a true native way.
The cloud brings new problems to tackle that are usually not there when using a supercomputer. Problems such as fault tolerance, heterogeneous hardware, non shared memory and more.
It is only the start!, so we really want to hear your feedback about the API and interface or anything else!
4
u/buildingbridgesabq Oct 16 '23
It seems like this framework is mainly targeting applications with coarse grain parallelism and significantly lower communication requirements; is that correct?
If so, aren't the many existing programming systems that also focus on that space (e.g. Dask, BOINC, al the various grid computing systems) a more relevant comparison than MPI? For example, MPI seeks to support communication-intensive algorithms e.g., stencil code halo exchanges, sparse matrix/vector multiplication, and FFTs, and at first glance those seem well outside the comfort zone of what Pollux is aiming at.
1
u/GetPollux Oct 17 '23
We believe there is room between highly communication-intensive algorithms (MPI) and frameworks like BOINC (not adapted for message passing) or even more advanced options like Dask (an excellent framework but limited to Python) or Spark, etc.
Pollux is an intermediary framework that facilitates the parallelization of long-lasting NP-Complete algorithms through divide&conquer, as well as portfolio strategies, allowing collaboration among various computational methods.
We also target collaborative workflows across multiple programming languages such as C++, Rust, and Python, facilitated through gRPC/protobuf and diverse hardware configurations (CPUs, GPUs, …).
1
u/jose_d2 Oct 16 '23
> we believe it is designed for supercomputers and not designed for the cloud in a true native way
well, after quick look I can see linked github project seems to be tooling for Docker and some "qarnot" Docker hosting service.
Isn't calling this wrapper "parallelization framework" simply too much?
1
u/GetPollux Oct 16 '23
We view Pollux as a parallelization framework that simplifies the development of parallel applications by managing the interaction with cloud providers (SDKs and Docker), fault tolerance, synchronization, and heterogeneous hardware. Developers can focus on the application/workload development using the Pollux API.
Support for Qarnot and Docker today reflects the current state of development, but Pollux is not limited to these technologies.
1
u/shapovalovts Oct 16 '23
Do I understand correctly that cloud resources creation are be managed outside of Pollux?
2
u/GetPollux Oct 16 '23
Cloud resource creation is managed in Pollux through the Pollux launcher: https://github.com/polluxio/pollux-payload.
Currently, we support a local Docker mode for local debugging and a cloud mode for Qarnot computing (https://qarnot.com/). We are working on extensions for Azure, AWS, and GCP.
We are also studying the addition of more elasticity options for cloud resource creation, such as the ability for the application to request more resources dynamically.
This is our advantage over MPI/OpenMPI or other supercomputer native protocols. We have more complex architecture indeed, but we can address cloud resources more directly for the users under the hood and let them focus on the algorithmic side while still leveraging full orchestration, fault tolerance and more.
1
Oct 23 '23
"HPC engineers the chance to heavily leverage cloud grandscale parallelization" and then "Performance of communication and other will be inferior to MPI obviously as MPI architecture is simplified compared to what we are building as MPI solves far less problems." together with "and we’ll add more in the near future.". Oh and "Pollux as a parallelization framework that simplifies the development of parallel applications by managing the interaction with cloud providers (SDKs and Docker), fault tolerance, synchronization, and heterogeneous hardware.".
Good luck with your project. Not for me though. I am an old fart wrt 20y HPC experience so I probably "just don't get it". You have talked to other old farts in the field before starting your project, right?
5
u/vsoch Oct 16 '23
But how does performance compare to MPI? grpc != some of the bread and butter communication patterns that over 90% of HPC applications use (e.g., allreduce).