Re: [AMBER] any working singularity or docker recipe? (esp for CUDA and MPI)

From: Gerald Monard <gerald.monard.gmail.com>
Date: Sun, 23 Jan 2022 20:39:06 +0900

Also, just for the record and sharing my experience with docker and
singularity containers here.
What I have found so far is that these containers are not really as
portable as one may think of.
Basically, for the serial version of Amber, that's OK. You can take a
container and go wherever you want (laptop to HPC center) to use it. It's
fun!
But for the CUDA version and the MPI version, it can get very tricky.
For the CUDA version, you can end up with conflicts between the CUDA
version inside the container and the driver on the host.
For the MPI version, it depends whether you want to use the MPI version of
the HPC center, or your own. And you can easily end up with
incompatibility issues (see
https://sylabs.io/guides/latest/user-guide/mpi.html).
So sometimes, to get the best performance for Amber, it is better to create
yourself a container that would suit best the platform on which you want to
run than to rely on a pre-defined container made elsewhere.
My 2 cents :-)

Gerald.


On Sun, Jan 23, 2022 at 8:31 PM Gerald Monard <gerald.monard.gmail.com>
wrote:

> Hello,
>
> I have developed singularity and docker containers to build and test the
> Amber source code for different linux flavors. This is how the
> https://ambermd.org/InstSingularity.php page is generated. But these
> containers only serve to _build_ Amber, they don't _contain_ Amber per se.
> I am working on recipes to include the binaries after the build stage into
> the containers. Hopefully, these will be included in the next Amber release.
> In the meantime, I can share this with you (off the list) if you are
> interested to beta test + give some feedback.
>
> best regards,
> Gerald
>
> On Sat, Jan 22, 2022 at 2:05 PM Michael Coleman <mcolema5.uoregon.edu>
> wrote:
>
>> Hi,
>>
>> Does anyone have a suggestion for a Singularity or Docker script to build
>> a GPU- and MPI-enabled build of Amber? (and AmberTools?)
>>
>> It seems like there once was a Singularity script, 'amberity', which
>> probably encapsulated a Singularity recipe, but it no longer seems
>> accessible.
>>
>> This page mocks me, as it seems to be using such containerization. No
>> source, though, so no help. https://ambermd.org/InstSingularity.php
>>
>> I'm on RHEL 7, so the solution has to work on Linux generally. Beyond
>> that, I'm all ears.
>>
>> Thank you,
>> Mike
>>
>>
>> Michael Coleman
>> Computational Scientist
>> Research Advanced Computing Services (HPC)
>> University of Oregon
>>
>> _______________________________________________
>> AMBER mailing list
>> AMBER.ambermd.org
>> http://lists.ambermd.org/mailman/listinfo/amber
>>
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Jan 23 2022 - 04:00:03 PST
Custom Search