-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CUDA Builds #119
Comments
I'd be fine with a CUDA-enabled AmberTools. The only change to the Amber side of the build should be to set CUDA=TRUE in the cmake invocation. This should build for many popular types of Nvidia hardware. But I don't know how to get cuda compilers from conda-forge, or whether or not one wants/needs to have several builds that depend on the SM value for the hardware being used. |
We can add It's a good time to add CUDA stuff now that most of the new packages for CUDA components are available. |
Thanks for the comments!
I'd have a slight preference for this approach so we could be a bit more granular in choosing our dependencies, but both paths seem reasonable.
@dacase do you know if this repo has diverged significantly from the source bundled with AmberTools? It looks like the last 'release' of that repo is the same version that shipped in AmberTools 22, but there isn't mention of AmberTools 23. If people would be happy to go down the separate |
On Mon, Jul 17, 2023, SimonBoothroyd wrote:
> One could build cpptraj only from Dan Roe's github.com/amber-md/cpptraj.
@dacase do you know if this repo has diverged significantly from the source
bundled with AmberTools? It looks like the last 'release' of that repo is
the same version that shipped in AmberTools 22, but there isn't mention of
AmberTools 23.
I'm cc-ing Dan here. At each release of AmberTools (e.g. AmberTools23) we
copy the latest version from Dan's repo. His repo hasn't diverged
"significantly" since April, but there are some new features. Dan has a
versioning system, but I'll leave further comments to him.
....dac
|
Hi,
Yeah, I usually cut a release of cpptraj that matches what is released
with the latest AT - I just haven't done that yet. Is it required?
I'll try to get it done ASAP.
…-Dan
On Tue, Jul 18, 2023 at 11:31 AM David A Case ***@***.***> wrote:
On Mon, Jul 17, 2023, SimonBoothroyd wrote:
>
>> One could build cpptraj only from Dan Roe's github.com/amber-md/cpptraj.
>
***@***.*** do you know if this repo has diverged significantly from the source
>bundled with AmberTools? It looks like the last 'release' of that repo is
>the same version that shipped in AmberTools 22, but there isn't mention of
>AmberTools 23.
I'm cc-ing Dan here. At each release of AmberTools (e.g. AmberTools23) we
copy the latest version from Dan's repo. His repo hasn't diverged
"significantly" since April, but there are some new features. Dan has a
versioning system, but I'll leave further comments to him.
....dac
|
Of course, if you can just make a separate cpptraj package from the
latest GitHub repo that would be best since bugfixes are a bit slower
to filter in to the AT version. Let me know if there is anything I can
do to facilitate this.
…-Dan
On Wed, Jul 19, 2023 at 11:15 AM Daniel Roe ***@***.***> wrote:
Hi,
Yeah, I usually cut a release of cpptraj that matches what is released
with the latest AT - I just haven't done that yet. Is it required?
I'll try to get it done ASAP.
-Dan
On Tue, Jul 18, 2023 at 11:31 AM David A Case ***@***.***> wrote:
>
> On Mon, Jul 17, 2023, SimonBoothroyd wrote:
> >
> >> One could build cpptraj only from Dan Roe's github.com/amber-md/cpptraj.
> >
> ***@***.*** do you know if this repo has diverged significantly from the source
> >bundled with AmberTools? It looks like the last 'release' of that repo is
> >the same version that shipped in AmberTools 22, but there isn't mention of
> >AmberTools 23.
>
> I'm cc-ing Dan here. At each release of AmberTools (e.g. AmberTools23) we
> copy the latest version from Dan's repo. His repo hasn't diverged
> "significantly" since April, but there are some new features. Dan has a
> versioning system, but I'll leave further comments to him.
>
> ....dac
>
|
Sounds great @dacase! I've started to put together a recipe for |
Ok I think the @jaimergp would you be up to take a quick look if you get a moment? |
If that looks reasonable, I guess some blockers would be:
does that sound about right? |
General related comment: splitting off cpptraj, pytraj (and other components) into individual packages seems like a good idea to me. We (i.e. Amber developers) should also simplify things -- there are parts of AmberTools that are very rarely used, and are no longer being developed or updated. We could reduce our vulnerability to compiler updates, etc. [One item on my to-do list is to try to remove dependency on boost: it was (in my view) a mistake to ever let that creep in.] |
Somebody made progress on this with a PR that looks good but needs more reviews: #133 |
I think there is still value to add a CUDA build to this feedstock. My use case is that internally, we want to provision amber (specifically pmemd.CUDA.MPI) via a internal conda channel. Our current approach is to fork this repo and replace the source code with the AMBER source code, and use the build-locally script to build the package and deploy it. The downside is that we need to add the CUDA and MPI dependency ourselves and it would be good to concentrate this effort inside the community to avoid duplicated effort. |
Comment:
Hi,
I was interested in using some of the CUDA accelerated functionality of
cpptraj
to speed up some calculations, but it doesn't look likeambertools
has any CUDA builds nor is there a separatecpptraj
package that I could see similar to howparmed
is split out.Assuming I haven't missed anything (and apologies if I have!), would you be open to providing either a CUDA build of
ambertools
(assuming that would in turn provide CUDA enabledcpptraj
) or alternatively splitting out a separatecpptraj
package that itself has a CUDA build available if that is a path of less resistance?The text was updated successfully, but these errors were encountered: