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

Unable to use an internal RCCL build #111

Open
gsitaram opened this issue Jul 7, 2022 · 4 comments
Open

Unable to use an internal RCCL build #111

gsitaram opened this issue Jul 7, 2022 · 4 comments

Comments

@gsitaram
Copy link

gsitaram commented Jul 7, 2022

Setting the following. env. variables does not result in the provided RCCL lib and include file to be used in the COSMA build:

        export RCCL_ROOT_DIR="/path/to/install/rccl"
        export RCCL_INCLUDE_DIR="/path/to/install/rccl/include"
        export RCCL_LIB_DIR="/path/to/install/rccl/lib"

where the install directory has the following:

$ ls -R install/rccl
install/rccl:
include  lib

install/rccl/include:
rccl.h

install/rccl/lib:
librccl.so  librccl.so.1  librccl.so.1.0
@kabicm
Copy link
Collaborator

kabicm commented Jul 7, 2022

Thanks Gina!

@teonnik since you are a cmake expert, do you know how this can be fixed? I tried, but am certainly not a cmake ninja :D

@kabicm
Copy link
Collaborator

kabicm commented Jul 7, 2022

I now fixed the environment variables properly being passed to cmake in the latest commit in branch v2.6.0, with:

set(RCCL_ROOT_DIR $ENV{RCCL_ROOT_DIR})

and similar.

As @gsitaram said, it seems now it finds the include header files, but doesn't find the library. E.g. it finds the default librccl.so, but not the one that is specified by RCCL_LIB_DIR.

@kabicm
Copy link
Collaborator

kabicm commented Jul 18, 2022

@gsitaram Hey Gina, is this resolved?

@gsitaram
Copy link
Author

Hi @kabicm , unfortunately, not yet. Would be great if we could get some help from some CMake experts. My attempts have been futile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants