Skip to content

Conversation

@jan-janssen
Copy link
Member

No description provided.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 27, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch pmix

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@jan-janssen jan-janssen marked this pull request as draft July 27, 2025 13:41
@jan-janssen
Copy link
Member Author

jan-janssen commented Jul 27, 2025

When I use --mpi=pmix_v5 with openmpi v5 I get the following error:

MPI plugin types are...
	none
	pmix
	cray_shasta
	pmi2
specific pmix plugin versions available: pmix_v5
srun: error:  mpi/pmix_v5: init: (null) [0]: mpi_pmix.c:193: pmi/pmix: can not load PMIx library
srun: error: Couldn't load specified plugin name for mpi/pmix_v5: Plugin init() callback failed
srun: error: MPI: Cannot create context for mpi/pmix_v5
srun: error: MPI: Unable to load any plugin
srun: error: Invalid MPI type 'pmix_v5', --mpi=list for acceptable types

@jan-janssen
Copy link
Member Author

jan-janssen commented Jul 27, 2025

When I use openmpi v5 with --mpi=pmi2 then I get the following error:

MPI plugin types are...
	none
	pmix
	cray_shasta
	pmi2
specific pmix plugin versions available: pmix_v5
No PMIx server was reachable, but a PMI1/2 was detected.
If srun is being used to launch application,  2 singletons will be started.

@jan-janssen jan-janssen deleted the pmix branch July 27, 2025 14:12
@jan-janssen jan-janssen restored the pmix branch July 27, 2025 15:31
@jan-janssen jan-janssen reopened this Jul 27, 2025
@jan-janssen jan-janssen changed the title Try openmpi with pmix Debug slurm - with openmpi v5 Jul 27, 2025
@jan-janssen
Copy link
Member Author

srun: error: slurm_receive_msgs: [[localhost]:6818] failed: Socket timed out on send/recv operation
srun: error: Task launch for StepId=3.0 failed on node localhost: Socket timed out on send/recv operation
srun: error: Application launch failed: Socket timed out on send/recv operation
srun: Job step aborted

@codecov
Copy link

codecov bot commented Jul 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.47%. Comparing base (2545358) to head (98cc5f5).
⚠️ Report is 1 commits behind head on parallel_file_executor.

Additional details and impacted files
@@                    Coverage Diff                     @@
##           parallel_file_executor     #762      +/-   ##
==========================================================
+ Coverage                   97.45%   97.47%   +0.01%     
==========================================================
  Files                          32       32              
  Lines                        1414     1423       +9     
==========================================================
+ Hits                         1378     1387       +9     
  Misses                         36       36              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jan-janssen jan-janssen marked this pull request as ready for review July 27, 2025 18:01
@jan-janssen jan-janssen changed the title Debug slurm - with openmpi v5 Rename flux_executor_pmi_mode to executor_pmi_mode Jul 27, 2025
@jan-janssen jan-janssen changed the title Rename flux_executor_pmi_mode to executor_pmi_mode Rename flux_executor_pmi_mode to pmi_mode Jul 27, 2025
@jan-janssen jan-janssen reopened this Jul 27, 2025
@jan-janssen jan-janssen merged commit 3646610 into parallel_file_executor Jul 27, 2025
55 checks passed
@jan-janssen jan-janssen deleted the pmix branch July 27, 2025 18:48
jan-janssen added a commit that referenced this pull request Jul 27, 2025
* file executor fix parallel execution

* add command tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* tests only run when mpi4py is available

* fix windows tests

* fix openmpi by adding pmi support

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* extend tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Rename flux_executor_pmi_mode to pmi_mode  (#762)

* Debug slurm pmi options

* Update pipeline.yml

* disable MPI parallel test

* sinfo

* update output

* add mpi parallel test

* core validation is only possible on compute node not on login node

* fix test

* enforce pmix for testing

* Update slurmspawner.py

* downgrade to openmpi

* remove pmi setting

* use slurm environment

* Try pmix again

* Update slurmspawner.py

* Update slurmspawner.py

* Update pipeline.yml

* Update pipeline.yml

* Update slurmspawner.py

* Update pipeline.yml

* use slrum args

* extend test

* fix tests

* Add executor_pmi_mode option

* check all files

* fixes

* extend tests

* rename to pmi_mode

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants