Skip to content
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

Improve conda-forge installation documentation. #1578

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

joaander
Copy link
Member

@joaander joaander commented Jun 20, 2023

Description

Recommend that users request specific versions of hoomd. Also make it more explicit that a properly configured conda-forge environment is required.

Motivation and context

On one systems I recently tested, conda install hoomd offers hoomd 2.9.7. Some users have reported similar behavior on the mailing list.

How has this been tested?

I tested installing both CPU and GPU hoomd builds on a mambaforge environment on NCSA delta. mamba install resolves the environment very quickly, then often sadly fails with an error in the install phase. The conda install commands in the docs work, though they require several minutes of iteration through "Solving environment":

conda install "hoomd=4.0.0=*gpu*"
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

Change log

Fixed:

* The recommended conda install commands find the documented version.

Checklist:

@joaander joaander requested review from a team, tommy-waltmann and lyrivera and removed request for a team June 20, 2023 17:08
@joaander joaander added the validate Execute long running validation tests on pull requests label Jun 20, 2023
@tommy-waltmann
Copy link
Contributor

Why doesn't conda install hoomd install the newest version of hoomd? Is there something that can be done about that upstream?

@joaander
Copy link
Member Author

Why doesn't conda install hoomd install the newest version of hoomd? Is there something that can be done about that upstream?

conda's solver is very complex and often finds solutions that the user does not intend. There are many issues posted for related problems for both vanilla conda:
https://github.com/conda/conda/issues?q=is%3Aissue+outdated+
and mamba: conda/conda-libmamba-solver#64

It is far beyond the scope of my development effort to instruct these solvers to read the user's mind. Perhaps chatGPT is the solution. The best I can do is offer users instructions on how to explicitly ask the solver for the intended specific solution.

@joaander joaander merged commit 4bece4a into trunk-patch Jun 20, 2023
@joaander joaander deleted the update-conda-forge-install branch June 20, 2023 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validate Execute long running validation tests on pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants