-
Notifications
You must be signed in to change notification settings - Fork 20
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
rocblas_initialize not declared in HPL_pdmatgen.cpp #2
Comments
Any details about your ROCm install and system configuration? rocblas_initialize is part of the rocBLAS headers and has been since ROCm 3.6 IIRC. |
Hi Noel Chalmers, But another error occured.
And I can compile hip programs normally using hipcc. I'm not sure what's wrong.
|
Looks like the linker is looking for libclang_rt.builtins-x86_64. I'm not sure if this is needed, or if it's just missing in your system. Possibly this is related to this discussion: ROCm/HIP#2219 Are these issues present if you use the latest ROCm v5.3? ROCm v3.9 is around 2 years old at this point. |
I found the ${ROCM_PATH}/llvm/lib/clang/12.0.0/lib/linux/libclang_rt.builtins-x86_64.a. Therefore, I solved this error by specifying the include path.
|
BTW, does rocHPL support openmpi only? Do you support mpich3?
The mpi I specified is mpich3. I'm trying to find where rocHPL uses the ompi, but I find nothing |
We can support any MPI, you just need to pass the location to the MPI install via the That said, the MPI used must be "GPU-aware", meaning built with ROCm support. This allows us to pass pointer allocated with hipMalloc directly to MPI calls, and allows MPI to use fast GPU<->GPU or GPU<->NIC links under the hood. If your MPI doesn't support this, you'll likely encounter faults at runtime. |
When I compiled, I encountered this error:
rocHPL-main/src/matgen/HPL_pdmatgen.cpp:122:3: error: ‘rocblas_initialize’ was not declared in this scope
122 | rocblas_initialize();
| ^~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: