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

From: Gerald Monard <>
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
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
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 :-)


On Sun, Jan 23, 2022 at 8:31 PM Gerald Monard <>

> Hello,
> I have developed singularity and docker containers to build and test the
> Amber source code for different linux flavors. This is how the
> 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 <>
> 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.
>> 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 mailing list
Received on Sun Jan 23 2022 - 04:00:03 PST
Custom Search