[Mlir-commits] [mlir] [mlir][mesh, MPI] Mesh2mpi (PR #104566)

LLVM Continuous Integration llvmlistbot at llvm.org
Thu Nov 28 02:04:31 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-nvidia` running on `mlir-nvidia` while building `mlir` at step 5 "build-check-mlir-build-only".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/138/builds/7072

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-check-mlir-build-only) failure: build (failure)
...
218.281 [1133/16/3880] Linking CXX shared library lib/libMLIROpenACCDialect.so.20.0git
218.291 [1132/16/3881] Creating library symlink lib/libMLIROpenACCDialect.so
218.322 [1131/16/3882] Building CXX object tools/mlir/lib/Query/CMakeFiles/obj.MLIRQuery.dir/QueryParser.cpp.o
218.332 [1130/16/3883] Building CXX object tools/mlir/lib/Dialect/MPI/IR/CMakeFiles/obj.MLIRMPIDialect.dir/MPIOps.cpp.o
218.341 [1129/16/3884] Linking CXX shared library lib/libMLIRTensorDialect.so.20.0git
218.350 [1128/16/3885] Building CXX object tools/mlir/lib/Dialect/Mesh/Transforms/CMakeFiles/obj.MLIRMeshTransforms.dir/Spmdization.cpp.o
218.351 [1127/16/3886] Creating library symlink lib/libMLIRTensorDialect.so
218.385 [1126/16/3887] Building CXX object tools/mlir/lib/Reducer/CMakeFiles/obj.MLIRReduce.dir/ReductionTreePass.cpp.o
218.430 [1125/16/3888] Linking CXX shared library lib/libMLIRQuery.so.20.0git
218.446 [1124/16/3889] Linking CXX shared library lib/libMLIRMPIDialect.so.20.0git
FAILED: lib/libMLIRMPIDialect.so.20.0git 
: && /usr/bin/clang++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete -fuse-ld=lld -Wl,--color-diagnostics   -Wl,--gc-sections -shared -Wl,-soname,libMLIRMPIDialect.so.20.0git -o lib/libMLIRMPIDialect.so.20.0git tools/mlir/lib/Dialect/MPI/IR/CMakeFiles/obj.MLIRMPIDialect.dir/MPIOps.cpp.o tools/mlir/lib/Dialect/MPI/IR/CMakeFiles/obj.MLIRMPIDialect.dir/MPI.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib:"  lib/libMLIRDialect.so.20.0git  lib/libMLIRInferTypeOpInterface.so.20.0git  lib/libMLIRSideEffectInterfaces.so.20.0git  lib/libMLIRIR.so.20.0git  lib/libMLIRSupport.so.20.0git  lib/libLLVMSupport.so.20.0git  -Wl,-rpath-link,/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib && :
ld.lld: error: undefined symbol: mlir::detail::TypeIDResolver<mlir::memref::CastOp, void>::id
>>> referenced by MPIOps.cpp
>>>               tools/mlir/lib/Dialect/MPI/IR/CMakeFiles/obj.MLIRMPIDialect.dir/MPIOps.cpp.o:((anonymous namespace)::FoldCast<mlir::mpi::SendOp>::matchAndRewrite(mlir::mpi::SendOp, mlir::PatternRewriter&) const)
>>> referenced by MPIOps.cpp
>>>               tools/mlir/lib/Dialect/MPI/IR/CMakeFiles/obj.MLIRMPIDialect.dir/MPIOps.cpp.o:((anonymous namespace)::FoldCast<mlir::mpi::RecvOp>::matchAndRewrite(mlir::mpi::RecvOp, mlir::PatternRewriter&) const)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
218.499 [1124/15/3890] Linking CXX shared library lib/libMLIRBufferizationDialect.so.20.0git
218.538 [1124/14/3891] Linking CXX shared library lib/libMLIRSCFDialect.so.20.0git
218.602 [1124/13/3892] Linking CXX shared library lib/libMLIRShapeDialect.so.20.0git
220.098 [1124/12/3893] Building CXX object tools/mlir/lib/Dialect/Linalg/Transforms/CMakeFiles/obj.MLIRLinalgTransforms.dir/Transforms.cpp.o
222.196 [1124/11/3894] Building CXX object tools/mlir/lib/Dialect/Tensor/Extensions/CMakeFiles/obj.MLIRTensorMeshShardingExtensions.dir/MeshShardingExtensions.cpp.o
225.469 [1124/10/3895] Building CXX object tools/mlir/lib/Dialect/Linalg/Transforms/CMakeFiles/obj.MLIRLinalgTransforms.dir/Vectorization.cpp.o
225.823 [1124/9/3896] Building CXX object tools/mlir/lib/Dialect/Tosa/CMakeFiles/obj.MLIRTosaShardingInterfaceImpl.dir/IR/ShardingInterfaceImpl.cpp.o
233.246 [1124/8/3897] Building CXX object tools/mlir/tools/mlir-vulkan-runner/CMakeFiles/mlir-vulkan-runner.dir/mlir-vulkan-runner.cpp.o
236.609 [1124/7/3898] Building CXX object tools/mlir/lib/Dialect/Mesh/IR/CMakeFiles/obj.MLIRMeshDialect.dir/MeshOps.cpp.o
237.108 [1124/6/3899] Building CXX object tools/mlir/lib/Dialect/SparseTensor/Transforms/CMakeFiles/obj.MLIRSparseTensorTransforms.dir/SparseTensorPasses.cpp.o
237.834 [1124/5/3900] Building CXX object tools/mlir/lib/Dialect/Linalg/IR/CMakeFiles/obj.MLIRLinalgDialect.dir/LinalgDialect.cpp.o
240.097 [1124/4/3901] Building CXX object tools/mlir/lib/Dialect/Vector/TransformOps/CMakeFiles/obj.MLIRVectorTransformOps.dir/VectorTransformOps.cpp.o
240.374 [1124/3/3902] Building CXX object tools/mlir/lib/Dialect/NVGPU/TransformOps/CMakeFiles/obj.MLIRNVGPUTransformOps.dir/NVGPUTransformOps.cpp.o
241.237 [1124/2/3903] Building CXX object tools/mlir/lib/Dialect/SparseTensor/Pipelines/CMakeFiles/obj.MLIRSparseTensorPipelines.dir/SparseTensorPipelines.cpp.o
263.870 [1124/1/3904] Building CXX object tools/mlir/lib/Dialect/Tosa/CMakeFiles/obj.MLIRTosaDialect.dir/IR/TosaOps.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

https://github.com/llvm/llvm-project/pull/104566


More information about the Mlir-commits mailing list