Closed rfgil closed 5 years ago
@rfgil it's unclear to me why such symbol in Eigen is missing in your build. could you try build with the Dockerfile at:
@sunway513 I noticed in this ticket @rfgil is using CentOS instead Ubuntu. Could you share some insights building on CentOS?
@rfgil did you configured the devtoolset 7 dependancy on your system? Please read through the ROCm doc on how to configure the centos environment: https://github.com/RadeonOpenCompute/ROCm#centosrhel-7-both-74-and-75-support
@rfgil it's unclear to me why such symbol in Eigen is missing in your build. could you try build with the Dockerfile at:
The Docker file won't allow me change the source files, which is important to me.
@rfgil did you configured the devtoolset 7 dependancy on your system? Please read through the ROCm doc on how to configure the centos environment: https://github.com/RadeonOpenCompute/ROCm#centosrhel-7-both-74-and-75-support
Everything was installed correctly. However, I wasn't enabling the devtoolset before compiling tensorflow which was causing the problem. I was able compile successfully after using the command:
scl enable devtoolset-7 bash
This might be a important step to be added to the instructions in the 'TensorFlow ROCm port: Building From Source' README (https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/blob/develop-upstream/rocm_docs/tensorflow-build-from-source.md). I am sorry for missing such a thing. What happened was I assumed I had ROCm correctly installed and ready to use on the shared machine I'm using, hence adding that line to the README file.
Thank you for your help!
System information
The issue I'm going to describe, I think qualifies as a bug and even though I've tried using StackOverflow first, I got no activity there regarding this.
I am unable to build tensorflow-rocm from sources in the system described above. I've tried different branches (r1.8-rocm, r1.8-rocm-centos, r1.11-rocm, ...) and all fail with the same error:
I tried making up sense of that undefined symbol string and I think it is related with Eigen and the patches applied to it by ROCm. However I'm unable to find the real problem or at least make significant progress towards a solution.
I've also tried replacing the eigen version with a newer one, which also led to the same problem.
Here is the full stack I'm getting:
Any help would be highly appreciated.
Thanks in advance!