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

I want to know how to use cargo-mpirun to run a rust demo on my cluster. #8

Open
huapengcheng opened this issue Sep 19, 2022 · 1 comment

Comments

@huapengcheng
Copy link

No description provided.

@jedbrown
Copy link

cargo-mpirun is currently hard-coded to use mpiexec, which might not be appropriate on your cluster. In that case, you need to cargo build --bin my-app your executable and then use srun -n 4 target/release/my-app or whatever launcher your cluster uses.

In #9, I added support for MPIEXEC=srun cargo mpirun --bin my-app, which should work, at least for simple cases.

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

No branches or pull requests

2 participants