ALPSim / ALPS

Other
1 stars 0 forks source link

Singularity Support #1

Open qiyang-ustc opened 3 days ago

qiyang-ustc commented 3 days ago

Hi! Do you have any plan to make container as one of a standard routine to utilize ALPS? I tried build ALPS singularity image several years ago and have some experience. I am very glad to contribute to it.

I know it is my fault that can not build it from source properly... Even though I have some experience to build it in a container, I still found it very difficult and in the last fail to bind Python with ALPS tools on macOS. In the end, I still believe there is a possibility to widely extend the usage of container in the program of ALPS. Maybe it could make it great again...

egull commented 3 days ago

Oh that's cool! Would you be willing to contribute these build files and show us how to test them? We can also help to sort out problems with building things...

qiyang-ustc commented 2 days ago

Sure!

For simplicity, fetch image definition file from https://github.com/qiyang-ustc/ALPS_SIF and build. Or directly pull it from SingularityHub or DockerHub. main.def for singularity, image: [Singularity](https://cloud.sylabs.io/library/qiyang/alps/alps) Dockerfile for Docker, image: [Docker](https://hub.docker.com/r/qiyangcompphy/alps)

This is an example to show how to utilize the singularity image: see Run with singularity in README.md of SpinlesstV-LCT-INT