Skip to content

Configure not working with default installation #7

@MarcelKoch

Description

@MarcelKoch

The ./configure command does not automatically pick up the default rocm installation. On the system ROCM_PATH is set to opt/rocm-5.3.0, but the configure step doesn't pick this up, which I would expect from the configure help text. Instead I get the error:

checking hip/hip_runtime.h usability... no
checking hip/hip_runtime.h presence... no
checking for hip/hip_runtime.h... no

If I set --with-hip=$ROCM_PATH/hip it works, but then RCCL is not configured correctly using --with-rccl=$ROCM_PATH/rccl. The configure step succeeds in that case, but make fails with

In file included from nccl_ofi_net.c:15:
In file included from ../include/stack.h:14:
../include/nccl_ofi.h:21:10: fatal error: 'rccl/rccl.h' file not found
#include <rccl/rccl.h>
         ^~~~~~~~~~~~~
1 error generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions