Skip to content

MPI path #82

@ZahraBoroujeni

Description

@ZahraBoroujeni

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

I got an error to rebuild autoware_utils_pcl

CMake Error in /workspaces/jbdata-ws/luxoft/autoware_object_detection/build/autoware_utils_pcl/CMakeFiles/CMakeTmp/CMakeLists.txt:
  Imported target "MPI::MPI_C" includes non-existent path

    "/opt/hpcx/ompi/lib/x86_64-linux-gnu/openmpi/include"

To fix it we can modify CMakeLists.txt

Option 1
we can modify CMakeLists.txt and add find_package(MPI) to it

Option 2: make ln to pass the error
which mpicc
/usr/local/mpi/bin/mpicc

sudo mkdir -p /opt/hpcx/ompi/lib/x86_64-linux-gnu/openmpi
sudo ln -s /usr/local/mpi/bin/ opt/hpcx/ompi/lib/x86_64-linux-gnu/

Expected behavior

path the colcon build after several building.

Actual behavior

the first build pass but the second build failed.

Steps to reproduce

  1. build the package
  2. clean build and rebuild it
  3. it may fail

Versions

No response

Possible causes

No response

Additional context

No response

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