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

Where to set the btl_openib_allow_ib MCA parameter to true!! #508

Open
LiuJiao0408 opened this issue Aug 28, 2024 · 0 comments
Open

Comments

@LiuJiao0408
Copy link

hi all!!!
When I run examples, there is an error message:

[wangling@ln01 examples]$ mpirun -np 4 hello_c

By default, for Open MPI 4.0 and later, infiniband ports on a device
are not used by default. The intent is to use UCX for these devices.
You can override this policy by setting the btl_openib_allow_ib MCA parameter
to true.

Local host: ln01
Local adapter: hfi1_0
Local port: 1



WARNING: There was an error initializing an OpenFabrics device.

Local host: ln01
Local device: hfi1_0

Hello, world, I am 0 of 4, (Open MPI v4.1.0, package: Open MPI wangling@ln01 Distribution, ident: 4.1.0, repo rev: v4.1.0, Dec 18, 2020, 108)
Hello, world, I am 2 of 4, (Open MPI v4.1.0, package: Open MPI wangling@ln01 Distribution, ident: 4.1.0, repo rev: v4.1.0, Dec 18, 2020, 108)
Hello, world, I am 1 of 4, (Open MPI v4.1.0, package: Open MPI wangling@ln01 Distribution, ident: 4.1.0, repo rev: v4.1.0, Dec 18, 2020, 108)
Hello, world, I am 3 of 4, (Open MPI v4.1.0, package: Open MPI wangling@ln01 Distribution, ident: 4.1.0, repo rev: v4.1.0, Dec 18, 2020, 108)
[ln01:119050] 3 more processes have sent help message help-mpi-btl-openib.txt / ib port not selected
[ln01:119050] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
[ln01:119050] 3 more processes have sent help message help-mpi-btl-openib.txt / error in device init

I have seen several similar issues, but since I am not a professional in the relevant field, I have not found where to modify them. Where should I go to modify them?

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

1 participant