dgl: Unable to build from source on ppc64le architecture

šŸ› Bug

I am trying to build DGL on a ppc64le architecture? Currently I have tried:

cmake -DUSE_CUDA=ON -DUSE_LIBXSMM=OFF -DBUILD_CPP_TEST=OFF .. && make -j

And this fails with:

[ 98%] Building CXX object CMakeFiles/dgl.dir/src/rpc/rpc.cc.o
/usr/workspace/testnewm/delete/opence-1.8.0/dgl/src/runtime/config.cc:9:10: fatal error: libxsmm_cpuid.h: No such file or directory
#include <libxsmm_cpuid.h>
         ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dgl.dir/build.make:967: CMakeFiles/dgl.dir/src/runtime/config.cc.o] Error 1

I’m not sure why it is trying to include libxsmm_cpuid.h even though I specify to cmake -DUSE_LIBXSMM=OFF.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 19 (1 by maintainers)

Most upvoted comments

@hnisonoff could you make sure torch is able to built from source on ppc? or you could file a ticket in torch forum?

@hnisonoff could you try on the latest master branch?

seems libxsmm is being built. @itaraban could you help take a look at this issue: https://github.com/dmlc/dgl/issues/5554#issuecomment-1535632162 ?