Repository navigation
Try to re-add support for external library interface - #279
Draft
jan-janssen wants to merge 2 commits into
Draft
jan-janssen wants to merge 2 commits into
jan-janssen wants to merge 2 commits into
Conversation
jan-janssen
marked this pull request as draft
September 1, 2026 18:40
Member
|
@jan-janssen as we discussed, I never removed the pylammpsmpi and library interface support. Keyword execution_mode: library should be enough. |
Contributor
Author
|
@srmnitc It is basically the same change we did in #234 . Here is an example for using with FluxClusterExecutor(
max_workers=1,
block_allocation=True,
init_function=init_function,
resource_dict={
# "submission_template": submission_template,
# "run_time_max": 180, # in seconds
# "partition": "s.cmfe",
"cores": 2,
"threads_per_core": 1,
},
pmi_mode="pmix",
) as exe:
lmp = LammpsASELibrary(executor=exe, cores=2)Then I want to provide this |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is basically reverting the changes in:
a48a902
The goal is to add support for external Executors.